|
|||||||||
| 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.AbstractLuceneQueryParser 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()
|
protected java.lang.String |
getRangeMax()
|
protected java.lang.String |
getRangeMin()
|
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 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 |
| 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 |
|---|
protected java.lang.String getRangeMax()
getRangeMax in class AbstractSimplePropertyprotected java.lang.String getRangeMin()
getRangeMin in class AbstractSimplePropertypublic java.lang.String getLuceneSortField(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp)
getLuceneSortField in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuildergetLuceneSortField in class AbstractSimplePropertypublic 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 org.alfresco.opencmis.dictionary.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 | ||||||||