org.alfresco.repo.search.impl.querymodel.impl.functions
Class FTSProximity

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
      extended by org.alfresco.repo.search.impl.querymodel.impl.functions.FTSProximity
All Implemented Interfaces:
Function
Direct Known Subclasses:
LuceneFTSProximity

public class FTSProximity
extends BaseFunction


Field Summary
static java.lang.String ARG_FIRST
           
static java.lang.String ARG_LAST
           
static java.lang.String ARG_PROPERTY
           
static java.lang.String ARG_SLOP
           
static java.util.LinkedHashMap args
           
static java.lang.String NAME
           
 
Constructor Summary
FTSProximity()
           
 
Method Summary
 java.io.Serializable getValue(java.util.Map args, FunctionEvaluationContext context)
          Evaluation a function
 
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
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

ARG_FIRST

public static final java.lang.String ARG_FIRST
See Also:
Constant Field Values

ARG_LAST

public static final java.lang.String ARG_LAST
See Also:
Constant Field Values

ARG_PROPERTY

public static final java.lang.String ARG_PROPERTY
See Also:
Constant Field Values

ARG_SLOP

public static final java.lang.String ARG_SLOP
See Also:
Constant Field Values

args

public static java.util.LinkedHashMap args
Constructor Detail

FTSProximity

public FTSProximity()
Parameters:
name -
returnType -
argumentDefinitions -
Method Detail

getValue

public java.io.Serializable getValue(java.util.Map args,
                                     FunctionEvaluationContext context)
Description copied from interface: Function
Evaluation a function

Returns:


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