Class DocumentState
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.workflow.DocumentState
-
public class DocumentState extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATE_ARCHIVEDstatic intSTATE_IN_CHANGEstatic intSTATE_REJECTEDstatic intSTATE_VALIDATEstatic intSTATE_WAITING_FOR_APPROVALstatic intSTATE_WAITING_FOR_CHANGE_APPROVALstatic intSTATE_WRITING
-
Constructor Summary
Constructors Constructor Description DocumentState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescriptionKey()Returns the DescriptionKeyintgetId()Returns the IdStateStringgetName()Returns the NameStringgetNameKey()Returns the NameKeyvoidsetDescriptionKey(String strDescriptionKey)Sets the DescriptionKeyvoidsetId(int nIdState)Sets the IdStatevoidsetLocale(Locale locale)Sets the LocalevoidsetNameKey(String strNameKey)Sets the NameKey
-
-
-
Field Detail
-
STATE_WRITING
public static final int STATE_WRITING
- See Also:
- Constant Field Values
-
STATE_WAITING_FOR_APPROVAL
public static final int STATE_WAITING_FOR_APPROVAL
- See Also:
- Constant Field Values
-
STATE_VALIDATE
public static final int STATE_VALIDATE
- See Also:
- Constant Field Values
-
STATE_REJECTED
public static final int STATE_REJECTED
- See Also:
- Constant Field Values
-
STATE_ARCHIVED
public static final int STATE_ARCHIVED
- See Also:
- Constant Field Values
-
STATE_IN_CHANGE
public static final int STATE_IN_CHANGE
- See Also:
- Constant Field Values
-
STATE_WAITING_FOR_CHANGE_APPROVAL
public static final int STATE_WAITING_FOR_CHANGE_APPROVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
Returns the IdState- Returns:
- The IdState
-
setId
public void setId(int nIdState)
Sets the IdState- Parameters:
nIdState- The IdState
-
setLocale
public void setLocale(Locale locale)
Sets the Locale- Parameters:
locale- the locale
-
getNameKey
public String getNameKey()
Returns the NameKey- Returns:
- The NameKey
-
setNameKey
public void setNameKey(String strNameKey)
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
public String getDescriptionKey()
Returns the DescriptionKey- Returns:
- The DescriptionKey
-
setDescriptionKey
public void setDescriptionKey(String strDescriptionKey)
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
-