Interface IAction

  • All Superinterfaces:
    fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
    All Known Implementing Classes:
    AbstractAction, DefaultAction, UnitAction, UnitUserAction

    public interface IAction
    extends fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
    IAction
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getActionType()
      Get the action type
      java.lang.String getDescription()
      Returns the Description
      java.lang.String getDescriptionKey()
      Returns the DescriptionKey
      java.lang.String getIcon()
      Returns the IconUrl
      int getIdAction()
      Get the id action
      java.lang.String getName()
      Returns the Name
      java.lang.String getNameKey()
      Returns the NameKey
      java.lang.String getPermission()
      Returns the permission associated to the action
      java.lang.String getUrl()
      Returns the Url
      void setActionType​(java.lang.String strActionType)
      Set the action type
      void setDescriptionKey​(java.lang.String strDescriptionKey)
      Sets the DescriptionKey
      void setIcon​(java.lang.String strIconUrl)
      Sets the IconUrl
      void setIdAction​(int nIdAction)
      Set the id action
      void setLocale​(java.util.Locale locale)
      Implements Localizable
      void setNameKey​(java.lang.String strNameKey)
      Sets the NameKey
      void setPermission​(java.lang.String strPermission)
      Sets the Permission
      void setUrl​(java.lang.String strUrl)
      Sets the Url
    • Method Detail

      • setIdAction

        void setIdAction​(int nIdAction)
        Set the id action
        Parameters:
        nIdAction - the nIdAction to set
      • getIdAction

        int getIdAction()
        Get the id action
        Returns:
        the nIdAction
      • setLocale

        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

        java.lang.String getUrl()
        Returns the Url
        Returns:
        The Url
      • setUrl

        void setUrl​(java.lang.String strUrl)
        Sets the Url
        Parameters:
        strUrl - The Url
      • getNameKey

        java.lang.String getNameKey()
        Returns the NameKey
        Returns:
        The NameKey
      • getName

        java.lang.String getName()
        Returns the Name
        Returns:
        The Name
      • setNameKey

        void setNameKey​(java.lang.String strNameKey)
        Sets the NameKey
        Parameters:
        strNameKey - The NameKey
      • getDescriptionKey

        java.lang.String getDescriptionKey()
        Returns the DescriptionKey
        Returns:
        The DescriptionKey
      • getDescription

        java.lang.String getDescription()
        Returns the Description
        Returns:
        The Description
      • setDescriptionKey

        void setDescriptionKey​(java.lang.String strDescriptionKey)
        Sets the DescriptionKey
        Parameters:
        strDescriptionKey - The DescriptionKey
      • getIcon

        java.lang.String getIcon()
        Returns the IconUrl
        Returns:
        The IconUrl
      • setIcon

        void setIcon​(java.lang.String strIconUrl)
        Sets the IconUrl
        Parameters:
        strIconUrl - The IconUrl
      • getPermission

        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

        void setPermission​(java.lang.String strPermission)
        Sets the Permission
        Parameters:
        strPermission - The Permission
      • getActionType

        java.lang.String getActionType()
        Get the action type
        Returns:
        the action type
      • setActionType

        void setActionType​(java.lang.String strActionType)
        Set the action type
        Parameters:
        strActionType - the action type