public class DocumentAction extends Object implements fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_ARCHIVE |
static int |
ACTION_REFUSE |
static int |
ACTION_REFUSE_CHANGE |
static int |
ACTION_SUBMIT |
static int |
ACTION_SUBMIT_CHANGE |
static int |
ACTION_UNARCHIVE |
static int |
ACTION_VALIDATE |
static int |
ACTION_VALIDATE_CHANGE |
Constructor and Description |
---|
DocumentAction() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the Description
|
String |
getDescriptionKey()
Returns the DescriptionKey
|
DocumentState |
getFinishDocumentState() |
String |
getIconUrl()
Returns the IconUrl
|
int |
getIdAction() |
String |
getName()
Returns the Name
|
String |
getNameKey()
Returns the NameKey
|
String |
getPermission()
Returns the permission associated to the action
|
String |
getUrl()
Returns the Url
|
void |
setDescriptionKey(String strDescriptionKey)
Sets the DescriptionKey
|
void |
setFinishDocumentState(DocumentState documentState)
set the state of the document after doing the action
|
void |
setIconUrl(String strIconUrl)
Sets the IconUrl
|
void |
setIdAction(int idAction)
set the id of the document action
|
void |
setLocale(Locale locale)
Implements Localizable
|
void |
setNameKey(String strNameKey)
Sets the NameKey
|
void |
setPermission(String strPermission)
Sets the Permission
|
void |
setUrl(String strUrl)
Sets the Url
|
public static final int ACTION_SUBMIT
public static final int ACTION_SUBMIT_CHANGE
public static final int ACTION_VALIDATE
public static final int ACTION_VALIDATE_CHANGE
public static final int ACTION_REFUSE
public static final int ACTION_REFUSE_CHANGE
public static final int ACTION_ARCHIVE
public static final int ACTION_UNARCHIVE
public int getIdAction()
public void setIdAction(int idAction)
idAction
- the id of the document actionpublic DocumentState getFinishDocumentState()
public void setFinishDocumentState(DocumentState documentState)
documentState
- the state of the document after doing the actionpublic void setLocale(Locale locale)
setLocale
in interface fr.paris.lutece.portal.service.i18n.Localizable
locale
- The current localepublic String getUrl()
public void setUrl(String strUrl)
strUrl
- The Urlpublic String getNameKey()
public String getName()
public void setNameKey(String strNameKey)
strNameKey
- The NameKeypublic String getDescriptionKey()
public String getDescription()
public void setDescriptionKey(String strDescriptionKey)
strDescriptionKey
- The DescriptionKeypublic String getIconUrl()
public void setIconUrl(String strIconUrl)
strIconUrl
- The IconUrlpublic String getPermission()
getPermission
in interface fr.paris.lutece.portal.service.rbac.RBACAction
public void setPermission(String strPermission)
strPermission
- The PermissionCopyright © 2020 City of Paris. All rights reserved.