gran.app.filter
Class FValue

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bygran.app.filter.FValue
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
TaskFValue, UserFValue

public abstract class FValue
extends java.util.HashMap
implements java.util.Map, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static java.lang.String AMP
           
static java.lang.String BULKPROCESSINGTOOL
           
static java.lang.String CHILDCOUNT
           
static java.lang.String DELIM
           
static java.lang.String HIDE
           
static java.lang.String ONPAGE
           
static java.lang.String SORTORDER
           
static java.lang.String SUB
           
static java.lang.String UDF
           
static java.lang.String UDF_SORT
           
static java.lang.String USE
          Other constants, not registered
 
Constructor Summary
FValue()
           
 
Method Summary
 java.lang.String get(java.lang.String s)
           
 java.util.ArrayList getList(java.lang.String key)
           
 java.util.Set getUse()
           
abstract  java.util.ArrayList getUseForUdf()
           
 java.util.ArrayList getView()
           
 boolean hasListValue(java.lang.String key, java.lang.String value)
           
 boolean needFilterUDF()
          returns true, if values of the 'list' contains specified String
static java.util.ArrayList parseFilterValue(java.lang.String s)
           
static java.util.ArrayList parseFilterValue(java.lang.String s, java.lang.String delim)
           
 void set(java.lang.String key, java.lang.String value)
           
 void setFilter(javax.servlet.http.HttpServletRequest request)
           
 void setList(java.lang.String key, java.lang.String[] values)
          sets 'list' filter value
 void setUse(java.util.Set use)
           
 java.util.ArrayList toList(java.lang.String prop)
           
 java.util.ArrayList toList(java.lang.String prop, java.lang.String delim)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

SORTORDER

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

ONPAGE

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

UDF

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

UDF_SORT

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

CHILDCOUNT

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

BULKPROCESSINGTOOL

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

USE

public static final java.lang.String USE
Other constants, not registered

See Also:
Constant Field Values

HIDE

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

DELIM

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

AMP

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

SUB

public static final java.lang.String SUB
See Also:
Constant Field Values
Constructor Detail

FValue

public FValue()
Method Detail

get

public java.lang.String get(java.lang.String s)

setFilter

public void setFilter(javax.servlet.http.HttpServletRequest request)
               throws GranException
Throws:
GranException

set

public void set(java.lang.String key,
                java.lang.String value)

setList

public void setList(java.lang.String key,
                    java.lang.String[] values)
sets 'list' filter value


getList

public java.util.ArrayList getList(java.lang.String key)

needFilterUDF

public boolean needFilterUDF()
returns true, if values of the 'list' contains specified String


hasListValue

public boolean hasListValue(java.lang.String key,
                            java.lang.String value)

toList

public java.util.ArrayList toList(java.lang.String prop)

toList

public java.util.ArrayList toList(java.lang.String prop,
                                  java.lang.String delim)

parseFilterValue

public static java.util.ArrayList parseFilterValue(java.lang.String s)

parseFilterValue

public static java.util.ArrayList parseFilterValue(java.lang.String s,
                                                   java.lang.String delim)

getUse

public java.util.Set getUse()

setUse

public void setUse(java.util.Set use)

getView

public java.util.ArrayList getView()

getUseForUdf

public abstract java.util.ArrayList getUseForUdf()


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.