Class 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 Detail

      • FormAction

        public FormAction()
    • 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 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()
        Specified by:
        getPermission in interface fr.paris.lutece.portal.service.rbac.RBACAction
      • setPermission

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

        public void setLocale​(Locale locale)
        Specified by:
        setLocale in interface fr.paris.lutece.portal.service.i18n.Localizable