Package com.easydesk.enums
Enum Class RequestedEnum
- All Implemented Interfaces:
Entitiable<Integer,,AttributeOption> Serializable,Comparable<RequestedEnum>,Constable
public enum RequestedEnum
extends Enum<RequestedEnum>
implements Entitiable<Integer,AttributeOption>
DOCUMENT ME!
- Version:
- $Revision$, $Date$
- Author:
- YounghoCho
-
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()attributeOptionIdstatic Set<RequestedEnum> 승인 절차가 진행 중인 상태enum 에 해당하는 entity 를 저장소에서 구한다.static RequestedEnumReturns the enum constant of this class with the specified name.static RequestedEnum[]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
-
Requested
승인을 요청한다. (AttributeOption id: 2400)
Request Pending Approve Process 를 담당한다.
Requested/Deferred/Approved/Rejected/Closed 의 상태를 가진다.
Workflow
- 1.grantee 가 Requested 를 하면
- 2. 통지
- 3. granter 가 Deferred/Approved/Rejected 를 하고
- 4. 통지
- 5. granter 가 Closed 를 한다.
- Approved, Rejected 상태에서 manual closed 가 가능하다.
granter 설정 로직 : 담당자가 존재하면 담당자, 존재하지 않으면 moderator , moderator 가 담당자를 설정하면 이 때에도 담당자 동작
Status 와 다른점 : Status 는 한 issue 의 lifeCycle 에서 작동하지만 , Requested 는 Confirmed 인 상태에서 편집권한이 있는 사용자가 편집을 시도할 때 ( 핵심 개념 이다. ) 승인권자에거 승인을 받는 로직.
-
Deferred
보류 (AttributeOption id: 2401) -
Approved
승인 (AttributeOption id: 2402) -
Rejected
반려 (AttributeOption id: 2403) -
Closed
종료 (AttributeOption id: 2404)
-
-
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
attributeOptionId- Specified by:
getIdin interfaceEntitiable<Integer,AttributeOption> - Returns:
- attributeOptionId
-
getInstance
Description copied from interface:Entitiableenum 에 해당하는 entity 를 저장소에서 구한다.- Specified by:
getInstancein interfaceEntitiable<Integer,AttributeOption> - Returns:
- attribute
-
getInProcess
승인 절차가 진행 중인 상태- Returns:
- Requested, Approved, Deferred 상태의 Set
-