public class DiggAction extends Object implements fr.paris.lutece.portal.service.rbac.RBACAction, fr.paris.lutece.portal.service.i18n.Localizable
Constructor and Description |
---|
DiggAction() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the Description
|
String |
getDescriptionKey()
Returns the DescriptionKey
|
int |
getDiggState() |
String |
getIconUrl()
Returns the IconUrl
|
String |
getName()
Returns the Name
|
String |
getNameKey()
Returns the NameKey
|
String |
getPermission()
Returns the permission associated to the action
|
String |
getUrl()
Returns the Url
|
void |
setDescriptionKey(String strDescriptionKey)
Sets the DescriptionKey
|
void |
setDiggState(int nState)
set 1 if the action must be use when the digg is enable
0 if the action must be use when the digg is disable
|
void |
setIconUrl(String strIconUrl)
Sets the IconUrl
|
void |
setLocale(Locale locale)
Implements Localizable
|
void |
setNameKey(String strNameKey)
Sets the NameKey
|
void |
setPermission(String strPermission)
Sets the Permission
|
void |
setUrl(String strUrl)
Sets the Url
|
public int getDiggState()
public void setDiggState(int nState)
nState
- 1 if the action must be use when the digg is enable
0 if the action must be use when the digg is disablepublic String getUrl()
public void setUrl(String strUrl)
strUrl
- The Urlpublic String getNameKey()
public String getName()
public void setNameKey(String strNameKey)
strNameKey
- The NameKeypublic String getDescriptionKey()
public String getDescription()
public void setDescriptionKey(String strDescriptionKey)
strDescriptionKey
- The DescriptionKeypublic String getIconUrl()
public void setIconUrl(String strIconUrl)
strIconUrl
- The IconUrlpublic String getPermission()
getPermission
in interface fr.paris.lutece.portal.service.rbac.RBACAction
public void setPermission(String strPermission)
strPermission
- The Permissionpublic void setLocale(Locale locale)
setLocale
in interface fr.paris.lutece.portal.service.i18n.Localizable
locale
- The current localeCopyright © 2016 Mairie de Paris. All Rights Reserved.