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 Object
implements fr.paris.lutece.portal.service.rbac.RBACAction, fr.paris.lutece.portal.service.i18n.Localizable
Action available on a space
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the DescriptionReturns the DescriptionKeyintReturns the IconUrlgetName()Returns the NameReturns the NameKeygetUrl()Returns the UrlvoidsetDescriptionKey(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(String strIconUrl) Sets the IconUrlvoidvoidsetNameKey(String strNameKey) Sets the NameKeyvoidsetPermission(String strPermission) Sets the PermissionvoidSets the Url
-
Constructor Details
-
FormAction
public FormAction()
-
-
Method Details
-
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
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
- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction
-
setPermission
Sets the Permission- Parameters:
strPermission- The Permission
-
setLocale
- Specified by:
setLocalein interfacefr.paris.lutece.portal.service.i18n.Localizable
-