Class AbstractDao

java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
Direct Known Subclasses:
AttachmentDao, AuditLogDao, AuthenticationProviderDao, CategoryDao, ClientDao, ClientKeystoreDao, ClientMetadataValueDao, ClientPortalDao, ClientPropertyDao, ComposerImportActionDao, ComposerPackageQueueDao, DataRetentionInfoDao, DbVersionUpdateDao, DeliveryDetailsDao, DeploymentPropertyDao, DocumentTypeDao, EmailQueueDao, ErrorLogDao, EventLogDao, EventOutboxDao, FileUploadDao, FolderDao, FormDao, FormDesignDao, FormDesignVersionDao, FormDesignVersionPropertyDao, FormPortalDao, FormReceiptSequenceDao, GroovyServiceLogDao, GroupAgentLockDao, GroupDao, ImportActionDao, JobActionDao, JobDao, JobStatusHistoryDao, LibraryDao, LibraryResourceDao, LibraryResourceHistoryDao, MetadataListValueDao, MetadataTagDao, NotificationDao, PaymentLogDao, PermissionDao, PortalDao, PortalPageDao, PortalPageHistoryDao, PortalPropertyDao, PortalResourceDao, PortalResourceHistoryDao, ProcessingStatusDao, ProjectDao, ProjectFormTagDao, PromotionDao, PropertyPrefillMapDao, PropertyTypeDao, PropertyValueDao, RequestLogDao, RequiredAttachmentDao, RoleDao, RolePermissionDao, ScheduledJobHistoryDao, SchemaExtractMapDao, SchemaSeedDao, SecurityManagerDao, SecurityManagerLogDao, ServerHealthStatusMetricDao, ServerNodeDao, ServiceConnectionDao, ServiceDefinitionDao, ServiceParameterDao, ServiceParameterHistoryDao, SubmissionAsyncMsgDao, SubmissionDao, SubmissionDataDao, SubmissionDeliveryCheckpointDao, SubmissionExtractDataDao, SubmissionHistoryDao, SubmissionPropertyDao, SystemInfoDao, TemplateVersionDao, TemplateVersionDataDao, TemplateVersionDeploymentDao, TransactionHistoryDao, TransactionHistoryPublisherDao, TransactionLookupDao, UserAccountDao, UserAuthEventDao, UserPortalPrefDao, UserProfileDao, UserPropertyDao, VersionAttachmentDao, VersionMetadataValueDao, VersionPropertyValueDao, XmlInputMapDao

public abstract class AbstractDao extends BaseDao
Provides an abstract Data Access Object (DAO) for entity DAO classes to extend.
Since:
4.0.0
  • Constructor Details

    • AbstractDao

      public AbstractDao()
  • Method Details

    • isClientAccessAllowed

      protected final boolean isClientAccessAllowed(Client client)
    • andFilterClientOnly

      protected void andFilterClientOnly(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
      Add a client organization filter which will exclude null values.
      Parameters:
      query - the select query
      propertyPath - the property path
      clientId - the client ID
      Since:
      5.1.0
    • andFilterClientExcludeNull

      protected void andFilterClientExcludeNull(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
      Add a client organization filter which will exclude null values.
      Parameters:
      query - the select query
      propertyPath - the property path
      clientId - the client ID
    • andFilterClientIncludeNull

      protected void andFilterClientIncludeNull(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
      Add a client organization filter which will include null values.
      Parameters:
      query - the select query
      propertyPath - the property path
      clientId - the client ID
    • performQueryConfigCached

      protected List performQueryConfigCached(org.apache.cayenne.query.SelectQuery query)
      Perform the given select query and set the default fetch limit, if no fetch limit has been set.
      Since:
      5.1.0