org.apache.chemistry.opencmis.client.api
Interface DocumentType

All Superinterfaces:
ExtensionsData, ObjectType, Serializable, TypeDefinition

public interface DocumentType
extends ObjectType

Document Object Type.

See CMIS Domain Model - section 2.1.4.3.


Field Summary
 
Fields inherited from interface org.apache.chemistry.opencmis.client.api.ObjectType
DOCUMENT_BASETYPE_ID, FOLDER_BASETYPE_ID, POLICY_BASETYPE_ID, RELATIONSHIP_BASETYPE_ID
 
Method Summary
 ContentStreamAllowed getContentStreamAllowed()
          Gets the enum that describes, how content streams have to be handled with this document type.
 Boolean isVersionable()
          Gets the isVersionable flag.
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectType
getBaseType, getChildren, getDescendants, getParentType, isBaseType
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.definitions.TypeDefinition
getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

isVersionable

Boolean isVersionable()
Gets the isVersionable flag.

Returns:
true if this document type is versionable, false if documents of this type cannot be versioned.

getContentStreamAllowed

ContentStreamAllowed getContentStreamAllowed()
Gets the enum that describes, how content streams have to be handled with this document type.

Returns:
the mode of content stream support (notallowed, allowed, or required).


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.