Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.workflow
Class WorkflowConstants

java.lang.Object
  extended by com.liferay.portal.kernel.workflow.WorkflowConstants

public class WorkflowConstants
extends Object


Field Summary
static int ACTION_PUBLISH
           
static int ACTION_SAVE_DRAFT
           
static String CONTEXT_COMPANY_ID
           
static String CONTEXT_ENTRY_CLASS_NAME
           
static String CONTEXT_ENTRY_CLASS_PK
           
static String CONTEXT_ENTRY_TYPE
           
static String CONTEXT_GROUP_ID
           
static String CONTEXT_NOTIFICATION_SENDER_ADDRESS
           
static String CONTEXT_NOTIFICATION_SENDER_NAME
           
static String CONTEXT_NOTIFICATION_SUBJECT
           
static String CONTEXT_SERVICE_CONTEXT
           
static String CONTEXT_TASK_COMMENTS
           
static String CONTEXT_TRANSITION_NAME
           
static String CONTEXT_USER_ID
           
static long DEFAULT_GROUP_ID
           
static String LABEL_ANY
           
static String LABEL_APPROVED
           
static String LABEL_DENIED
           
static String LABEL_DRAFT
           
static String LABEL_DRAFT_FROM_APPROVED
           
static String LABEL_EXPIRED
           
static String LABEL_INACTIVE
           
static String LABEL_INCOMPLETE
           
static String LABEL_PENDING
           
static String LABEL_SCHEDULED
           
static int STATUS_ANY
           
static int STATUS_APPROVED
           
static int STATUS_DENIED
           
static int STATUS_DRAFT
           
static int STATUS_DRAFT_FROM_APPROVED
           
static int STATUS_EXPIRED
           
static int STATUS_INACTIVE
           
static int STATUS_INCOMPLETE
           
static int STATUS_PENDING
           
static int STATUS_SCHEDULED
           
 
Constructor Summary
WorkflowConstants()
           
 
Method Summary
static String toLabel(int status)
           
static int toStatus(String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_PUBLISH

public static final int ACTION_PUBLISH
See Also:
Constant Field Values

ACTION_SAVE_DRAFT

public static final int ACTION_SAVE_DRAFT
See Also:
Constant Field Values

CONTEXT_COMPANY_ID

public static final String CONTEXT_COMPANY_ID
See Also:
Constant Field Values

CONTEXT_ENTRY_CLASS_NAME

public static final String CONTEXT_ENTRY_CLASS_NAME
See Also:
Constant Field Values

CONTEXT_ENTRY_CLASS_PK

public static final String CONTEXT_ENTRY_CLASS_PK
See Also:
Constant Field Values

CONTEXT_ENTRY_TYPE

public static final String CONTEXT_ENTRY_TYPE
See Also:
Constant Field Values

CONTEXT_GROUP_ID

public static final String CONTEXT_GROUP_ID
See Also:
Constant Field Values

CONTEXT_NOTIFICATION_SENDER_ADDRESS

public static final String CONTEXT_NOTIFICATION_SENDER_ADDRESS
See Also:
Constant Field Values

CONTEXT_NOTIFICATION_SENDER_NAME

public static final String CONTEXT_NOTIFICATION_SENDER_NAME
See Also:
Constant Field Values

CONTEXT_NOTIFICATION_SUBJECT

public static final String CONTEXT_NOTIFICATION_SUBJECT
See Also:
Constant Field Values

CONTEXT_SERVICE_CONTEXT

public static final String CONTEXT_SERVICE_CONTEXT
See Also:
Constant Field Values

CONTEXT_TASK_COMMENTS

public static final String CONTEXT_TASK_COMMENTS
See Also:
Constant Field Values

CONTEXT_TRANSITION_NAME

public static final String CONTEXT_TRANSITION_NAME
See Also:
Constant Field Values

CONTEXT_USER_ID

public static final String CONTEXT_USER_ID
See Also:
Constant Field Values

DEFAULT_GROUP_ID

public static final long DEFAULT_GROUP_ID
See Also:
Constant Field Values

LABEL_ANY

public static final String LABEL_ANY
See Also:
Constant Field Values

LABEL_APPROVED

public static final String LABEL_APPROVED
See Also:
Constant Field Values

LABEL_DENIED

public static final String LABEL_DENIED
See Also:
Constant Field Values

LABEL_DRAFT

public static final String LABEL_DRAFT
See Also:
Constant Field Values

LABEL_DRAFT_FROM_APPROVED

public static final String LABEL_DRAFT_FROM_APPROVED
See Also:
Constant Field Values

LABEL_EXPIRED

public static final String LABEL_EXPIRED
See Also:
Constant Field Values

LABEL_INACTIVE

public static final String LABEL_INACTIVE
See Also:
Constant Field Values

LABEL_INCOMPLETE

public static final String LABEL_INCOMPLETE
See Also:
Constant Field Values

LABEL_PENDING

public static final String LABEL_PENDING
See Also:
Constant Field Values

LABEL_SCHEDULED

public static final String LABEL_SCHEDULED
See Also:
Constant Field Values

STATUS_ANY

public static final int STATUS_ANY
See Also:
Constant Field Values

STATUS_APPROVED

public static final int STATUS_APPROVED
See Also:
Constant Field Values

STATUS_DENIED

public static final int STATUS_DENIED
See Also:
Constant Field Values

STATUS_DRAFT

public static final int STATUS_DRAFT
See Also:
Constant Field Values

STATUS_DRAFT_FROM_APPROVED

public static final int STATUS_DRAFT_FROM_APPROVED
See Also:
Constant Field Values

STATUS_EXPIRED

public static final int STATUS_EXPIRED
See Also:
Constant Field Values

STATUS_INACTIVE

public static final int STATUS_INACTIVE
See Also:
Constant Field Values

STATUS_INCOMPLETE

public static final int STATUS_INCOMPLETE
See Also:
Constant Field Values

STATUS_PENDING

public static final int STATUS_PENDING
See Also:
Constant Field Values

STATUS_SCHEDULED

public static final int STATUS_SCHEDULED
See Also:
Constant Field Values
Constructor Detail

WorkflowConstants

public WorkflowConstants()
Method Detail

toLabel

public static String toLabel(int status)

toStatus

public static int toStatus(String label)

Liferay 6.1.2-ce-ga3