public class AlfrescoFunctionEvaluationContext extends Object implements FunctionEvaluationContext
| Constructor and Description |
|---|
AlfrescoFunctionEvaluationContext(NamespacePrefixResolver namespacePrefixResolver,
DictionaryService dictionaryService,
String defaultNamespace) |
public AlfrescoFunctionEvaluationContext(NamespacePrefixResolver namespacePrefixResolver, DictionaryService dictionaryService, String defaultNamespace)
namespacePrefixResolver - dictionaryService - defaultNamespace - public <Q,S,E extends Throwable> Q buildLuceneEquality(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneEquality in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneExists(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Boolean not) throws E extends Throwable
FunctionEvaluationContextbuildLuceneExists in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneGreaterThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneGreaterThan in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneGreaterThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneGreaterThanOrEquals in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneIn(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Collection<Serializable> values, Boolean not, PredicateMode mode) throws E extends Throwable
FunctionEvaluationContextbuildLuceneIn in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneInequality(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneInequality in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneLessThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneLessThan in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneLessThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
buildLuceneLessThanOrEquals in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> Q buildLuceneLike(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, Boolean not) throws E extends Throwable
FunctionEvaluationContextbuildLuceneLike in interface FunctionEvaluationContextE extends Throwablepublic <Q,S,E extends Throwable> String getLuceneSortField(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName) throws E extends Throwable
getLuceneSortField in interface FunctionEvaluationContextEE extends Throwablepublic Map<String,NodeRef> getNodeRefs()
getNodeRefs in interface FunctionEvaluationContextpublic NodeService getNodeService()
getNodeService in interface FunctionEvaluationContextpublic Serializable getProperty(NodeRef nodeRef, String propertyName)
FunctionEvaluationContextgetProperty in interface FunctionEvaluationContextpublic Float getScore()
getScore in interface FunctionEvaluationContextpublic Map<String,Float> getScores()
getScores in interface FunctionEvaluationContextpublic boolean isObjectId(String propertyName)
isObjectId in interface FunctionEvaluationContextpublic boolean isOrderable(String fieldName)
isOrderable in interface FunctionEvaluationContextpublic boolean isQueryable(String fieldName)
isQueryable in interface FunctionEvaluationContextpublic String getLuceneFieldName(String propertyName)
getLuceneFieldName in interface FunctionEvaluationContextpublic LuceneFunction getLuceneFunction(FunctionArgument functionArgument)
getLuceneFunction in interface FunctionEvaluationContextpublic void checkFieldApplies(Selector selector, String propertyName)
checkFieldApplies in interface FunctionEvaluationContextpublic boolean isMultiValued(String propertyName)
FunctionEvaluationContextisMultiValued in interface FunctionEvaluationContextpublic String getAlfrescoPropertyName(String propertyName)
getAlfrescoPropertyName in interface FunctionEvaluationContextpublic String getAlfrescoTypeName(String typeName)
getAlfrescoTypeName in interface FunctionEvaluationContextCopyright © 2005–2014 Alfresco Software. All rights reserved.