Enum Class ScopeEnum

java.lang.Object
java.lang.Enum<ScopeEnum>
com.easydesk.enums.ScopeEnum
All Implemented Interfaces:
Entitiable<Integer,Scope>, Serializable, Comparable<ScopeEnum>, Constable

public enum ScopeEnum extends Enum<ScopeEnum> implements Entitiable<Integer,Scope>
System 에서 사용하는 Scope 를 id 로 정의한 enum.
Author:
Youngho Cho
  • Enum Constant Details

    • GLOBAL_SCOPE

      public static final ScopeEnum GLOBAL_SCOPE
      globalScope
    • PERSONAL_SCOPE

      public static final ScopeEnum PERSONAL_SCOPE
      모든 item 은 입력이 되면 기본이 PersonalScope 이다.
    • MODULE_SCOPE

      public static final ScopeEnum MODULE_SCOPE
      ModuleScope 범위 (Scope id: 3)
    • CURRICULUM_SCOPE

      public static final ScopeEnum CURRICULUM_SCOPE
      CurriculumScope 범위 (Scope id: 4)
    • SYSTEM_SCOPE

      public static final ScopeEnum SYSTEM_SCOPE
      SystemScope 범위 (Scope id: 5)
    • TEXT_SCOPE

      public static final ScopeEnum TEXT_SCOPE
      TextScope 범위 (Scope id: 6)
    • ITEM_SCOPE

      public static final ScopeEnum ITEM_SCOPE
      ItemScope 범위 (Scope id: 7)
    • WEB_PAGE_SCOPE

      public static final ScopeEnum WEB_PAGE_SCOPE
      WebPageScope 범위 (Scope id: 8)
    • CATEGORY_SCOPE

      public static final ScopeEnum CATEGORY_SCOPE
      Group 이 확인되면 Default 로 CategoryScope (참고: GroupConfirmedExecuter)
    • ITEM_TYPE_SCOPE

      public static final ScopeEnum ITEM_TYPE_SCOPE
      Global ItemType Scope

      Scope id: 10

    • ATTRIBUTE_SCOPE

      public static final ScopeEnum ATTRIBUTE_SCOPE
      Global Attribite Scope

      Scope id: 11

    • COOPERATE_MEMBER_SCOPE

      public static final ScopeEnum COOPERATE_MEMBER_SCOPE
      CooperateMemberScope 범위 (Scope id: 12)
    • HELP_DESK_SCOPE

      public static final ScopeEnum HELP_DESK_SCOPE
      HelpDeskScope 범위 (Scope id: 13)
    • LICENSED_MEMBER_SCOPE

      public static final ScopeEnum LICENSED_MEMBER_SCOPE
      LicensedMemberScope 범위 (Scope id: 14)
    • MEMBER_SCOPE

      public static final ScopeEnum MEMBER_SCOPE
      MemberScope 범위 (Scope id: 15)
    • STAFF_SCOPE

      public static final ScopeEnum STAFF_SCOPE
      StaffScope 범위 (Scope id: 16)
    • STUDENT_SCOPE

      public static final ScopeEnum STUDENT_SCOPE
      StudentScope 범위 (Scope id: 17)
    • SUPERVISOR_SCOPE

      public static final ScopeEnum SUPERVISOR_SCOPE
      SupervisorScope 범위 (Scope id: 18)
    • TEACHER_SCOPE

      public static final ScopeEnum TEACHER_SCOPE
      TeacherScope 범위 (Scope id: 19)
    • OWNER_SCOPE

      public static final ScopeEnum OWNER_SCOPE
      OwnerScope 범위 (Scope id: 20)
    • GUEST_SCOPE

      public static final ScopeEnum GUEST_SCOPE
      GuestScope 범위 (Scope id: 21)
    • CUSTOM_SCOPE

      public static final ScopeEnum CUSTOM_SCOPE
      Scope which is created by User

      Scope id: 99

  • Method Details

    • values

      public static ScopeEnum[] 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

      public static ScopeEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public Integer getId()
      ScopeId
      Specified by:
      getId in interface Entitiable<Integer,Scope>
      Returns:
      DOCUMENT ME!
    • getName

      public String getName()
      db 에 저장되어 있는 이름
      Returns:
      enum 이름을 CamelCase 로 변환한 이름
    • getInstance

      public Scope getInstance()
      Description copied from interface: Entitiable
      enum 에 해당하는 entity 를 저장소에서 구한다.
      Specified by:
      getInstance in interface Entitiable<Integer,Scope>
      Returns:
      enum 에 해당하는 om object