gran.app.adapter.kernel.udf
Class UDFValue

java.lang.Object
  extended bygran.app.adapter.kernel.udf.UDFValue
All Implemented Interfaces:
java.lang.Comparable

public class UDFValue
extends java.lang.Object
implements java.lang.Comparable

View for Udfval А почему UDFValue не секурное целиком. Ведь в него же передаются Secured-компоненты?


Field Summary
static int DATE
           
static int FLOAT
           
static int INTEGER
           
static int LIST
           
static int MEMO
           
static int STRING
           
 
Constructor Summary
UDFValue(Udf ud)
           
UDFValue(Udfval val)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
          Checks equality by UDF
 java.lang.String findListByValue(java.lang.Object t)
           
 Customizer getCustomizer(java.lang.String timezone, java.lang.String locale, java.lang.String sortcolumn, boolean disabled)
           
 java.lang.String getInput(SessionContext sc, Secured o, boolean required, java.lang.String contextPath, java.lang.String schemePath)
           
 java.lang.String getList(Secured o)
           
 java.lang.String getLocalizedString(SessionContext sc, java.lang.Object va)
           
 Udf getUdf()
           
protected  Udfval getUdfvalue()
           
 java.lang.Object getValue(Secured o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final int STRING
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

LIST

public static final int LIST
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

MEMO

public static final int MEMO
See Also:
Constant Field Values
Constructor Detail

UDFValue

public UDFValue(Udfval val)

UDFValue

public UDFValue(Udf ud)
Method Detail

getUdfvalue

protected Udfval getUdfvalue()

getLocalizedString

public java.lang.String getLocalizedString(SessionContext sc,
                                           java.lang.Object va)
                                    throws GranException
Throws:
GranException

getValue

public java.lang.Object getValue(Secured o)
                          throws GranException
Parameters:
o -
Returns:
Can return null
Throws:
GranException

getList

public java.lang.String getList(Secured o)
                         throws GranException
Throws:
GranException

findListByValue

public java.lang.String findListByValue(java.lang.Object t)
                                 throws GranException
Throws:
GranException

getUdf

public Udf getUdf()

getInput

public java.lang.String getInput(SessionContext sc,
                                 Secured o,
                                 boolean required,
                                 java.lang.String contextPath,
                                 java.lang.String schemePath)
                          throws GranException
Throws:
GranException

getCustomizer

public Customizer getCustomizer(java.lang.String timezone,
                                java.lang.String locale,
                                java.lang.String sortcolumn,
                                boolean disabled)
                         throws GranException
Throws:
GranException

equals

public boolean equals(java.lang.Object o)
Checks equality by UDF

Parameters:
o - another UDFValue object
Returns:
true if this UDFValue has same UDF as param

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


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