org.alfresco.cmis.mapping
Class ContentStreamMimetypeProperty

java.lang.Object
  extended by org.alfresco.cmis.mapping.AbstractProperty
      extended by org.alfresco.cmis.mapping.AbstractSimpleProperty
          extended by 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


Constructor Summary
ContentStreamMimetypeProperty(ServiceRegistry serviceRegistry)
          Construct
 
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 org.alfresco.cmis.mapping.AbstractProperty
getMappedProperty, getName, getServiceRegistry, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentStreamMimetypeProperty

public ContentStreamMimetypeProperty(ServiceRegistry serviceRegistry)
Construct

Parameters:
serviceRegistry -
Method Detail

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.