Class FormAction

java.lang.Object
fr.paris.lutece.plugins.form.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 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

      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:
      getPermission in interface fr.paris.lutece.portal.service.rbac.RBACAction
      Returns:
      The permission
    • setPermission

      public void setPermission(String strPermission)
      Sets the Permission
      Parameters:
      strPermission - The Permission
    • setLocale

      public void setLocale(Locale locale)
      Implements Localizable
      Specified by:
      setLocale in interface fr.paris.lutece.portal.service.i18n.Localizable
      Parameters:
      locale - The current locale