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 Details

  • 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

      public String getName()
      Returns the Name
      Returns:
      The Name
    • setName

      public void setName(String strName)
      Sets the Name
      Parameters:
      strName - The Name
    • getDescription

      public String getDescription()
      Returns the Description
      Returns:
      The Description
    • setDescription

      public void setDescription(String strDescription)
      Sets the Description
      Parameters:
      strDescription - The Description
    • getViewType

      public String getViewType()
      Returns the ViewType
      Returns:
      The ViewType
    • setViewType

      public void setViewType(String strViewType)
      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

      public String getIconUrl()
      Returns the IconUrl
      Returns:
      The IconUrl
    • setIconUrl

      public void setIconUrl(String strIconUrl)
      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

      public void addAllowedDocumentType(String strDocumentType)
      Add allowed document
      Parameters:
      strDocumentType - The document type to allow
    • resetAllowedDocumentTypesList

      public void resetAllowedDocumentTypesList()
      Reset allowed document types list
    • getAllowedDocumentTypes

      public String[] getAllowedDocumentTypes()
      Returns allowed document types
      Returns:
      Allowed document types
    • getResourceTypeCode

      public String getResourceTypeCode()
      Returns the Resource Type Code that identify the resource type
      Specified by:
      getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
      Returns:
      The Resource Type Code
    • getResourceId

      public String getResourceId()
      Returns the resource Id of the current object
      Specified by:
      getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
      Returns:
      The resource Id of the current object
    • getWorkgroup

      public String getWorkgroup()
      Specified by:
      getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
      Returns:
      the work group associate to the DocumentSpace
    • setWorkgroup

      public void setWorkgroup(String workGroup)
      set the work group associate to the DocumentSpace
      Parameters:
      workGroup - the work group associate to the DocumentSpace