Class AbstractAction

java.lang.Object
fr.paris.lutece.plugins.unittree.business.action.AbstractAction
All Implemented Interfaces:
IAction, fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction
Direct Known Subclasses:
DefaultAction, UnitAction, UnitUserAction

public abstract class AbstractAction extends Object implements IAction
AbstractAction
  • Constructor Details

    • AbstractAction

      public AbstractAction()
  • Method Details

    • setIdAction

      public void setIdAction(int nIdAction)
      Set the id action
      Specified by:
      setIdAction in interface IAction
      Parameters:
      nIdAction - the nIdAction to set
    • getIdAction

      public int getIdAction()
      Get the id action
      Specified by:
      getIdAction in interface IAction
      Returns:
      the nIdAction
    • setLocale

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

      public String getUrl()
      Return the Url
      Specified by:
      getUrl in interface IAction
      Returns:
      The Url
    • setUrl

      public void setUrl(String strUrl)
      Set the Url
      Specified by:
      setUrl in interface IAction
      Parameters:
      strUrl - The Url
    • getNameKey

      public String getNameKey()
      Returns the NameKey
      Specified by:
      getNameKey in interface IAction
      Returns:
      The NameKey
    • getName

      public String getName()
      Returns the Name
      Specified by:
      getName in interface IAction
      Returns:
      The Name
    • setNameKey

      public void setNameKey(String strNameKey)
      Sets the NameKey
      Specified by:
      setNameKey in interface IAction
      Parameters:
      strNameKey - The NameKey
    • getDescriptionKey

      public String getDescriptionKey()
      Returns the DescriptionKey
      Specified by:
      getDescriptionKey in interface IAction
      Returns:
      The DescriptionKey
    • getDescription

      public String getDescription()
      Returns the Description
      Specified by:
      getDescription in interface IAction
      Returns:
      The Description
    • setDescriptionKey

      public void setDescriptionKey(String strDescriptionKey)
      Sets the DescriptionKey
      Specified by:
      setDescriptionKey in interface IAction
      Parameters:
      strDescriptionKey - The DescriptionKey
    • getIcon

      public String getIcon()
      Returns the icon
      Specified by:
      getIcon in interface IAction
      Returns:
      The icon
    • setIcon

      public void setIcon(String strIcon)
      Sets the icon
      Specified by:
      setIcon in interface IAction
      Parameters:
      strIcon - The icon
    • getPermission

      public String getPermission()
      Returns the permission associated to the action
      Specified by:
      getPermission in interface IAction
      Specified by:
      getPermission in interface fr.paris.lutece.portal.service.rbac.RBACAction
      Returns:
      The permission
    • setPermission

      public void setPermission(String strPermission)
      Sets the Permission
      Specified by:
      setPermission in interface IAction
      Parameters:
      strPermission - The Permission
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object