Class Space

  • All Implemented Interfaces:
    Serializable, org.apache.chemistry.opencmis.commons.data.ExtensionsData, org.apache.chemistry.opencmis.commons.data.MutableObjectData, org.apache.chemistry.opencmis.commons.data.ObjectData, Fileable, Folding

    public class Space
    extends CmisFolder
    A collaborative space in Silverpeas. A collaborative space provides a way to organize the applications and others spaces in Silverpeas as an hierarchical tree, starting with the root space that is predefined in Silverpeas. The tree of spaces is often a representation of the inner or outer structural organization of an enterprise, of an association or of any organisation. A Space can be made up of others spaces as well as of applications.
    Author:
    mmoquillon
    See Also:
    Serialized Form
    • Field Detail

      • ROOT_ID

        public static final BasicIdentifier ROOT_ID
        The unique identifier of the virtual root space.
      • CMIS_TYPE

        public static final TypeId CMIS_TYPE
        The identifier of its CMIS type.
      • SYMBOL

        public static final String SYMBOL
        The UTF-8 symbol representing the type of this CMIS object. It acts as an icon but instead of being a regular image the icon is encoded in UTF-8.
        See Also:
        Constant Field Values
    • Method Detail

      • getAllAllowedChildrenTypes

        public static List<TypeId> getAllAllowedChildrenTypes()
      • isSpace

        public static boolean isSpace​(String folderId)
      • getSymbol

        public String getSymbol()
        Description copied from class: CmisObject
        Gets the possible UTF-8 symbol representing the type of this CMIS object. It acts as an icon but instead of being a regular image the icon is encoded in UTF-8. Its goal is to mark the concrete type of the CMIS object upon its basic CMIS one (that is folder, document, ...)
        Specified by:
        getSymbol in class CmisObject
        Returns:
        the UTF-8 symbol representing the type of this object or an empty String if no symbol is defined.
      • getPath

        public String getPath()
        Description copied from interface: Fileable
        Gets the path of this object from the root folder in the CMIS objects tree.
        Specified by:
        getPath in interface Fileable
        Overrides:
        getPath in class CmisFile
        Returns:
        a slash-separated path whose the first slash is the root folder in the CMIS objects tree.
      • getBaseTypeId

        public org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
        Description copied from class: CmisObject
        Gets the identifier of the base type from which the type of the CMIS object is derived.
        Specified by:
        getBaseTypeId in interface org.apache.chemistry.opencmis.commons.data.ObjectData
        Specified by:
        getBaseTypeId in class CmisObject
      • getTypeId

        public TypeId getTypeId()
        Description copied from class: CmisObject
        Gets the identifier of the type of this CMIS object.
        Specified by:
        getTypeId in class CmisObject
        Returns:
        a TypeId enumeration value.
      • isRoot

        public boolean isRoot()
        Description copied from interface: Folding
        Is this object is the root folder in the CMIS objects tree?
        Returns:
        true if this folder is the root of the CMIS objects tree. False otherwise.
      • getAllowedChildrenTypes

        public List<TypeId> getAllowedChildrenTypes()
        Description copied from interface: Folding
        Gets all the types this object accepts as children.
        Returns:
        a list of TypeId instances, each of them identifying the type of CMIS objects this folding object accepts as children.