Package com.easydesk.enums
Enum Class GroupEnum
- All Implemented Interfaces:
Entitiable<Long,,EasyDeskGroup> Serializable,Comparable<GroupEnum>,Constable
System 에서 기본으로 사용하는 Group 을 id 로 정의한 enum.
- Author:
- Youngho Cho
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetId()group id 를 구한다.id 에 해당하는 EasyDeskGroup 을 구한다.booleanstatic GroupEnumReturns the enum constant of this class with the specified name.static GroupEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.easydesk.enums.Entitiable
represent
-
Enum Constant Details
-
ALL
System Dummy All meaning, not real Group -
GLOBAL
System Global : parent of all modules should have User, Group ItemType Only 사용자가 EasyDesk 에 등록하면 Global 에 Guest 역할을 가지게 된다. -
EASYDESK
easydesk web admin, -
TEMPLATE
Template Group
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
group id 를 구한다.- Specified by:
getIdin interfaceEntitiable<Long,EasyDeskGroup> - Returns:
- group id
-
represent
-
getInstance
id 에 해당하는 EasyDeskGroup 을 구한다.- Specified by:
getInstancein interfaceEntitiable<Long,EasyDeskGroup> - Returns:
- EasyDeskGroup
- Throws:
RuntimeException- 조회 중 오류가 발생한 경우
-