Class DBFTSWildTerm

  • All Implemented Interfaces:
    org.alfresco.repo.search.impl.querymodel.Function, DBQueryBuilderComponent

    public class DBFTSWildTerm
    extends org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm
    implements DBQueryBuilderComponent
    Author:
    Andy
    • Field Summary

      • Fields inherited from class org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm

        ARG_PROPERTY, ARG_TERM, ARG_TOKENISATION_MODE, args, NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      DBFTSWildTerm()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void buildJoins​(java.util.Map<org.alfresco.service.namespace.QName,​DBQueryBuilderJoinCommand> singleJoins, java.util.List<DBQueryBuilderJoinCommand> multiJoins)
      Build the Set of required joins Assign join aliases and link them up to each component where required
      void buildPredicateCommands​(java.util.List<DBQueryBuilderPredicatePartCommand> 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<java.lang.String> selectors, java.util.Map<java.lang.String,​org.alfresco.repo.search.impl.querymodel.Argument> functionArgs, org.alfresco.repo.search.impl.querymodel.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.FTSWildTerm

        getValue
      • Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction

        getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DBFTSWildTerm

        public DBFTSWildTerm()
    • Method Detail

      • prepare

        public 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<java.lang.String> selectors,
                            java.util.Map<java.lang.String,​org.alfresco.repo.search.impl.querymodel.Argument> functionArgs,
                            org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext,
                            boolean supportBooleanFloatAndDouble)
        Description copied from interface: DBQueryBuilderComponent
        Use the dictionary to expand any terms, deal with multi-valued properties, etc Use the QNameDAO to look up any ids
        Specified by:
        prepare in interface DBQueryBuilderComponent
        Parameters:
        namespaceService - NamespaceService
        dictionaryService - DictionaryService
        qnameDAO - QNameDAO
        nodeDAO - NodeDAO
        tenantService - TenantService
        functionContext - FunctionEvaluationContext