Package de.xima.fc.dao.interfaces
Interface IClientPortalConfigDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ClientPortalConfig,Long,IEntityContext>
,IGenericDao<ClientPortalConfig>
- All Known Implementing Classes:
ClientPortalConfigDao
public interface IClientPortalConfigDao extends IGenericDao<ClientPortalConfig>
DAO for reading and writingClientPortalConfig
entities.- Since:
- 8.2.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
assertClientPortalConfig(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.-
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
List<ClientPortalConfig> getAllByClient(IEntityContext ec, Mandant client)
Gets all client portal configs for the given client.- 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
void assertClientPortalConfig(IEntityContext ec, ClientPortalConfig config)
Checks if the client portal config can be persisted (create/update). If the state of the client portal config does not allow persisting than aDatabaseAccessException
will be thrown.- Parameters:
ec
- entity context for accessing the database.config
- to check.- Throws:
de.xima.cmn.dao.exceptions.DatabaseAccessException
- if the user identity can't be persisted.
-
-