org.eaglei.datatools.client
Class WorkFlowConstants

java.lang.Object
  extended by org.eaglei.datatools.client.WorkFlowConstants

public class WorkFlowConstants
extends java.lang.Object


Field Summary
static java.util.Map<org.eaglei.model.EIURI,java.util.List<WorkFlowAction>> ALLOWED_ACTION_TRANSITIONS
           
static java.util.Map<org.eaglei.model.EIURI,java.util.List<org.eaglei.model.EIURI>> ALLOWED_TRANSITIONS
           
static java.lang.String CLAIM_ALL_ACTION
           
static java.lang.String CURATION_ACTION
           
static org.eaglei.model.EIEntity CURATION_ENTITY
           
static java.lang.String CURATION_STATE_LABEL
           
static org.eaglei.model.EIURI CURATION_URI
           
static java.lang.String DRAFT_ACTION
           
static org.eaglei.model.EIEntity DRAFT_ENTITY
           
static java.lang.String DRAFT_STATE_LABEL
           
static org.eaglei.model.EIURI DRAFT_URI
           
static java.lang.String EAGLE_I_REPO_URI
           
static java.lang.String PUBLISH_ACTION
           
static org.eaglei.model.EIEntity PUBLISH_ENTITY
           
static java.lang.String PUBLISH_STATE_LABEL
           
static org.eaglei.model.EIURI PUBLISH_URI
           
static java.lang.String RELEASE_ALL_ACTION
           
static java.lang.String WITHDRAW_ACTION
           
static org.eaglei.model.EIEntity WITHDRAW_ENTITY
           
static java.lang.String WITHDRAW_STATE_LABEL
           
static org.eaglei.model.EIURI WITHDRAW_URI
           
static java.util.List<org.eaglei.model.EIEntity> WORKFLOW_ENTITY_LIST
           
static java.util.Map<org.eaglei.model.EIURI,org.eaglei.model.EIEntity> WORKFLOW_URI_MAP
           
 
Constructor Summary
WorkFlowConstants()
           
 
Method Summary
 boolean canPerform(org.eaglei.model.EIURI action, org.eaglei.model.EIURI status)
           
 org.eaglei.model.EIEntity getStatusEntity(java.lang.String status)
           
 java.lang.String getStatusLabel(org.eaglei.model.EIURI eiuri)
           
 java.lang.String getStatusType()
           
 org.eaglei.model.EIURI getStatusURI(java.lang.String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WITHDRAW_URI

public static final org.eaglei.model.EIURI WITHDRAW_URI

PUBLISH_URI

public static final org.eaglei.model.EIURI PUBLISH_URI

CURATION_URI

public static final org.eaglei.model.EIURI CURATION_URI

DRAFT_URI

public static final org.eaglei.model.EIURI DRAFT_URI

EAGLE_I_REPO_URI

public static final java.lang.String EAGLE_I_REPO_URI
See Also:
Constant Field Values

CURATION_ACTION

public static final java.lang.String CURATION_ACTION
See Also:
Constant Field Values

PUBLISH_ACTION

public static final java.lang.String PUBLISH_ACTION
See Also:
Constant Field Values

DRAFT_ACTION

public static final java.lang.String DRAFT_ACTION
See Also:
Constant Field Values

WITHDRAW_ACTION

public static final java.lang.String WITHDRAW_ACTION
See Also:
Constant Field Values

CLAIM_ALL_ACTION

public static final java.lang.String CLAIM_ALL_ACTION
See Also:
Constant Field Values

RELEASE_ALL_ACTION

public static final java.lang.String RELEASE_ALL_ACTION
See Also:
Constant Field Values

CURATION_STATE_LABEL

public static final java.lang.String CURATION_STATE_LABEL
See Also:
Constant Field Values

PUBLISH_STATE_LABEL

public static final java.lang.String PUBLISH_STATE_LABEL
See Also:
Constant Field Values

DRAFT_STATE_LABEL

public static final java.lang.String DRAFT_STATE_LABEL
See Also:
Constant Field Values

WITHDRAW_STATE_LABEL

public static final java.lang.String WITHDRAW_STATE_LABEL
See Also:
Constant Field Values

CURATION_ENTITY

public static final org.eaglei.model.EIEntity CURATION_ENTITY

PUBLISH_ENTITY

public static final org.eaglei.model.EIEntity PUBLISH_ENTITY

DRAFT_ENTITY

public static final org.eaglei.model.EIEntity DRAFT_ENTITY

WITHDRAW_ENTITY

public static final org.eaglei.model.EIEntity WITHDRAW_ENTITY

WORKFLOW_URI_MAP

public static final java.util.Map<org.eaglei.model.EIURI,org.eaglei.model.EIEntity> WORKFLOW_URI_MAP

WORKFLOW_ENTITY_LIST

public static final java.util.List<org.eaglei.model.EIEntity> WORKFLOW_ENTITY_LIST

ALLOWED_TRANSITIONS

public static final java.util.Map<org.eaglei.model.EIURI,java.util.List<org.eaglei.model.EIURI>> ALLOWED_TRANSITIONS

ALLOWED_ACTION_TRANSITIONS

public static final java.util.Map<org.eaglei.model.EIURI,java.util.List<WorkFlowAction>> ALLOWED_ACTION_TRANSITIONS
Constructor Detail

WorkFlowConstants

public WorkFlowConstants()
Method Detail

getStatusType

public java.lang.String getStatusType()

getStatusLabel

public java.lang.String getStatusLabel(org.eaglei.model.EIURI eiuri)

getStatusURI

public org.eaglei.model.EIURI getStatusURI(java.lang.String status)

getStatusEntity

public org.eaglei.model.EIEntity getStatusEntity(java.lang.String status)

canPerform

public boolean canPerform(org.eaglei.model.EIURI action,
                          org.eaglei.model.EIURI status)


Copyright © 2009-2010 Eagle-I. All Rights Reserved.