com.liferay.portal.kernel.workflow
Class StatusConstants
java.lang.Object
com.liferay.portal.kernel.workflow.StatusConstants
public class StatusConstants
- extends java.lang.Object
View Source
- Author:
- Jorge Ferrer
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 |
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
StatusConstants
public StatusConstants()
fromLabel
public static int fromLabel(java.lang.String status)
toLabel
public static java.lang.String toLabel(int status)