|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.remoting.GroupTypeClassUtils
public class GroupTypeClassUtils
Helper class to resolve group-type to their DTO classes.
Constructor Summary | |
---|---|
GroupTypeClassUtils()
|
Method Summary | ||
---|---|---|
static java.lang.Integer |
classToGroupType(java.lang.Class<? extends NamedDto> clazz)
|
|
static java.lang.Class<? extends NamedDto> |
convertGroupTypeToClass(java.lang.Integer entityTypeId)
Convert the Group-type to a class. |
|
static
|
groupObjectByType(java.util.Collection<T> dtos)
Group all kind of IdentifiableDto objects by their Type to a Map, so the keys are the groupType, and values are sorted sets |
|
static java.lang.Integer |
objectToGroupType(java.lang.Object obj)
Returns the group type for the given object instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupTypeClassUtils()
Method Detail |
---|
public static java.lang.Class<? extends NamedDto> convertGroupTypeToClass(java.lang.Integer entityTypeId)
entityTypeId
-
public static java.lang.Integer classToGroupType(java.lang.Class<? extends NamedDto> clazz)
public static java.lang.Integer objectToGroupType(java.lang.Object obj)
GroupType
public static <T> java.util.Map<java.lang.Integer,java.util.SortedSet<T>> groupObjectByType(java.util.Collection<T> dtos)
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |