|
|||||||||
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 AbstractSimpleProperty
protected java.lang.String getRangeMin()
getRangeMin
in class AbstractSimpleProperty
public java.lang.String getLuceneSortField(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp)
getLuceneSortField
in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
getLuceneSortField
in class AbstractSimpleProperty
public org.alfresco.service.namespace.QName getMappedProperty()
CMISPropertyAccessor
getMappedProperty
in interface CMISPropertyAccessor
getMappedProperty
in class AbstractProperty
public java.io.Serializable getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
CMISPropertyAccessor
getValue
in interface CMISPropertyAccessor
getValue
in class AbstractProperty
public java.io.Serializable getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
CMISPropertyAccessor
getValue
in interface CMISPropertyAccessor
getValue
in class AbstractProperty
public java.lang.String getLuceneFieldName()
getLuceneFieldName
in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
getLuceneFieldName
in class AbstractProperty
protected java.lang.String getValueAsString(java.io.Serializable value)
getValueAsString
in class AbstractSimpleProperty
protected org.alfresco.service.namespace.QName getQNameForExists()
getQNameForExists
in class AbstractSimpleProperty
protected 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 |