Class DBNotEquals
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseComparison
-
- org.alfresco.repo.search.impl.querymodel.impl.functions.NotEquals
-
- org.alfresco.repo.search.impl.querymodel.impl.db.functions.DBNotEquals
-
- All Implemented Interfaces:
Function,DBQueryBuilderComponent
public class DBNotEquals extends NotEquals implements DBQueryBuilderComponent
- Author:
- Andy
-
-
Constructor Summary
Constructors Constructor Description DBNotEquals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildJoins(Map<QName,DBQueryBuilderJoinCommand> singleJoins, List<DBQueryBuilderJoinCommand> multiJoins)Build the Set of required joins Assign join aliases and link them up to each component where requiredvoidbuildPredicateCommands(List<DBQueryBuilderPredicatePartCommand> predicatePartCommands)Add to the list of commands used to build the SQL predicatebooleanisSupported()Is this component supported in a DB query?voidprepare(NamespaceService namespaceService, DictionaryService dictionaryService, QNameDAO qnameDAO, NodeDAO nodeDAO, TenantService tenantService, Set<String> selectors, Map<String,Argument> functionArgs, FunctionEvaluationContext functionContext, boolean supportBooleanFloatAndDouble)Use the dictionary to expand any terms, deal with multi-valued properties, etc Use the QNameDAO to look up any ids-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.functions.NotEquals
getValue
-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseComparison
getFunctionArgument, getPropertyArgument, getPropertyName, getStaticArgument, getStaticPosition, setPropertyAndStaticArguments
-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
-
-
-
-
Method Detail
-
isSupported
public boolean isSupported()
Description copied from interface:DBQueryBuilderComponentIs this component supported in a DB query?- Specified by:
isSupportedin interfaceDBQueryBuilderComponent- Returns:
- boolean
-
prepare
public void prepare(NamespaceService namespaceService, DictionaryService dictionaryService, QNameDAO qnameDAO, NodeDAO nodeDAO, TenantService tenantService, Set<String> selectors, Map<String,Argument> functionArgs, FunctionEvaluationContext functionContext, boolean supportBooleanFloatAndDouble)
Description copied from interface:DBQueryBuilderComponentUse the dictionary to expand any terms, deal with multi-valued properties, etc Use the QNameDAO to look up any ids- Specified by:
preparein interfaceDBQueryBuilderComponent- Parameters:
namespaceService- NamespaceServicedictionaryService- DictionaryServiceqnameDAO- QNameDAOnodeDAO- NodeDAOtenantService- TenantServicefunctionContext- FunctionEvaluationContext
-
buildJoins
public void buildJoins(Map<QName,DBQueryBuilderJoinCommand> singleJoins, List<DBQueryBuilderJoinCommand> multiJoins)
Description copied from interface:DBQueryBuilderComponentBuild the Set of required joins Assign join aliases and link them up to each component where required- Specified by:
buildJoinsin interfaceDBQueryBuilderComponent
-
buildPredicateCommands
public void buildPredicateCommands(List<DBQueryBuilderPredicatePartCommand> predicatePartCommands)
Description copied from interface:DBQueryBuilderComponentAdd to the list of commands used to build the SQL predicate- Specified by:
buildPredicateCommandsin interfaceDBQueryBuilderComponent
-
-