org.alfresco.cmis.dictionary
Class CMISDocumentTypeDefinition
java.lang.Object
org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
org.alfresco.cmis.dictionary.CMISDocumentTypeDefinition
- All Implemented Interfaces:
- java.io.Serializable, CMISTypeDefinition
public class CMISDocumentTypeDefinition
- extends CMISAbstractTypeDefinition
CMIS Document Type Definition
- See Also:
- Serialized Form
Fields inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition |
actionEvaluators, cmisClassDef, controllableACL, controllablePolicy, creatable, description, displayName, fullTextIndexed, includedInSuperTypeQuery, inheritedProperties, internalParentType, isPublic, logger, objectTypeId, objectTypeQueryName, ownedProperties, parentType, parentTypeId, properties, queryable, rootType, subTypeIds, subTypes |
Methods inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition |
equals, getActionEvaluators, getAllowedSourceTypes, getAllowedTargetTypes, getBaseType, getDescription, getDisplayName, getInternalParentType, getOwnedPropertyDefinitions, getParentType, getPropertyDefinitions, getQueryName, getSubTypes, getTypeId, hashCode, isControllableACL, isControllablePolicy, isCreatable, isFullTextIndexed, isIncludedInSuperTypeQuery, isPublic, isQueryable |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
fileable
protected boolean fileable
contentStreamAllowed
protected CMISContentStreamAllowedEnum contentStreamAllowed
CMISDocumentTypeDefinition
public CMISDocumentTypeDefinition(CMISMapping cmisMapping,
CMISTypeId typeId,
org.alfresco.service.cmr.dictionary.ClassDefinition cmisClassDef)
- Construct
- Parameters:
cmisMapping
- typeId
- cmisClassDef
-
isFileable
public boolean isFileable()
- Are objects of this type fileable?
- Specified by:
isFileable
in interface CMISTypeDefinition
- Overrides:
isFileable
in class CMISAbstractTypeDefinition
- Returns:
isVersionable
public boolean isVersionable()
- Is this type versionable? If true this implies all instances of the type are versionable.
- Specified by:
isVersionable
in interface CMISTypeDefinition
- Overrides:
isVersionable
in class CMISAbstractTypeDefinition
- Returns:
- true if versionable
getContentStreamAllowed
public CMISContentStreamAllowedEnum getContentStreamAllowed()
- Is a content stream allowed for this type? It may be disallowed, optional or mandatory.
- Specified by:
getContentStreamAllowed
in interface CMISTypeDefinition
- Overrides:
getContentStreamAllowed
in class CMISAbstractTypeDefinition
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.