Package com.logicaldoc.cmis
Class TypeManager
java.lang.Object
com.logicaldoc.cmis.TypeManager
Type Manager.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type) Adds a type to collection with inheriting base type propertiesorg.apache.chemistry.opencmis.commons.definitions.TypeDefinitionFor internal useorg.apache.chemistry.opencmis.commons.definitions.TypeDefinitiongetTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId) CMIS getTypeDefinitionorg.apache.chemistry.opencmis.commons.definitions.TypeDefinitionListgetTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount) CMIS getTypesChildrenList<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypesDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions) CMIS getTypesDescendants
- 
Field Details- 
DOCUMENT_TYPE_ID
- 
FOLDER_TYPE_ID
- 
RELATIONSHIP_TYPE_ID
- 
POLICY_TYPE_ID
- 
WORKSPACE_TYPE_ID- See Also:
 
- 
NAMESPACE- See Also:
 
- 
PROP_LANGUAGE- See Also:
 
- 
PROP_RATING- See Also:
 
- 
PROP_WORKFLOW_STATUS- See Also:
 
- 
PROP_CUSTOMID- See Also:
 
- 
PROP_TAGS- See Also:
 
- 
PROP_DESCRIPTION- See Also:
 
- 
PROP_FILEVERSION- See Also:
 
- 
PROP_VERSION- See Also:
 
- 
PROP_TYPE- See Also:
 
- 
PROP_TEMPLATE- See Also:
 
- 
PROP_EXT- See Also:
 
 
- 
- 
Constructor Details- 
TypeManagerpublic TypeManager()
 
- 
- 
Method Details- 
addTypepublic boolean addType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type) Adds a type to collection with inheriting base type properties- Parameters:
- type- the type
- Returns:
- if the type has been added
 
- 
getTypesChildrenpublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount) CMIS getTypesChildren- Parameters:
- context- the call context
- typeId- identifier of the type
- includePropertyDefinitions- if the property definition must be included
- maxItems- maximum number of items
- skipCount- optional number of potential results that the repository MUST skip/page over before returning any results (default is 0)
- Returns:
- list of definitions
 
- 
getTypesDescendantspublic List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypesDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions) CMIS getTypesDescendants- Parameters:
- context- call context
- typeId- id of the type
- depth- depth specification
- includePropertyDefinitions- if the properties definition must be included
- Returns:
- list of definitions
 
- 
getTypeFor internal use- Parameters:
- typeId- identifier of the type
- Returns:
- the type definition
 
- 
getTypeDefinitionpublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId) CMIS getTypeDefinition- Parameters:
- context- call context
- typeId- identifier of the type
- Returns:
- definition of the type
 
 
-