|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.unittree.business.unit.Unit
public class Unit
Unit
| Field Summary | |
|---|---|
static int |
ID_NULL
|
static int |
ID_ROOT
|
static java.lang.String |
RESOURCE_TYPE
|
| Constructor Summary | |
|---|---|
Unit()
|
|
| Method Summary | |
|---|---|
void |
addIdSector(int nIdSector)
Add the id sector |
java.lang.String |
getDescription()
Get the description |
int |
getIdParent()
Get the id parent |
int |
getIdUnit()
Get the id unit |
java.lang.String |
getLabel()
Get the label |
java.util.List<java.lang.Integer> |
getListIdsSector()
Get the list of ids sector |
java.lang.String |
getResourceId()
|
java.lang.String |
getResourceTypeCode()
|
boolean |
hasIdSector(int nIdSector)
Check if the unit has the given id sector |
boolean |
isRoot()
Check if the unit is the root unit |
void |
setDescription(java.lang.String strDescription)
Set the description |
void |
setIdParent(int nIdParent)
Set the id parent |
void |
setIdUnit(int nIdUnit)
Set the id unit |
void |
setLabel(java.lang.String strLabel)
Set the label |
void |
setListIdsSector(java.util.List<java.lang.Integer> listIdsSector)
Set the list of ids sector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESOURCE_TYPE
public static final int ID_ROOT
public static final int ID_NULL
| Constructor Detail |
|---|
public Unit()
| Method Detail |
|---|
public int getIdUnit()
public void setIdUnit(int nIdUnit)
nIdUnit - the id unitpublic java.lang.String getLabel()
public void setLabel(java.lang.String strLabel)
strLabel - the labelpublic java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription - the descriptionpublic void setIdParent(int nIdParent)
nIdParent - the nIdParent to setpublic int getIdParent()
public void setListIdsSector(java.util.List<java.lang.Integer> listIdsSector)
listIdsSector - the list of ids sectorpublic java.util.List<java.lang.Integer> getListIdsSector()
public void addIdSector(int nIdSector)
nIdSector - the id sectorpublic boolean hasIdSector(int nIdSector)
nIdSector - the id sector
public boolean isRoot()
public java.lang.String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic java.lang.String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||