Package de.xima.fc.inbox.utils
Class InboxUtils
java.lang.Object
de.xima.fc.inbox.utils.InboxUtils
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canChangeFormRecordToState
(UserContext uc, Vorgang formRecord, Status state) Deprecated.static boolean
canUserChangeToState
(UserContext uc, IUser user, Status state) Deprecated.static boolean
canUserEditProcess
(Benutzer user, long processId) Deprecated.static final int
getFormRecordCount
(Postfach inbox, boolean onlyUnread) static final int
getFormRecordCount
(Postfach inbox, Projekt project, boolean onlyUnread) Gets the number of form records in the given inboxstatic final int
getFormRecordCount
(Long inboxId, boolean onlyUnread) Gets the number of form records for the given inbox idstatic final String
getFormRecordStateDisplayName
(boolean newWorkflow, boolean saved, WorkflowState wfState, Status status, String verifyUuid, Date verifyDate, Locale locale) static final <T extends de.xima.cmn.dao.interfaces.IEntity<I>,
I extends Serializable & Comparable<I>>
List<I>Turns a list of entities into a list of IDsgetIdsFromExtendedModel
(List<ExtendedEntityModel<Vorgang>> extEntities) getInboxProjects
(UserContext uc, List<Projekt> projects, Postfach inbox) static final String
getStateDisplayName
(Vorgang formRecord, Locale locale) getUserInboxes
(IUser user, Mandant client)
-
Constructor Details
-
InboxUtils
public InboxUtils()
-
-
Method Details
-
canUserEditProcess
Deprecated.UseUserMgmtUtils.canAccessInbox(IUser, Postfach)
instead. -
canChangeFormRecordToState
@Deprecated public static boolean canChangeFormRecordToState(UserContext uc, Vorgang formRecord, Status state) Deprecated. -
canUserChangeToState
Deprecated. -
getUserInboxes
-
getInboxProjects
-
getFormRecordCount
Gets the number of form records for the given inbox id -
getFormRecordCount
-
getFormRecordCount
Gets the number of form records in the given inbox -
getIdsFromExtendedModel
public static final List<Long> getIdsFromExtendedModel(List<ExtendedEntityModel<Vorgang>> extEntities) -
getIds
public static final <T extends de.xima.cmn.dao.interfaces.IEntity<I>,I extends Serializable & Comparable<I>> List<I> getIds(List<T> entities) Turns a list of entities into a list of IDs -
getStateDisplayName
-
getFormRecordStateDisplayName
-
UserMgmtUtils.canAccessInbox(IUser, Postfach)
instead.