Class DocumentState
java.lang.Object
fr.paris.lutece.plugins.document.business.workflow.DocumentState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the DescriptionKeyintgetId()Returns the IdStategetName()Returns the NameReturns the NameKeyvoidsetDescriptionKey(String strDescriptionKey) Sets the DescriptionKeyvoidsetId(int nIdState) Sets the IdStatevoidSets the LocalevoidsetNameKey(String strNameKey) Sets the NameKey
-
Field Details
-
STATE_WRITING
public static final int STATE_WRITING- See Also:
-
STATE_WAITING_FOR_APPROVAL
public static final int STATE_WAITING_FOR_APPROVAL- See Also:
-
STATE_VALIDATE
public static final int STATE_VALIDATE- See Also:
-
STATE_REJECTED
public static final int STATE_REJECTED- See Also:
-
STATE_ARCHIVED
public static final int STATE_ARCHIVED- See Also:
-
STATE_IN_CHANGE
public static final int STATE_IN_CHANGE- See Also:
-
STATE_WAITING_FOR_CHANGE_APPROVAL
public static final int STATE_WAITING_FOR_CHANGE_APPROVAL- See Also:
-
-
Constructor Details
-
DocumentState
public DocumentState()
-
-
Method Details
-
getId
public int getId()Returns the IdState- Returns:
- The IdState
-
setId
public void setId(int nIdState) Sets the IdState- Parameters:
nIdState- The IdState
-
setLocale
Sets the Locale- Parameters:
locale- the locale
-
getNameKey
Returns the NameKey- Returns:
- The NameKey
-
setNameKey
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
Returns the DescriptionKey- Returns:
- The DescriptionKey
-
setDescriptionKey
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getName
Returns the Name- Returns:
- The Name
-