com.liferay.portal.kernel.workflow
Class StatusConstants

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

public class StatusConstants
extends java.lang.Object

View Source

Author:
Jorge Ferrer

Field Summary
static int ANY
           
static int APPROVED
           
static int DENIED
           
static int DRAFT
           
static int EXPIRED
           
static java.lang.String LABEL_ANY
           
static java.lang.String LABEL_APPROVED
           
static java.lang.String LABEL_DENIED
           
static java.lang.String LABEL_DRAFT
           
static java.lang.String LABEL_EXPIRED
           
static java.lang.String LABEL_PENDING
           
static int PENDING
           
 
Constructor Summary
StatusConstants()
           
 
Method Summary
static int fromLabel(java.lang.String status)
           
static java.lang.String toLabel(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANY

public static final int ANY
See Also:
Constant Field Values

APPROVED

public static final int APPROVED
See Also:
Constant Field Values

DENIED

public static final int DENIED
See Also:
Constant Field Values

DRAFT

public static final int DRAFT
See Also:
Constant Field Values

EXPIRED

public static final int EXPIRED
See Also:
Constant Field Values

LABEL_ANY

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

LABEL_APPROVED

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

LABEL_DENIED

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

LABEL_DRAFT

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

LABEL_EXPIRED

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

LABEL_PENDING

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

PENDING

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

StatusConstants

public StatusConstants()
Method Detail

fromLabel

public static int fromLabel(java.lang.String status)

toLabel

public static java.lang.String toLabel(int status)