com.webmethods.caf.faces.data.csp
Class CSPIndexUtil

java.lang.Object
  extended by com.webmethods.caf.faces.data.csp.CSPIndexUtil

public class CSPIndexUtil
extends Object


Field Summary
static String DEFAULT_SERVER_DATE_FORMAT
           
static String DEFAULT_USER_DATE_FORMAT
           
 
Constructor Summary
CSPIndexUtil()
           
 
Method Summary
static Date getDateValue(CSPIndex index)
           
static Object getDefaultValue(CSPIndex index)
           
static Object getFormatedValue(CSPIndex index, String dateFormat)
           
static Object getValue(CSPIndex index)
           
static boolean isDateGuiType(CSPIndex index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_USER_DATE_FORMAT

public static final String DEFAULT_USER_DATE_FORMAT
See Also:
Constant Field Values

DEFAULT_SERVER_DATE_FORMAT

public static final String DEFAULT_SERVER_DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

CSPIndexUtil

public CSPIndexUtil()
Method Detail

isDateGuiType

public static boolean isDateGuiType(CSPIndex index)

getFormatedValue

public static Object getFormatedValue(CSPIndex index,
                                      String dateFormat)
                               throws ParseException
Throws:
ParseException

getDateValue

public static Date getDateValue(CSPIndex index)
                         throws ParseException
Throws:
ParseException

getValue

public static Object getValue(CSPIndex index)
                       throws ParseException
Throws:
ParseException

getDefaultValue

public static Object getDefaultValue(CSPIndex index)