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, 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.LuceneQueryParser 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.LuceneQueryParser lqp, java.lang.Boolean not)
           
 org.apache.lucene.search.Query buildLuceneIn(org.alfresco.repo.search.impl.lucene.LuceneQueryParser 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.LuceneQueryParser 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
 
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

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.LuceneQueryParser 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 CMISPropertyLuceneBuilder
Overrides:
buildLuceneEquality in class AbstractProperty
Returns:
the query
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneInequality

public org.apache.lucene.search.Query buildLuceneInequality(org.alfresco.repo.search.impl.lucene.LuceneQueryParser 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 CMISPropertyLuceneBuilder
Overrides:
buildLuceneInequality in class AbstractProperty
Returns:
the query
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneIn

public org.apache.lucene.search.Query buildLuceneIn(org.alfresco.repo.search.impl.lucene.LuceneQueryParser 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 CMISPropertyLuceneBuilder
Overrides:
buildLuceneIn in class AbstractProperty
Returns:
the query
Throws:
org.apache.lucene.queryParser.ParseException

buildLuceneExists

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


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