Class UserPortalHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.UserPortalHandler
- All Implemented Interfaces:
IAPIHandler, IGenericHandler, IUserPortalHandler, Serializable
Handler implementation for reading and writing
UserPortal entities.- Since:
- 8.2.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
Fields inherited from class GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByAlias(UserContext uc, String alias) Returns the user portal with the given alias.getByName(UserContext uc, String name) Returns the user portal with the given name.getByUuid(UserContext uc, UUID uuid) Returns the user portal with the given UUID.getFileByUuid(UserContext uc, UUID portalUuid, UUID fileUuid) Returns the user portal file with the given UUID.getForFrontendServer(UserContext uc, FrontendServer frontendServer, int page, int pageSize) Returns all user portal entities available on the given frontend server.getForMasterServer(UserContext uc, int page, int pageSize) Returns all user portal entities available on the master server.Methods inherited from class GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class AMSApiHandler
getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
UserPortalHandler
public UserPortalHandler()
-
-
Method Details
-
getByAlias
Description copied from interface:IUserPortalHandlerReturns the user portal with the given alias.- Specified by:
getByAliasin interfaceIUserPortalHandler- Parameters:
uc- user context for database transactions.alias- of the user portal.- Returns:
- the user portal with the given alias or
null.
-
getByName
Description copied from interface:IUserPortalHandlerReturns the user portal with the given name.- Specified by:
getByNamein interfaceIUserPortalHandler- Parameters:
uc- user context for database transactions.name- of the user portal.- Returns:
- the user portal with the given name or
null.
-
getByUuid
Description copied from interface:IUserPortalHandlerReturns the user portal with the given UUID.- Specified by:
getByUuidin interfaceIUserPortalHandler- Parameters:
uc- user context for database transactions.uuid- of the user portal.- Returns:
- the user portal with the given UUID or
null.
-
getFileByUuid
Description copied from interface:IUserPortalHandlerReturns the user portal file with the given UUID.- Specified by:
getFileByUuidin interfaceIUserPortalHandler- Parameters:
uc- user context for database transactions.portalUuid- UUID of the user portal to get the file for.fileUuid- UUID of the file to get.- Returns:
- all user portal entities available for the given client.
-
getForFrontendServer
public PagedResult<UserPortal> getForFrontendServer(UserContext uc, FrontendServer frontendServer, int page, int pageSize) Description copied from interface:IUserPortalHandlerReturns all user portal entities available on the given frontend server.- Specified by:
getForFrontendServerin interfaceIUserPortalHandler- Parameters:
uc- user 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
Description copied from interface:IUserPortalHandlerReturns all user portal entities available on the master server.- Specified by:
getForMasterServerin interfaceIUserPortalHandler- Parameters:
uc- user 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.
-