Package com.avoka.fc.core.dao
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
,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
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description AbstractDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
andFilterClientExcludeNull(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
Add a client organization filter which will exclude null values.protected void
andFilterClientIncludeNull(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
Add a client organization filter which will include null values.protected void
andFilterClientOnly(org.apache.cayenne.query.SelectQuery query, String propertyPath, String clientId)
Add a client organization filter which will exclude null values.protected boolean
isClientAccessAllowed(Client client)
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.-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
Method Detail
-
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 querypropertyPath
- the property pathclientId
- 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 querypropertyPath
- the property pathclientId
- 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 querypropertyPath
- the property pathclientId
- 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
-
-