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 Object
implements IAction

AbstractAction


Constructor Summary
AbstractAction()
           
 
Method Summary
 boolean equals(Object obj)
          
 String getDescription()
          Returns the Description
 String getDescriptionKey()
          Returns the DescriptionKey
 String getIcon()
          Returns the icon
 int getIdAction()
          Get the id action
 String getName()
          Returns the Name
 String getNameKey()
          Returns the NameKey
 String getPermission()
          Returns the permission associated to the action
 String getUrl()
          Return the Url
 int hashCode()
          
 void setDescriptionKey(String strDescriptionKey)
          Sets the DescriptionKey
 void setIcon(String strIcon)
          Sets the icon
 void setIdAction(int nIdAction)
          Set the id action
 void setLocale(Locale locale)
          Implements Localizable
 void setNameKey(String strNameKey)
          Sets the NameKey
 void setPermission(String strPermission)
          Sets the Permission
 void setUrl(String strUrl)
          Set the Url
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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(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


Copyright © 2013 Mairie de Paris. All Rights Reserved.