Class DocumentAction

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction

    public class DocumentAction
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
    This class represents the business object DocumentAction
    • Constructor Detail

      • DocumentAction

        public DocumentAction()
    • Method Detail

      • getIdAction

        public int getIdAction()
        Returns:
        the id of the document action
      • setIdAction

        public void setIdAction​(int idAction)
        set the id of the document action
        Parameters:
        idAction - the id of the document action
      • getFinishDocumentState

        public DocumentState getFinishDocumentState()
        Returns:
        the state of the document after doing the action
      • setFinishDocumentState

        public void setFinishDocumentState​(DocumentState documentState)
        set the state of the document after doing the action
        Parameters:
        documentState - the state of the document after doing the action
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Implements Localizable
        Specified by:
        setLocale in interface fr.paris.lutece.portal.service.i18n.Localizable
        Parameters:
        locale - The current locale
      • 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()
        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​(java.lang.String strPermission)
        Sets the Permission
        Parameters:
        strPermission - The Permission