|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.cmis.mapping.AbstractProperty
org.alfresco.cmis.mapping.AbstractSimpleProperty
org.alfresco.cmis.mapping.DirectProperty
public class DirectProperty
A simple 1-1 property mapping from a CMIS property name to an alfresco property
| Constructor Summary | |
|---|---|
DirectProperty(ServiceRegistry serviceRegistry,
java.lang.String propertyName,
org.alfresco.service.namespace.QName alfrescoName)
Construct |
|
| Method Summary | |
|---|---|
protected org.alfresco.service.cmr.dictionary.DataTypeDefinition |
getInDataType()
|
java.lang.String |
getLuceneFieldName()
|
java.lang.String |
getLuceneSortField(org.alfresco.repo.search.impl.lucene.LuceneQueryParser lqp)
|
org.alfresco.service.namespace.QName |
getMappedProperty()
Get the (directly) mapped Alfresco property (if a direct mapping exists) |
protected org.alfresco.service.namespace.QName |
getQNameForExists()
|
java.io.Serializable |
getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
Get the property value for an association |
java.io.Serializable |
getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the property value for a node |
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, getRangeMax, getRangeMin |
| Methods inherited from class org.alfresco.cmis.mapping.AbstractProperty |
|---|
getName, getServiceRegistry, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectProperty(ServiceRegistry serviceRegistry,
java.lang.String propertyName,
org.alfresco.service.namespace.QName alfrescoName)
serviceRegistry - propertyName - alfrescoName - | Method Detail |
|---|
public java.lang.String getLuceneSortField(org.alfresco.repo.search.impl.lucene.LuceneQueryParser lqp)
getLuceneSortField in interface CMISPropertyLuceneBuildergetLuceneSortField in class AbstractSimplePropertylqp - TODO
public org.alfresco.service.namespace.QName getMappedProperty()
CMISPropertyAccessor
getMappedProperty in interface CMISPropertyAccessorgetMappedProperty in class AbstractPropertypublic java.io.Serializable getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
CMISPropertyAccessor
getValue in interface CMISPropertyAccessorgetValue in class AbstractPropertypublic java.io.Serializable getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
CMISPropertyAccessor
getValue in interface CMISPropertyAccessorgetValue in class AbstractPropertypublic java.lang.String getLuceneFieldName()
getLuceneFieldName in interface CMISPropertyLuceneBuildergetLuceneFieldName in class AbstractPropertyprotected java.lang.String getValueAsString(java.io.Serializable value)
getValueAsString in class AbstractSimplePropertyprotected org.alfresco.service.namespace.QName getQNameForExists()
getQNameForExists in class AbstractSimplePropertyprotected org.alfresco.service.cmr.dictionary.DataTypeDefinition getInDataType()
getInDataType in class AbstractSimpleProperty
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||