Class ProjectPortalConfigDao
java.lang.Object
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ProjectPortalConfig, Long, IEntityContext>, IGenericDao<ProjectPortalConfig>, IProjectPortalConfigDao
public class ProjectPortalConfigDao
extends GenericDao<ProjectPortalConfig>
implements IProjectPortalConfigDao
Implementation of the
IProjectPortalConfigDao for reading and writing ProjectPortalConfig entities.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG -
Constructor Summary
Constructors -
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.protected IFCDaoActionHook<ProjectPortalConfig> protected IFCDaoActionHook<ProjectPortalConfig> Methods inherited from class GenericDao
getEntityRefs, readMethods 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, updateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
ProjectPortalConfigDao
public ProjectPortalConfigDao()
-
-
Method Details
-
assertProjectPortalConfig
Description copied from interface:IProjectPortalConfigDaoChecks 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.- Specified by:
assertProjectPortalConfigin interfaceIProjectPortalConfigDao- Parameters:
ec- entity context for accessing the database.config- to check.
-
getByProjectAndPortal
public ProjectPortalConfig getByProjectAndPortal(IEntityContext ec, Projekt project, UserPortal portal) Description copied from interface:IProjectPortalConfigDaoGets the project portal config for the given project and portal, if any.- Specified by:
getByProjectAndPortalin interfaceIProjectPortalConfigDao- 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.
-
getPostActionHook
- Overrides:
getPostActionHookin classGenericDao<ProjectPortalConfig>
-
getPreActionHook
- Overrides:
getPreActionHookin classGenericDao<ProjectPortalConfig>
-