Class FormAction
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.FormAction
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.i18n.Localizable,fr.paris.lutece.portal.service.rbac.RBACAction
public class FormAction extends java.lang.Object implements fr.paris.lutece.portal.service.rbac.RBACAction, fr.paris.lutece.portal.service.i18n.LocalizableAction available on a space
-
-
Constructor Summary
Constructors Constructor Description FormAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the Descriptionjava.lang.StringgetDescriptionKey()Returns the DescriptionKeyintgetFormState()java.lang.StringgetIconUrl()Returns the IconUrljava.lang.StringgetName()Returns the Namejava.lang.StringgetNameKey()Returns the NameKeyjava.lang.StringgetPermission()java.lang.StringgetUrl()Returns the UrlvoidsetDescriptionKey(java.lang.String strDescriptionKey)Sets the DescriptionKeyvoidsetFormState(int nState)set 1 if the action must be use when the form is enable 0 if the action must be use when the form is disablevoidsetIconUrl(java.lang.String strIconUrl)Sets the IconUrlvoidsetLocale(java.util.Locale locale)voidsetNameKey(java.lang.String strNameKey)Sets the NameKeyvoidsetPermission(java.lang.String strPermission)Sets the PermissionvoidsetUrl(java.lang.String strUrl)Sets the Url
-
-
-
Method Detail
-
getFormState
public int getFormState()
- Returns:
- 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable
-
setFormState
public void setFormState(int nState)
set 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable- Parameters:
nState- 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable
-
getUrl
public java.lang.String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(java.lang.String strUrl)
Sets the Url- Parameters:
strUrl- The Url
-
getNameKey
public java.lang.String getNameKey()
Returns the NameKey- Returns:
- The NameKey
-
getName
public java.lang.String getName()
Returns the Name- Returns:
- The Name
-
setNameKey
public void setNameKey(java.lang.String strNameKey)
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
public java.lang.String getDescriptionKey()
Returns the DescriptionKey- Returns:
- The DescriptionKey
-
getDescription
public java.lang.String getDescription()
Returns the Description- Returns:
- The Description
-
setDescriptionKey
public void setDescriptionKey(java.lang.String strDescriptionKey)
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getIconUrl
public java.lang.String getIconUrl()
Returns the IconUrl- Returns:
- The IconUrl
-
setIconUrl
public void setIconUrl(java.lang.String strIconUrl)
Sets the IconUrl- Parameters:
strIconUrl- The IconUrl
-
getPermission
public java.lang.String getPermission()
- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction
-
setPermission
public void setPermission(java.lang.String strPermission)
Sets the Permission- Parameters:
strPermission- The Permission
-
setLocale
public void setLocale(java.util.Locale locale)
- Specified by:
setLocalein interfacefr.paris.lutece.portal.service.i18n.Localizable
-
-