Package de.xima.fc.dao.impl
Class ClientPortalConfigDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<ClientPortalConfig>
-
- de.xima.fc.dao.impl.ClientPortalConfigDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ClientPortalConfig,Long,IEntityContext>,IClientPortalConfigDao,IGenericDao<ClientPortalConfig>
public class ClientPortalConfigDao extends GenericDao<ClientPortalConfig> implements IClientPortalConfigDao
Implementation of theIClientPortalConfigDaofor reading and writingClientPortalConfigentities.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ClientPortalConfigDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertClientPortalConfig(IEntityContext ec, ClientPortalConfig config)Checks if the client portal config can be persisted (create/update).List<ClientPortalConfig>getAllByClient(IEntityContext ec, Mandant client)Gets all client portal configs for the given client.protected IFCDaoActionHook<ClientPortalConfig>getPostActionHook()protected IFCDaoActionHook<ClientPortalConfig>getPreActionHook()-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, read
-
Methods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
-
-
-
Method Detail
-
getAllByClient
public List<ClientPortalConfig> getAllByClient(IEntityContext ec, Mandant client)
Description copied from interface:IClientPortalConfigDaoGets all client portal configs for the given client.- Specified by:
getAllByClientin interfaceIClientPortalConfigDao- Parameters:
ec- entity context for database transactions.client- to get the client portal configs for.- Returns:
- all client portal configs for the given client.
-
assertClientPortalConfig
public void assertClientPortalConfig(IEntityContext ec, ClientPortalConfig config)
Description copied from interface:IClientPortalConfigDaoChecks if the client portal config can be persisted (create/update). If the state of the client portal config does not allow persisting than aDatabaseAccessExceptionwill be thrown.- Specified by:
assertClientPortalConfigin interfaceIClientPortalConfigDao- Parameters:
ec- entity context for accessing the database.config- to check.
-
getPreActionHook
protected IFCDaoActionHook<ClientPortalConfig> getPreActionHook()
- Overrides:
getPreActionHookin classGenericDao<ClientPortalConfig>
-
getPostActionHook
protected IFCDaoActionHook<ClientPortalConfig> getPostActionHook()
- Overrides:
getPostActionHookin classGenericDao<ClientPortalConfig>
-
-