Package de.xima.fc.dao.impl
Class UserPortalDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<UserPortal>
-
- de.xima.fc.dao.impl.UserPortalDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<UserPortal,Long,IEntityContext>
,IGenericDao<UserPortal>
,IUserPortalDao
public class UserPortalDao extends GenericDao<UserPortal> implements IUserPortalDao
Implementation of theIUserPortalDao
for reading and writingUserPortal
entities.- Since:
- 8.2.0
- Author:
- XIMA Media GmbH
-
-
Constructor Summary
Constructors Constructor Description UserPortalDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserPortal>
getAllClientPortals(IEntityContext ec, Mandant client)
Returns all client user portal entities for the given client.List<UserPortal>
getAllSystemPortals(IEntityContext ec)
Returns all system user portal entities.UserPortal
getByAlias(IEntityContext ec, String alias)
UserPortal
getByName(IEntityContext ec, String name)
UserPortal
getByUuid(IEntityContext ec, UUID uuid)
Returns the user portal entity with the given UUID.UserPortalFile
getFileByUuid(IEntityContext ec, UUID portalUuid, UUID fileUuid)
Returns the user portal file entity with the given UUID.PagedResult<UserPortal>
getForFrontendServer(IEntityContext ec, FrontendServer frontendServer, int page, int pageSize)
Returns all user portal entities available on the given frontend server.PagedResult<UserPortal>
getForMasterServer(IEntityContext ec, int page, int pageSize)
Returns all user portal entities available on the master server.protected IFCDaoActionHook<UserPortal>
getPostActionHook()
protected IFCDaoActionHook<UserPortal>
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
-
getAllClientPortals
public List<UserPortal> getAllClientPortals(IEntityContext ec, Mandant client)
Description copied from interface:IUserPortalDao
Returns all client user portal entities for the given client.- Specified by:
getAllClientPortals
in interfaceIUserPortalDao
- Parameters:
ec
- entity context for database transactions.client
- to get the user portals for.- Returns:
- all client user portal entities for the given client.
-
getAllSystemPortals
public List<UserPortal> getAllSystemPortals(IEntityContext ec)
Description copied from interface:IUserPortalDao
Returns all system user portal entities.- Specified by:
getAllSystemPortals
in interfaceIUserPortalDao
- Parameters:
ec
- entity context for database transactions.- Returns:
- all system user portal entities.
-
getByUuid
public UserPortal getByUuid(IEntityContext ec, UUID uuid)
Description copied from interface:IUserPortalDao
Returns the user portal entity with the given UUID.- Specified by:
getByUuid
in interfaceIUserPortalDao
- Parameters:
ec
- Entity context for database transactions.uuid
- UUID of the user portal to get.- Returns:
- The user portal entity with the given UUID, or null if no such entity exists.
-
getByAlias
public UserPortal getByAlias(IEntityContext ec, String alias)
- Specified by:
getByAlias
in interfaceIUserPortalDao
-
getByName
public UserPortal getByName(IEntityContext ec, String name)
- Specified by:
getByName
in interfaceIUserPortalDao
-
getFileByUuid
public UserPortalFile getFileByUuid(IEntityContext ec, UUID portalUuid, UUID fileUuid)
Description copied from interface:IUserPortalDao
Returns the user portal file entity with the given UUID.- Specified by:
getFileByUuid
in interfaceIUserPortalDao
- Parameters:
ec
- Entity context for database transactions.portalUuid
- UUID of the user portal to get the file for.fileUuid
- UUID of the file to get.- Returns:
- The user portal file entity with the given UUID, or null if no such entity exists.
-
getForFrontendServer
public PagedResult<UserPortal> getForFrontendServer(IEntityContext ec, FrontendServer frontendServer, int page, int pageSize)
Description copied from interface:IUserPortalDao
Returns all user portal entities available on the given frontend server.- Specified by:
getForFrontendServer
in interfaceIUserPortalDao
- Parameters:
ec
- entity context for database transactions.frontendServer
- to get the user portals for.page
- to get.pageSize
- size of the page to get. Defines the size of the returned sub list.- Returns:
- all user portal entities available on the given frontend server.
-
getForMasterServer
public PagedResult<UserPortal> getForMasterServer(IEntityContext ec, int page, int pageSize)
Description copied from interface:IUserPortalDao
Returns all user portal entities available on the master server.- Specified by:
getForMasterServer
in interfaceIUserPortalDao
- Parameters:
ec
- entity context for database transactions.page
- to get.pageSize
- size of the page to get. Defines the size of the returned sub list.- Returns:
- all user portal entities available on the master server.
-
getPreActionHook
protected IFCDaoActionHook<UserPortal> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<UserPortal>
-
getPostActionHook
protected IFCDaoActionHook<UserPortal> getPostActionHook()
- Overrides:
getPostActionHook
in classGenericDao<UserPortal>
-
-