org.alfresco.cmis.mapping
Class ContentStreamMimetypeProperty
java.lang.Object
org.alfresco.cmis.mapping.AbstractProperty
org.alfresco.cmis.mapping.AbstractSimpleProperty
org.alfresco.cmis.mapping.ContentStreamMimetypeProperty
- All Implemented Interfaces:
- CMISPropertyAccessor, org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
public class ContentStreamMimetypeProperty
- extends AbstractSimpleProperty
Accessor for CMIS content stream mimetype property
Method Summary |
protected org.alfresco.service.cmr.dictionary.DataTypeDefinition |
getInDataType()
|
java.lang.String |
getLuceneFieldName()
|
protected org.alfresco.service.namespace.QName |
getQNameForExists()
|
java.io.Serializable |
getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the property value for a node or an association |
protected java.lang.String |
getValueAsString(java.io.Serializable value)
|
Methods inherited from class org.alfresco.cmis.mapping.AbstractSimpleProperty |
buildLuceneEquality, buildLuceneExists, buildLuceneGreaterThan, buildLuceneGreaterThanOrEquals, buildLuceneIn, buildLuceneInequality, buildLuceneLessThan, buildLuceneLessThanOrEquals, buildLuceneLike, getLuceneSortField, getRangeMax, getRangeMin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentStreamMimetypeProperty
public ContentStreamMimetypeProperty(ServiceRegistry serviceRegistry)
- Construct
- Parameters:
serviceRegistry
-
getValue
public java.io.Serializable getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
- Description copied from interface:
CMISPropertyAccessor
- Get the property value for a node or an association
- Specified by:
getValue
in interface CMISPropertyAccessor
- Overrides:
getValue
in class AbstractProperty
- Returns:
getLuceneFieldName
public java.lang.String getLuceneFieldName()
- Specified by:
getLuceneFieldName
in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
- Overrides:
getLuceneFieldName
in class AbstractProperty
getValueAsString
protected java.lang.String getValueAsString(java.io.Serializable value)
- Specified by:
getValueAsString
in class AbstractSimpleProperty
getQNameForExists
protected org.alfresco.service.namespace.QName getQNameForExists()
- Specified by:
getQNameForExists
in class AbstractSimpleProperty
getInDataType
protected org.alfresco.service.cmr.dictionary.DataTypeDefinition getInDataType()
- Specified by:
getInDataType
in class AbstractSimpleProperty
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.