|
|||||||||
| 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,
QName alfrescoName)
Construct |
|
| Method Summary | |
|---|---|
protected DataTypeDefinition |
getInDataType()
|
java.lang.String |
getLuceneFieldName()
|
java.lang.String |
getLuceneSortField(LuceneQueryParser lqp)
|
QName |
getMappedProperty()
Get the (directly) mapped Alfresco property (if a direct mapping exists) |
protected QName |
getQNameForExists()
|
java.io.Serializable |
getValue(AssociationRef assocRef)
Get the property value for an association |
java.io.Serializable |
getValue(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,
QName alfrescoName)
serviceRegistry - propertyName - alfrescoName - | Method Detail |
|---|
public java.lang.String getLuceneSortField(LuceneQueryParser lqp)
getLuceneSortField in interface CMISPropertyLuceneBuildergetLuceneSortField in class AbstractSimplePropertylqp - TODO
public QName getMappedProperty()
CMISPropertyAccessor
getMappedProperty in interface CMISPropertyAccessorgetMappedProperty in class AbstractPropertypublic java.io.Serializable getValue(NodeRef nodeRef)
CMISPropertyAccessor
getValue in interface CMISPropertyAccessorgetValue in class AbstractPropertypublic java.io.Serializable getValue(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 QName getQNameForExists()
getQNameForExists in class AbstractSimplePropertyprotected DataTypeDefinition getInDataType()
getInDataType in class AbstractSimpleProperty
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||