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
Modifier and TypeMethodDescriptionGet the action typeReturns the DescriptionReturns the DescriptionKeygetIcon()Returns the IconUrlintGet the id actiongetName()Returns the NameReturns the NameKeyReturns the permission associated to the actiongetUrl()Returns the UrlvoidsetActionType(String strActionType) Set the action typevoidsetDescriptionKey(String strDescriptionKey) Sets the DescriptionKeyvoidSets the IconUrlvoidsetIdAction(int nIdAction) Set the id actionvoidImplements LocalizablevoidsetNameKey(String strNameKey) Sets the NameKeyvoidsetPermission(String strPermission) Sets the PermissionvoidSets the Url
-
Method Details
-
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
Implements Localizable- Specified by:
setLocalein interfacefr.paris.lutece.portal.service.i18n.Localizable- Parameters:
locale- The current locale
-
getUrl
String getUrl()Returns the Url- Returns:
- The Url
-
setUrl
Sets the Url- Parameters:
strUrl- The Url
-
getNameKey
String getNameKey()Returns the NameKey- Returns:
- The NameKey
-
getName
String getName()Returns the Name- Returns:
- The Name
-
setNameKey
Sets the NameKey- Parameters:
strNameKey- The NameKey
-
getDescriptionKey
String getDescriptionKey()Returns the DescriptionKey- Returns:
- The DescriptionKey
-
getDescription
String getDescription()Returns the Description- Returns:
- The Description
-
setDescriptionKey
Sets the DescriptionKey- Parameters:
strDescriptionKey- The DescriptionKey
-
getIcon
String getIcon()Returns the IconUrl- Returns:
- The IconUrl
-
setIcon
Sets the IconUrl- Parameters:
strIconUrl- The IconUrl
-
getPermission
String getPermission()Returns the permission associated to the action- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction- Returns:
- The permission
-
setPermission
Sets the Permission- Parameters:
strPermission- The Permission
-
getActionType
String getActionType()Get the action type- Returns:
- the action type
-
setActionType
Set the action type- Parameters:
strActionType- the action type
-