public class Feature extends Object implements Serializable, fr.paris.lutece.portal.service.rbac.RBACResource
Modifier and Type | Field and Description |
---|---|
static int |
DISPLAY_HIDDEN |
static int |
DISPLAY_HOME |
static int |
DISPLAY_STANDARD |
static String |
PERMISSION_ACCESS |
static String |
RESOURCE_TYPE |
Constructor and Description |
---|
Feature() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Returns the Category
|
int |
getDisplayLevel()
Returns the DisplayLevel
|
int |
getId()
Returns the Id
|
int |
getIdCategory()
Returns the IdCategory
|
int |
getIdOrder()
Returns the IdOrder
|
String |
getLink()
Returns the Link
|
String |
getLinkCustomerParams()
Returns the LinkCustomerParams
|
String |
getName()
Returns the Name
|
String |
getResourceId() |
String |
getResourceTypeCode() |
int |
getTarget()
Returns the Target
|
boolean |
isHidden()
Is feature disabled
|
boolean |
isHome()
Is feature on Home page
|
void |
setCategory(String strCategory)
Sets the Category
|
void |
setDisplayLevel(int nDisplayLevel)
Sets the DisplayLevel
|
void |
setId(int nId)
Sets the Id
|
void |
setIdCategory(int nIdCategory)
Sets the IdCategory
|
void |
setIdOrder(int nIdOrder)
Sets the IdOrder
|
void |
setLink(String strLink)
Sets the Link
|
void |
setLinkCustomerParams(String strLinkCustomerParams)
Sets the LinkCustomerParams
|
void |
setName(String strName)
Sets the Name
|
void |
setTarget(int nTarget)
Sets the Target
|
public static final String RESOURCE_TYPE
public static final String PERMISSION_ACCESS
public static final int DISPLAY_STANDARD
public static final int DISPLAY_HOME
public static final int DISPLAY_HIDDEN
public int getId()
public void setId(int nId)
nId
- The Idpublic String getName()
public void setName(String strName)
strName
- The Namepublic String getLink()
public void setLink(String strLink)
strLink
- The Linkpublic String getLinkCustomerParams()
public void setLinkCustomerParams(String strLinkCustomerParams)
strLinkCustomerParams
- The LinkCustomerParamspublic int getIdCategory()
public void setIdCategory(int nIdCategory)
nIdCategory
- The IdCategorypublic String getCategory()
public void setCategory(String strCategory)
strCategory
- The Categorypublic int getIdOrder()
public void setIdOrder(int nIdOrder)
nIdOrder
- The IdOrderpublic int getTarget()
public void setTarget(int nTarget)
nTarget
- The Targetpublic int getDisplayLevel()
public void setDisplayLevel(int nDisplayLevel)
nDisplayLevel
- The DisplayLevelpublic boolean isHidden()
public boolean isHome()
public String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
Copyright © 2016 City of Paris. All rights reserved.