org.alfresco.cmis.mapping
Class BaseTypeIdProperty

java.lang.Object
  extended by org.alfresco.cmis.mapping.AbstractProperty
      extended by org.alfresco.cmis.mapping.BaseTypeIdProperty
All Implemented Interfaces:
CMISPropertyAccessor, org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder

public class BaseTypeIdProperty
extends AbstractProperty

Get the CMIS object type id property


Constructor Summary
BaseTypeIdProperty(ServiceRegistry serviceRegistry)
          Construct
 
Method Summary
 org.apache.lucene.search.Query buildLuceneEquality(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp, java.io.Serializable value, org.alfresco.repo.search.impl.querymodel.PredicateMode mode, org.alfresco.repo.search.impl.lucene.LuceneFunction luceneFunction)
           
 org.apache.lucene.search.Query buildLuceneExists(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp, java.lang.Boolean not)
           
 org.apache.lucene.search.Query buildLuceneIn(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp, java.util.Collection values, java.lang.Boolean not, org.alfresco.repo.search.impl.querymodel.PredicateMode mode)
           
 org.apache.lucene.search.Query buildLuceneInequality(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp, java.io.Serializable value, org.alfresco.repo.search.impl.querymodel.PredicateMode mode, org.alfresco.repo.search.impl.lucene.LuceneFunction luceneFunction)
           
 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
 
Methods inherited from class org.alfresco.cmis.mapping.AbstractProperty
buildLuceneGreaterThan, buildLuceneGreaterThanOrEquals, buildLuceneLessThan, buildLuceneLessThanOrEquals, buildLuceneLike, getLuceneFieldName, getLuceneSortField, getMappedProperty, getName, getServiceRegistry, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTypeIdProperty

public BaseTypeIdProperty(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:

getValue

public java.io.Serializable getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
Description copied from interface: CMISPropertyAccessor
Get the property value for an association

Specified by:
getValue in interface CMISPropertyAccessor
Overrides:
getValue in class AbstractProperty
Returns:

buildLuceneEquality

public org.apache.lucene.search.Query buildLuceneEquality(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp,
                                                          java.io.Serializable value,
                                                          org.alfresco.repo.search.impl.querymodel.PredicateMode mode,
                                                          org.alfresco.repo.search.impl.lucene.LuceneFunction luceneFunction)
                                                   throws org.apache.lucene.queryParser.ParseException
Specified by:
buildLuceneEquality in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
Overrides:
buildLuceneEquality in class AbstractProperty
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneInequality

public org.apache.lucene.search.Query buildLuceneInequality(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp,
                                                            java.io.Serializable value,
                                                            org.alfresco.repo.search.impl.querymodel.PredicateMode mode,
                                                            org.alfresco.repo.search.impl.lucene.LuceneFunction luceneFunction)
                                                     throws org.apache.lucene.queryParser.ParseException
Specified by:
buildLuceneInequality in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
Overrides:
buildLuceneInequality in class AbstractProperty
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneIn

public org.apache.lucene.search.Query buildLuceneIn(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp,
                                                    java.util.Collection values,
                                                    java.lang.Boolean not,
                                                    org.alfresco.repo.search.impl.querymodel.PredicateMode mode)
                                             throws org.apache.lucene.queryParser.ParseException
Specified by:
buildLuceneIn in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
Overrides:
buildLuceneIn in class AbstractProperty
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneExists

public org.apache.lucene.search.Query buildLuceneExists(org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser lqp,
                                                        java.lang.Boolean not)
                                                 throws org.apache.lucene.queryParser.ParseException
Specified by:
buildLuceneExists in interface org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder
Overrides:
buildLuceneExists in class AbstractProperty
Throws:
org.apache.lucene.queryParser.ParseException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.