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
AbstractAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the DescriptionReturns the DescriptionKeygetIcon()Returns the iconintGet the id actiongetName()Returns the NameReturns the NameKeyReturns the permission associated to the actiongetUrl()Return the UrlinthashCode()voidsetDescriptionKey(String strDescriptionKey) Sets the DescriptionKeyvoidSets the iconvoidsetIdAction(int nIdAction) Set the id actionvoidImplements LocalizablevoidsetNameKey(String strNameKey) Sets the NameKeyvoidsetPermission(String strPermission) Sets the PermissionvoidSet the UrlMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.unittree.business.action.IAction
getActionType, setActionType
-
Constructor Details
-
AbstractAction
public AbstractAction()
-
-
Method Details
-
setIdAction
public void setIdAction(int nIdAction) Set the id action- Specified by:
setIdActionin interfaceIAction- Parameters:
nIdAction- the nIdAction to set
-
getIdAction
public int getIdAction()Get the id action- Specified by:
getIdActionin interfaceIAction- Returns:
- the nIdAction
-
setLocale
Implements Localizable -
getUrl
Return the Url -
setUrl
Set the Url -
getNameKey
Returns the NameKey- Specified by:
getNameKeyin interfaceIAction- Returns:
- The NameKey
-
getName
Returns the Name -
setNameKey
Sets the NameKey- Specified by:
setNameKeyin interfaceIAction- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
Returns the DescriptionKey- Specified by:
getDescriptionKeyin interfaceIAction- Returns:
- The DescriptionKey
-
getDescription
Returns the Description- Specified by:
getDescriptionin interfaceIAction- Returns:
- The Description
-
setDescriptionKey
Sets the DescriptionKey- Specified by:
setDescriptionKeyin interfaceIAction- Parameters:
strDescriptionKey- The DescriptionKey
-
getIcon
Returns the icon -
setIcon
Sets the icon -
getPermission
Returns the permission associated to the action- Specified by:
getPermissionin interfaceIAction- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction- Returns:
- The permission
-
setPermission
Sets the Permission- Specified by:
setPermissionin interfaceIAction- Parameters:
strPermission- The Permission
-
hashCode
public int hashCode() -
equals
-