Interface IProjectPortalConfigDao

    • Method Detail

      • 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.