Interface IProjectPortalConfigDao

All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ProjectPortalConfig, Long, IEntityContext>, IGenericDao<ProjectPortalConfig>
All Known Implementing Classes:
ProjectPortalConfigDao

public interface IProjectPortalConfigDao extends IGenericDao<ProjectPortalConfig>
DAO for reading and writing ProjectPortalConfig entities.
Since:
8.0.0
Author:
XIMA Media GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks if the project portal config can be persisted (create/update).
    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, update

    Methods inherited from interface IGenericDao

    count, createOrUpdate, findAll, findSingle, getEntityRefs, read
  • Method Details

    • assertProjectPortalConfig

      void assertProjectPortalConfig(IEntityContext ec, ProjectPortalConfig config)
      Checks if the project portal config can be persisted (create/update). If the state of the project portal config does not allow persisting than a DatabaseAccessException 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.
    • getByProjectAndPortal

      ProjectPortalConfig getByProjectAndPortal(IEntityContext ec, Projekt project, UserPortal portal)
      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.