fr.paris.lutece.plugins.unittree.business.action
Class AbstractAction

java.lang.Object
  extended by 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 java.lang.Object
implements IAction

AbstractAction


Constructor Summary
AbstractAction()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the Description
 java.lang.String getDescriptionKey()
          Returns the DescriptionKey
 java.lang.String getIconUrl()
          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()
          Return the Url
 void setDescriptionKey(java.lang.String strDescriptionKey)
          Sets the DescriptionKey
 void setIconUrl(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)
          Set the Url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.unittree.business.action.IAction
getActionType, setActionType
 

Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

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(java.util.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 java.lang.String getUrl()
Return the Url

Specified by:
getUrl in interface IAction
Returns:
The Url

setUrl

public void setUrl(java.lang.String strUrl)
Set the Url

Specified by:
setUrl in interface IAction
Parameters:
strUrl - The Url

getNameKey

public java.lang.String getNameKey()
Returns the NameKey

Specified by:
getNameKey in interface IAction
Returns:
The NameKey

getName

public java.lang.String getName()
Returns the Name

Specified by:
getName in interface IAction
Returns:
The Name

setNameKey

public void setNameKey(java.lang.String strNameKey)
Sets the NameKey

Specified by:
setNameKey in interface IAction
Parameters:
strNameKey - The NameKey

getDescriptionKey

public java.lang.String getDescriptionKey()
Returns the DescriptionKey

Specified by:
getDescriptionKey in interface IAction
Returns:
The DescriptionKey

getDescription

public java.lang.String getDescription()
Returns the Description

Specified by:
getDescription in interface IAction
Returns:
The Description

setDescriptionKey

public void setDescriptionKey(java.lang.String strDescriptionKey)
Sets the DescriptionKey

Specified by:
setDescriptionKey in interface IAction
Parameters:
strDescriptionKey - The DescriptionKey

getIconUrl

public java.lang.String getIconUrl()
Returns the IconUrl

Specified by:
getIconUrl in interface IAction
Returns:
The IconUrl

setIconUrl

public void setIconUrl(java.lang.String strIconUrl)
Sets the IconUrl

Specified by:
setIconUrl in interface IAction
Parameters:
strIconUrl - The IconUrl

getPermission

public java.lang.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(java.lang.String strPermission)
Sets the Permission

Specified by:
setPermission in interface IAction
Parameters:
strPermission - The Permission


Copyright © 2012 Mairie de Paris. All Rights Reserved.