Interface IProjectPortalConfigDao
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ProjectPortalConfig, Long, IEntityContext>, IGenericDao<ProjectPortalConfig>
- All Known Implementing Classes:
ProjectPortalConfigDao
DAO for reading and writing
ProjectPortalConfig entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoidChecks if the project portal config can be persisted (create/update).getByProjectAndPortal(IEntityContext ec, Projekt project, UserPortal portal) Gets the project portal config for the given project and portal, if any.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, updateMethods inherited from interface IGenericDao
count, createOrUpdate, findAll, findSingle, getEntityRefs, read
-
Method Details
-
assertProjectPortalConfig
Checks if the project portal config can be persisted (create/update). If the state of the project portal config does not allow persisting than aDatabaseAccessExceptionwill 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.
-
getByProjectAndPortal
Gets the project portal config for the given project and portal, if any.- Parameters:
ec- Entity context for accessing the database.project- A project.portal- A user portal.- Returns:
- The project portal config for the given project and portal, or null if none exists.
-