public class Sector extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
| Constructor and Description |
|---|
Sector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAnnouncesValidation()
gets weather or not the announces of the filed must be moderated
|
String |
getDescription()
gets the description of sector
|
int |
getId()
gets the id of sector
|
String |
getLabel()
gets the label of sector
|
Collection<Category> |
getListCategories()
gets the list of categories of the sector
|
int |
getNumberAnnounces()
Get the number of announces
|
int |
getNumberCategories()
gets the number of categories for the sector
|
int |
getOrder()
Get the order of the announce
|
String |
getResourceId() |
String |
getResourceTypeCode() |
String |
getTags()
gets the tags of sector
|
void |
setAnnouncesValidation(boolean bAnnouncesValidation)
sets weather or not the announces of the filed must be moderated
|
void |
setDescription(String strDescription)
gets the description of sector
|
void |
setId(int nId)
sets the id of sector
|
void |
setLabel(String strLabel)
sets the label of sector
|
void |
setListCategories(Collection<Category> listCategories)
sets the list of categories of the sector
|
void |
setNumberAnnounces(int nNumberAnnounces)
Set the number of announces
|
void |
setNumberCategories(int nNumberCategories)
sets the number of categories for the sector
|
void |
setOrder(int nOrder)
Set the order of the announce
|
void |
setTags(String strTags)
sets the Tags of sector
|
public static final String RESOURCE_TYPE
public int getId()
public void setId(int nId)
nId - the sector idpublic String getLabel()
public void setLabel(String strLabel)
strLabel - the label of sectorpublic String getDescription()
public void setDescription(String strDescription)
strDescription - the description of sectorpublic int getNumberCategories()
public void setNumberCategories(int nNumberCategories)
nNumberCategories - the number of categories for the sectorpublic Collection<Category> getListCategories()
public void setListCategories(Collection<Category> listCategories)
listCategories - the list of categories of the sectorpublic boolean getAnnouncesValidation()
public void setAnnouncesValidation(boolean bAnnouncesValidation)
bAnnouncesValidation - weather or not the announces of the filed must be moderatedpublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic int getOrder()
public void setOrder(int nOrder)
nOrder - The order of the announcepublic int getNumberAnnounces()
public void setNumberAnnounces(int nNumberAnnounces)
nNumberAnnounces - The number of announcespublic String getTags()
public void setTags(String strTags)
strTags - the Tags of sectorCopyright © 2019 City of Paris. All rights reserved.