Interface DAO<E extends Entity>

All Known Subinterfaces:
AccessTokenDAO, AccessTokenRepo, AccessTokenRepo, AnyDAO<A>, AnyObjectDAO, AnyObjectRepo, AnyObjectRepo, AnyTypeClassDAO, AnyTypeClassRepo, AnyTypeClassRepo, AnyTypeDAO, AnyTypeRepo, AnyTypeRepo, ApplicationDAO, ApplicationRepo, ApplicationRepo, AttrRepoDAO, AttrRepoRepo, AttrRepoRepo, AuditConfDAO, AuditConfRepo, AuditConfRepo, AuthModuleDAO, AuthModuleRepo, AuthModuleRepo, AuthProfileDAO, AuthProfileRepo, AuthProfileRepo, BatchDAO, CASSPClientAppDAO, CASSPClientAppRepo, CASSPClientAppRepo, ClientAppDAO<C>, ConfParamDAO, ConfParamRepo, ConfParamRepo, ConnInstanceDAO, ConnInstanceRepo, ConnInstanceRepo, DelegationDAO, DelegationRepo, DelegationRepo, DerSchemaDAO, DerSchemaRepo, DerSchemaRepo, DomainDAO, DomainRepo, DomainRepo, DynRealmDAO, DynRealmRepo, DynRealmRepo, ExternalResourceDAO, ExternalResourceRepo, ExternalResourceRepo, FIQLQueryDAO, FIQLQueryRepo, FIQLQueryRepo, GroupDAO, GroupRepo, GroupRepo, ImplementationDAO, ImplementationRepo, ImplementationRepo, JobStatusDAO, MailTemplateDAO, MailTemplateRepo, MailTemplateRepo, NetworkServiceDAO, NetworkServiceRepo, NetworkServiceRepo, NotificationDAO, NotificationRepo, NotificationRepo, OIDCC4UIProviderDAO, OIDCC4UIProviderRepo, OIDCRPClientAppDAO, OIDCRPClientAppRepo, OIDCRPClientAppRepo, PlainSchemaDAO, PlainSchemaRepo, PlainSchemaRepo, PolicyDAO, RealmDAO, RelationshipTypeDAO, RelationshipTypeRepo, RelationshipTypeRepo, RemediationDAO, RemediationRepo, RemediationRepo, ReportDAO, ReportExecDAO, ReportExecRepo, ReportExecRepo, ReportRepo, ReportRepo, RoleDAO, RoleRepo, RoleRepo, SAML2IdPEntityDAO, SAML2IdPEntityRepo, SAML2IdPEntityRepo, SAML2SP4UIIdPDAO, SAML2SP4UIIdPDAORepo, SAML2SPClientAppDAO, SAML2SPClientAppRepo, SAML2SPClientAppRepo, SAML2SPEntityDAO, SAML2SPEntityRepo, SAML2SPEntityRepo, SchemaDAO<S>, SecurityQuestionDAO, SecurityQuestionRepo, SecurityQuestionRepo, SRARouteDAO, SRARouteRepo, SRARouteRepo, TaskDAO, TaskExecDAO, UserDAO, UserRepo, UserRepo, VirSchemaDAO, VirSchemaRepo, VirSchemaRepo, WAConfigDAO, WAConfigRepo, WAConfigRepo
All Known Implementing Classes:
JPABatchDAO, JPAJobStatusDAO, JPAPolicyDAO, JPARealmDAO, JPATaskDAO, JPATaskExecDAO, Neo4jBatchDAO, Neo4jJobStatusDAO, Neo4jPolicyDAO, Neo4jRealmDAO, Neo4jTaskDAO, Neo4jTaskExecDAO

public interface DAO<E extends Entity>
  • Field Details

    • DEFAULT_SORT

      static final org.springframework.data.domain.Sort DEFAULT_SORT
  • Method Details

    • existsById

      boolean existsById(String key)
    • findById

      Optional<? extends E> findById(String key)
    • count

      long count()
    • findAll

      List<? extends E> findAll()
    • save

      <S extends E> S save(S entity)
    • delete

      void delete(E entity)
    • deleteById

      void deleteById(String key)