Package de.xima.fc.dao.impl
Class ProjectPortalConfigDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<ProjectPortalConfig>
-
- de.xima.fc.dao.impl.ProjectPortalConfigDao
-
- 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 theIProjectPortalConfigDao
for reading and writingProjectPortalConfig
entities.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProjectPortalConfigDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertProjectPortalConfig(IEntityContext ec, ProjectPortalConfig config)
Checks if the project portal config can be persisted (create/update).ProjectPortalConfig
getByProjectAndPortal(IEntityContext ec, Projekt project, UserPortal portal)
Gets the project portal config for the given project and portal, if any.protected IFCDaoActionHook<ProjectPortalConfig>
getPostActionHook()
protected IFCDaoActionHook<ProjectPortalConfig>
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
-
assertProjectPortalConfig
public void assertProjectPortalConfig(IEntityContext ec, ProjectPortalConfig config)
Description copied from interface:IProjectPortalConfigDao
Checks if the project portal config can be persisted (create/update). If the state of the project portal config does not allow persisting than aDatabaseAccessException
will be thrown.- Specified by:
assertProjectPortalConfig
in 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:IProjectPortalConfigDao
Gets the project portal config for the given project and portal, if any.- Specified by:
getByProjectAndPortal
in 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
protected IFCDaoActionHook<ProjectPortalConfig> getPostActionHook()
- Overrides:
getPostActionHook
in classGenericDao<ProjectPortalConfig>
-
getPreActionHook
protected IFCDaoActionHook<ProjectPortalConfig> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<ProjectPortalConfig>
-
-