Package com.easydesk.enums
Enum Class ScopeEnum
- All Implemented Interfaces:
Entitiable<Integer,,Scope> Serializable,Comparable<ScopeEnum>,Constable
System 에서 사용하는 Scope 를 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 ConstantsEnum ConstantDescriptionGlobal Attribite ScopeGroup 이 확인되면 Default 로 CategoryScope (참고: GroupConfirmedExecuter)CooperateMemberScope 범위 (Scope id: 12)CurriculumScope 범위 (Scope id: 4)Scope which is created by UserglobalScopeGuestScope 범위 (Scope id: 21)HelpDeskScope 범위 (Scope id: 13)ItemScope 범위 (Scope id: 7)Global ItemType ScopeLicensedMemberScope 범위 (Scope id: 14)MemberScope 범위 (Scope id: 15)ModuleScope 범위 (Scope id: 3)OwnerScope 범위 (Scope id: 20)모든 item 은 입력이 되면 기본이 PersonalScope 이다.StaffScope 범위 (Scope id: 16)StudentScope 범위 (Scope id: 17)SupervisorScope 범위 (Scope id: 18)SystemScope 범위 (Scope id: 5)TeacherScope 범위 (Scope id: 19)TextScope 범위 (Scope id: 6)WebPageScope 범위 (Scope id: 8) -
Method Summary
Modifier and TypeMethodDescriptiongetId()ScopeIdenum 에 해당하는 entity 를 저장소에서 구한다.getName()db 에 저장되어 있는 이름static ScopeEnumReturns the enum constant of this class with the specified name.static ScopeEnum[]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
-
GLOBAL_SCOPE
globalScope -
PERSONAL_SCOPE
모든 item 은 입력이 되면 기본이 PersonalScope 이다. -
MODULE_SCOPE
ModuleScope 범위 (Scope id: 3) -
CURRICULUM_SCOPE
CurriculumScope 범위 (Scope id: 4) -
SYSTEM_SCOPE
SystemScope 범위 (Scope id: 5) -
TEXT_SCOPE
TextScope 범위 (Scope id: 6) -
ITEM_SCOPE
ItemScope 범위 (Scope id: 7) -
WEB_PAGE_SCOPE
WebPageScope 범위 (Scope id: 8) -
CATEGORY_SCOPE
Group 이 확인되면 Default 로 CategoryScope (참고: GroupConfirmedExecuter) -
ITEM_TYPE_SCOPE
Global ItemType ScopeScope id: 10
-
ATTRIBUTE_SCOPE
Global Attribite ScopeScope id: 11
-
COOPERATE_MEMBER_SCOPE
CooperateMemberScope 범위 (Scope id: 12) -
HELP_DESK_SCOPE
HelpDeskScope 범위 (Scope id: 13) -
LICENSED_MEMBER_SCOPE
LicensedMemberScope 범위 (Scope id: 14) -
MEMBER_SCOPE
MemberScope 범위 (Scope id: 15) -
STAFF_SCOPE
StaffScope 범위 (Scope id: 16) -
STUDENT_SCOPE
StudentScope 범위 (Scope id: 17) -
SUPERVISOR_SCOPE
SupervisorScope 범위 (Scope id: 18) -
TEACHER_SCOPE
TeacherScope 범위 (Scope id: 19) -
OWNER_SCOPE
OwnerScope 범위 (Scope id: 20) -
GUEST_SCOPE
GuestScope 범위 (Scope id: 21) -
CUSTOM_SCOPE
Scope which is created by UserScope id: 99
-
-
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
ScopeId- Specified by:
getIdin interfaceEntitiable<Integer,Scope> - Returns:
- DOCUMENT ME!
-
getName
db 에 저장되어 있는 이름- Returns:
- enum 이름을 CamelCase 로 변환한 이름
-
getInstance
Description copied from interface:Entitiableenum 에 해당하는 entity 를 저장소에서 구한다.- Specified by:
getInstancein interfaceEntitiable<Integer,Scope> - Returns:
- enum 에 해당하는 om object
-