Class DocumentAction
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.workflow.DocumentAction
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.i18n.Localizable,fr.paris.lutece.portal.service.rbac.RBACAction
public class DocumentAction extends Object implements fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
This class represents the business object DocumentAction
-
-
Field Summary
Fields Modifier and Type Field Description static intACTION_ARCHIVEstatic intACTION_REFUSEstatic intACTION_REFUSE_CHANGEstatic intACTION_SUBMITstatic intACTION_SUBMIT_CHANGEstatic intACTION_UNARCHIVEstatic intACTION_VALIDATEstatic intACTION_VALIDATE_CHANGE
-
Constructor Summary
Constructors Constructor Description DocumentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns the DescriptionStringgetDescriptionKey()Returns the DescriptionKeyDocumentStategetFinishDocumentState()StringgetIconUrl()Returns the IconUrlintgetIdAction()StringgetName()Returns the NameStringgetNameKey()Returns the NameKeyStringgetPermission()Returns the permission associated to the actionStringgetUrl()Returns the UrlvoidsetDescriptionKey(String strDescriptionKey)Sets the DescriptionKeyvoidsetFinishDocumentState(DocumentState documentState)set the state of the document after doing the actionvoidsetIconUrl(String strIconUrl)Sets the IconUrlvoidsetIdAction(int idAction)set the id of the document actionvoidsetLocale(Locale locale)Implements LocalizablevoidsetNameKey(String strNameKey)Sets the NameKeyvoidsetPermission(String strPermission)Sets the PermissionvoidsetUrl(String strUrl)Sets the Url
-
-
-
Field Detail
-
ACTION_SUBMIT
public static final int ACTION_SUBMIT
- See Also:
- Constant Field Values
-
ACTION_SUBMIT_CHANGE
public static final int ACTION_SUBMIT_CHANGE
- See Also:
- Constant Field Values
-
ACTION_VALIDATE
public static final int ACTION_VALIDATE
- See Also:
- Constant Field Values
-
ACTION_VALIDATE_CHANGE
public static final int ACTION_VALIDATE_CHANGE
- See Also:
- Constant Field Values
-
ACTION_REFUSE
public static final int ACTION_REFUSE
- See Also:
- Constant Field Values
-
ACTION_REFUSE_CHANGE
public static final int ACTION_REFUSE_CHANGE
- See Also:
- Constant Field Values
-
ACTION_ARCHIVE
public static final int ACTION_ARCHIVE
- See Also:
- Constant Field Values
-
ACTION_UNARCHIVE
public static final int ACTION_UNARCHIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdAction
public int getIdAction()
- Returns:
- the id of the document action
-
setIdAction
public void setIdAction(int idAction)
set the id of the document action- Parameters:
idAction- the id of the document action
-
getFinishDocumentState
public DocumentState getFinishDocumentState()
- Returns:
- the state of the document after doing the action
-
setFinishDocumentState
public void setFinishDocumentState(DocumentState documentState)
set the state of the document after doing the action- Parameters:
documentState- the state of the document after doing the action
-
setLocale
public void setLocale(Locale locale)
Implements Localizable- Specified by:
setLocalein interfacefr.paris.lutece.portal.service.i18n.Localizable- Parameters:
locale- The current locale
-
getUrl
public String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(String strUrl)
Sets the Url- Parameters:
strUrl- The Url
-
getNameKey
public String getNameKey()
Returns the NameKey- Returns:
- The NameKey
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
setNameKey
public void setNameKey(String strNameKey)
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
public String getDescriptionKey()
Returns the DescriptionKey- Returns:
- The DescriptionKey
-
getDescription
public String getDescription()
Returns the Description- Returns:
- The Description
-
setDescriptionKey
public void setDescriptionKey(String strDescriptionKey)
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getIconUrl
public String getIconUrl()
Returns the IconUrl- Returns:
- The IconUrl
-
setIconUrl
public void setIconUrl(String strIconUrl)
Sets the IconUrl- Parameters:
strIconUrl- The IconUrl
-
getPermission
public String getPermission()
Returns the permission associated to the action- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction- Returns:
- The permission
-
setPermission
public void setPermission(String strPermission)
Sets the Permission- Parameters:
strPermission- The Permission
-
-