Class DocumentSpace
java.lang.Object
fr.paris.lutece.plugins.document.business.spaces.DocumentSpace
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public class DocumentSpace
extends Object
implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
A Space to store documents
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllowedDocumentType(String strDocumentType) Add allowed documentString[]Returns allowed document typesReturns the DescriptionReturns the IconUrlintgetId()Returns the IdSpaceintReturns the IdIconintReturns the IdParentgetName()Returns the NameReturns the resource Id of the current objectReturns the Resource Type Code that identify the resource typeReturns the ViewTypebooleanReturns whether or not Document Creation is Allowed for this spacevoidReset allowed document types listvoidsetDescription(String strDescription) Sets the DescriptionvoidsetDocumentCreationAllowed(boolean bDocumentCreationAllowed) Sets whether or not Document Creation is Allowed for this spacevoidsetIconUrl(String strIconUrl) Sets the IconUrlvoidsetId(int nIdSpace) Sets the IdSpacevoidsetIdIcon(int nIdIcon) Sets the IdIconvoidsetIdParent(int nIdParent) Sets the IdParentvoidSets the NamevoidsetViewType(String strViewType) Sets the ViewTypevoidsetWorkgroup(String workGroup) set the work group associate to the DocumentSpace
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Constructor Details
-
DocumentSpace
public DocumentSpace()
-
-
Method Details
-
getId
public int getId()Returns the IdSpace- Returns:
- The IdSpace
-
setId
public void setId(int nIdSpace) Sets the IdSpace- Parameters:
nIdSpace- The IdSpace
-
getIdParent
public int getIdParent()Returns the IdParent- Returns:
- The IdParent
-
setIdParent
public void setIdParent(int nIdParent) Sets the IdParent- Parameters:
nIdParent- The IdParent
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getViewType
Returns the ViewType- Returns:
- The ViewType
-
setViewType
Sets the ViewType- Parameters:
strViewType- The ViewType
-
getIdIcon
public int getIdIcon()Returns the IdIcon- Returns:
- The IdIcon
-
setIdIcon
public void setIdIcon(int nIdIcon) Sets the IdIcon- Parameters:
nIdIcon- The IdIcon
-
getIconUrl
Returns the IconUrl- Returns:
- The IconUrl
-
setIconUrl
Sets the IconUrl- Parameters:
strIconUrl- The IconUrl
-
isDocumentCreationAllowed
public boolean isDocumentCreationAllowed()Returns whether or not Document Creation is Allowed for this space- Returns:
- True if Document Creation is Allowed
-
setDocumentCreationAllowed
public void setDocumentCreationAllowed(boolean bDocumentCreationAllowed) Sets whether or not Document Creation is Allowed for this space- Parameters:
bDocumentCreationAllowed- The DocumentCreationAllowed value
-
addAllowedDocumentType
Add allowed document- Parameters:
strDocumentType- The document type to allow
-
resetAllowedDocumentTypesList
public void resetAllowedDocumentTypesList()Reset allowed document types list -
getAllowedDocumentTypes
Returns allowed document types- Returns:
- Allowed document types
-
getResourceTypeCode
Returns the Resource Type Code that identify the resource type- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The Resource Type Code
-
getResourceId
Returns the resource Id of the current object- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource Id of the current object
-
getWorkgroup
- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- the work group associate to the DocumentSpace
-
setWorkgroup
set the work group associate to the DocumentSpace- Parameters:
workGroup- the work group associate to the DocumentSpace
-