public class DocumentSpace extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE |
Constructor and Description |
---|
DocumentSpace() |
Modifier and Type | Method and Description |
---|---|
void |
addAllowedDocumentType(String strDocumentType)
Add allowed document
|
String[] |
getAllowedDocumentTypes()
Returns allowed document types
|
String |
getDescription()
Returns the Description
|
String |
getIconUrl()
Returns the IconUrl
|
int |
getId()
Returns the IdSpace
|
int |
getIdIcon()
Returns the IdIcon
|
int |
getIdParent()
Returns the IdParent
|
String |
getName()
Returns the Name
|
String |
getResourceId()
Returns the resource Id of the current object
|
String |
getResourceTypeCode()
Returns the Resource Type Code that identify the resource type
|
String |
getViewType()
Returns the ViewType
|
String |
getWorkgroup() |
boolean |
isDocumentCreationAllowed()
Returns whether or not Document Creation is Allowed for this space
|
void |
resetAllowedDocumentTypesList()
Reset allowed document types list
|
void |
setDescription(String strDescription)
Sets the Description
|
void |
setDocumentCreationAllowed(boolean bDocumentCreationAllowed)
Sets whether or not Document Creation is Allowed for this space
|
void |
setIconUrl(String strIconUrl)
Sets the IconUrl
|
void |
setId(int nIdSpace)
Sets the IdSpace
|
void |
setIdIcon(int nIdIcon)
Sets the IdIcon
|
void |
setIdParent(int nIdParent)
Sets the IdParent
|
void |
setName(String strName)
Sets the Name
|
void |
setViewType(String strViewType)
Sets the ViewType
|
void |
setWorkgroup(String workGroup)
set the work group associate to the DocumentSpace
|
public static final String RESOURCE_TYPE
public int getId()
public void setId(int nIdSpace)
nIdSpace
- The IdSpacepublic int getIdParent()
public void setIdParent(int nIdParent)
nIdParent
- The IdParentpublic String getName()
public void setName(String strName)
strName
- The Namepublic String getDescription()
public void setDescription(String strDescription)
strDescription
- The Descriptionpublic String getViewType()
public void setViewType(String strViewType)
strViewType
- The ViewTypepublic int getIdIcon()
public void setIdIcon(int nIdIcon)
nIdIcon
- The IdIconpublic String getIconUrl()
public void setIconUrl(String strIconUrl)
strIconUrl
- The IconUrlpublic boolean isDocumentCreationAllowed()
public void setDocumentCreationAllowed(boolean bDocumentCreationAllowed)
bDocumentCreationAllowed
- The DocumentCreationAllowed valuepublic void addAllowedDocumentType(String strDocumentType)
strDocumentType
- The document type to allowpublic void resetAllowedDocumentTypesList()
public String[] getAllowedDocumentTypes()
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
public String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String workGroup)
workGroup
- the work group associate to the DocumentSpaceCopyright © 2020 City of Paris. All rights reserved.