@ThreadSafe
public class UdfValue
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UdfValue.TimeCapsula
This class is used for work with time entity
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DATE
Date
|
static int |
FLOAT
Float
|
static int |
INTEGER
Integer
|
static int |
LIST
List
|
protected boolean |
lookupOnly
This field points that udf uses only lookup scripts
|
static int |
MEMO
Memo
|
static int |
MULTILIST
Multilist
|
static int |
STRING
String
|
static int |
TASK
Task
|
static int |
TOTAL_STANDESR_FIELDS |
static int |
URL
Url
|
static int |
USER
User
|
protected GenericValue |
valueContainer
This instance has general data about udf value
|
| Constructor and Description |
|---|
UdfValue(UDFCacheItem ud)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
This method equals two objects
|
java.lang.String |
getCaption()
This method gets caption for udf
|
java.lang.String |
getCaptionReference()
This method returns captions which consists from name of udf and name of workflow
|
java.lang.String |
getCaptionWorkflow()
This method gets caption of workflow if udf is wired to workflow
|
Customizer |
getCustomizer(java.lang.String timezone,
java.lang.String locale,
java.lang.String sortcolumn,
boolean disabled)
This method gets udf form.
|
java.util.List<Pair> |
getList()
This method gets list for udf type of list
|
boolean |
getLookupOnly()
This method gets info about to be used lookup script or not
|
java.lang.Integer |
getOrder()
This method gets order
|
java.lang.Integer |
getType()
This method gets type of udf
|
java.lang.String |
getUdfId()
This method gets udf ID
|
java.lang.String |
getUdfLookupScript()
This method gets name of lookup script
|
java.lang.String |
getUdfScript()
This method gets name of script
|
java.lang.Object |
getValue(Secured securedTaskOrUserBean)
This method gets udf value.
|
GenericValue |
getValueContainer()
This method gets general value
|
boolean |
isHtmlview()
This method gets info about html view of udf
|
boolean |
isLookupOnly()
This method gets info about to be used lookup script or not
|
boolean |
isRequired()
This method checks if udf is required
|
void |
setValue(UdfvalCacheItem val)
This method sets udf value
|
void |
setValueContainer(GenericValue valueContainer)
This method sets general value
|
java.lang.String |
toString() |
protected volatile GenericValue valueContainer
public static final int STRING
public static final int FLOAT
public static final int DATE
public static final int LIST
public static final int MULTILIST
public static final int TASK
public static final int USER
public static final int INTEGER
public static final int MEMO
public static final int URL
public static final int TOTAL_STANDESR_FIELDS
protected final boolean lookupOnly
public UdfValue(UDFCacheItem ud) throws GranException
ud - Udf CacheGranException - for necessarypublic java.lang.String getUdfScript()
public java.lang.String getCaptionReference()
public void setValue(UdfvalCacheItem val) throws GranException
val - udf valueGranException - for necessarypublic java.lang.String getUdfId()
public java.lang.Integer getType()
public java.lang.String getCaption()
public java.lang.String getCaptionWorkflow()
throws GranException
GranException - for necessarypublic java.lang.Integer getOrder()
public boolean isRequired()
public boolean isHtmlview()
public java.lang.Object getValue(Secured securedTaskOrUserBean) throws GranException
securedTaskOrUserBean - Udf valueGranException - for necessarypublic java.util.List<Pair> getList() throws GranException
GranException - for necessarypublic Customizer getCustomizer(java.lang.String timezone, java.lang.String locale, java.lang.String sortcolumn, boolean disabled) throws GranException
timezone - timezonelocale - localesortcolumn - order of columndisabled - show field or notGranException - for necessarypublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - compared objectpublic java.lang.String getUdfLookupScript()
public boolean isLookupOnly()
public boolean getLookupOnly()
public GenericValue getValueContainer()
public void setValueContainer(GenericValue valueContainer)
valueContainer - general valuepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.