public class UUIDSupport extends java.lang.Object implements DBQueryBuilderComponent
| Constructor and Description |
|---|
UUIDSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildJoins(java.util.Map singleJoins,
java.util.List multiJoins)
Build the Set of required joins
Assign join aliases and link them up to each component where required
|
void |
buildPredicateCommands(java.util.List predicatePartCommands)
Add to the list of commands used to build the SQL predicate
|
boolean |
isSupported()
Is this component supported in a DB query?
|
void |
prepare(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
QNameDAO qnameDAO,
NodeDAO nodeDAO,
org.alfresco.repo.tenant.TenantService tenantService,
java.util.Set selectors,
java.util.Map functionArgs,
org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext)
Use the dictionary to expand any terms, deal with multi-valued properties, etc
Use the QNameDAO to look up any ids
|
void |
setCommandType(DBQueryBuilderPredicatePartCommandType commandType) |
void |
setLeftOuter(boolean leftOuter) |
void |
setUuid(java.lang.String uuid) |
void |
setUuids(java.lang.String[] uuids) |
public void setUuid(java.lang.String uuid)
uud - the uud to setpublic void setUuids(java.lang.String[] uuids)
public void setCommandType(DBQueryBuilderPredicatePartCommandType commandType)
commandType - the commandType to setpublic boolean isSupported()
DBQueryBuilderComponentisSupported in interface DBQueryBuilderComponentpublic void prepare(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
QNameDAO qnameDAO,
NodeDAO nodeDAO,
org.alfresco.repo.tenant.TenantService tenantService,
java.util.Set selectors,
java.util.Map functionArgs,
org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext)
DBQueryBuilderComponentprepare in interface DBQueryBuilderComponentpublic void buildJoins(java.util.Map singleJoins,
java.util.List multiJoins)
DBQueryBuilderComponentbuildJoins in interface DBQueryBuilderComponentpublic void buildPredicateCommands(java.util.List predicatePartCommands)
DBQueryBuilderComponentbuildPredicateCommands in interface DBQueryBuilderComponentpublic void setLeftOuter(boolean leftOuter)
leftOuter - Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.