public class InboxUtils extends Object
Constructor and Description |
---|
InboxUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canUserEditProcess(Benutzer user,
long processId) |
static int |
getFormRecordCount(Long inboxId,
boolean onlyUnread)
Gets the number of form records for the given inbox id
|
static int |
getFormRecordCount(Postfach inbox,
boolean onlyUnread) |
static int |
getFormRecordCount(Postfach inbox,
Projekt project,
boolean onlyUnread)
Gets the number of form records in the given inbox
|
static <T extends de.xima.cmn.dao.interfaces.IEntity<I>,I extends Serializable & Comparable<I>> |
getIds(List<T> entities)
Turns a list of entities into a list of IDs
|
static List<Long> |
getIdsFromExtendedModel(List<ExtendedEntityModel<Vorgang>> extEntities) |
static List<Projekt> |
getInboxProjects(UserContext uc,
List<Projekt> projects,
Postfach inbox) |
public static boolean canUserEditProcess(Benutzer user, long processId)
public static final List<Projekt> getInboxProjects(UserContext uc, List<Projekt> projects, Postfach inbox)
public static final int getFormRecordCount(Long inboxId, boolean onlyUnread)
public static final int getFormRecordCount(Postfach inbox, boolean onlyUnread)
public static final int getFormRecordCount(Postfach inbox, Projekt project, boolean onlyUnread)
public static final List<Long> getIdsFromExtendedModel(List<ExtendedEntityModel<Vorgang>> extEntities)
public static final <T extends de.xima.cmn.dao.interfaces.IEntity<I>,I extends Serializable & Comparable<I>> List<I> getIds(List<T> entities)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.