public class CmsCmisTypeManager
extends java.lang.Object
I_CmsCmisRepository
.限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DOCUMENT_TYPE_ID
CMIS type id for documents.
|
static java.lang.String |
FOLDER_TYPE_ID
CMIS type id for folders.
|
static java.lang.String |
INHERITED_PREFIX
Prefix for inherited properties.
|
static java.lang.String |
POLICY_TYPE_ID
CMIS type id for policies.
|
static java.lang.String |
PROPERTY_PREFIX
The prefix used for normal OpenCms resource properties.
|
static java.lang.String |
PROPERTY_PREFIX_DYNAMIC
Prefix for dynamic properties.
|
static java.lang.String |
PROPERTY_PREFIX_SPECIAL
The prefix for special properties.
|
static java.lang.String |
PROPERTY_RESOURCE_TYPE
The name of the propery containing the resource type name.
|
static java.lang.String |
RELATIONSHIP_TYPE_ID
CMIS type id for relationships.
|
static long |
UPDATE_INTERVAL
Need to refresh property data after this time.
|
构造器和说明 |
---|
CmsCmisTypeManager(CmsObject adminCms,
java.util.List<I_CmsPropertyProvider> propertyProviders)
Creates a new type manager instance.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getCmsPropertyNames()
Gets a list of names of OpenCms property definitions.
|
I_CmsPropertyProvider |
getPropertyProvider(java.lang.String key)
Gets the property provider for a given key.
|
java.util.List<I_CmsPropertyProvider> |
getPropertyProviders()
Gets the list of all property providers.
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getType(java.lang.String typeId)
Gets a type definition by id.
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(java.lang.String typeId,
boolean includePropertyDefinitions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Collects the children of a type.
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(java.lang.String typeId)
Gets the type definition for a given id in the given call context.
|
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(java.lang.String typeId,
java.math.BigInteger depth,
boolean includePropertyDefinitions)
Gets the descendants of a type.
|
public static final java.lang.String DOCUMENT_TYPE_ID
public static final java.lang.String FOLDER_TYPE_ID
public static final java.lang.String INHERITED_PREFIX
public static final java.lang.String POLICY_TYPE_ID
public static final java.lang.String PROPERTY_PREFIX
public static final java.lang.String PROPERTY_PREFIX_DYNAMIC
public static final java.lang.String PROPERTY_PREFIX_SPECIAL
public static final java.lang.String PROPERTY_RESOURCE_TYPE
public static final java.lang.String RELATIONSHIP_TYPE_ID
public static final long UPDATE_INTERVAL
public CmsCmisTypeManager(CmsObject adminCms, java.util.List<I_CmsPropertyProvider> propertyProviders) throws CmsException
adminCms
- a CMS context with admin privilegespropertyProviders
- list which will be filled with property providersCmsException
- if something goes wrongpublic java.util.List<java.lang.String> getCmsPropertyNames()
public I_CmsPropertyProvider getPropertyProvider(java.lang.String key)
key
- the property nmepublic java.util.List<I_CmsPropertyProvider> getPropertyProviders()
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getType(java.lang.String typeId)
typeId
- the type idpublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(java.lang.String typeId, boolean includePropertyDefinitions, java.math.BigInteger maxItems, java.math.BigInteger skipCount)
typeId
- the id of the typeincludePropertyDefinitions
- true if the property definitions should be includedmaxItems
- the maximum number of items to returnskipCount
- the number of items to skippublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(java.lang.String typeId)
typeId
- the type idpublic java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(java.lang.String typeId, java.math.BigInteger depth, boolean includePropertyDefinitions)
typeId
- the parent type iddepth
- the depth up to which the descendant types should be collectedincludePropertyDefinitions
- true if the property definitions should be included