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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the DescriptionReturns the DescriptionKeyReturns the IconUrlintgetName()Returns the NameReturns the NameKeyReturns the permission associated to the actiongetUrl()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 actionvoidImplements LocalizablevoidsetNameKey(String strNameKey) Sets the NameKeyvoidsetPermission(String strPermission) Sets the PermissionvoidSets the Url
-
Field Details
-
ACTION_SUBMIT
public static final int ACTION_SUBMIT- See Also:
-
ACTION_SUBMIT_CHANGE
public static final int ACTION_SUBMIT_CHANGE- See Also:
-
ACTION_VALIDATE
public static final int ACTION_VALIDATE- See Also:
-
ACTION_VALIDATE_CHANGE
public static final int ACTION_VALIDATE_CHANGE- See Also:
-
ACTION_REFUSE
public static final int ACTION_REFUSE- See Also:
-
ACTION_REFUSE_CHANGE
public static final int ACTION_REFUSE_CHANGE- See Also:
-
ACTION_ARCHIVE
public static final int ACTION_ARCHIVE- See Also:
-
ACTION_UNARCHIVE
public static final int ACTION_UNARCHIVE- See Also:
-
-
Constructor Details
-
DocumentAction
public DocumentAction()
-
-
Method Details
-
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
- Returns:
- the state of the document after doing the action
-
setFinishDocumentState
set the state of the document after doing the action- Parameters:
documentState- the state of the document after doing the action
-
setLocale
Implements Localizable- Specified by:
setLocalein interfacefr.paris.lutece.portal.service.i18n.Localizable- Parameters:
locale- The current locale
-
getUrl
Returns the Url- Returns:
- The Url
-
setUrl
Sets the Url- Parameters:
strUrl- The Url
-
getNameKey
Returns the NameKey- Returns:
- The NameKey
-
getName
Returns the Name- Returns:
- The Name
-
setNameKey
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
Returns the DescriptionKey- Returns:
- The DescriptionKey
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescriptionKey
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getIconUrl
Returns the IconUrl- Returns:
- The IconUrl
-
setIconUrl
Sets the IconUrl- Parameters:
strIconUrl- The IconUrl
-
getPermission
Returns the permission associated to the action- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction- Returns:
- The permission
-
setPermission
Sets the Permission- Parameters:
strPermission- The Permission
-