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 |
|---|---|
void |
clearCalculatedCache()
This method clears udf cache
|
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()
������������������ ���������
|
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.String |
getTaskId()
This method gets task id where udf is wired
|
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.String |
getUserId()
This method return user id where udf is wired
|
java.lang.Object |
getValue(Secured o)
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 |
setCaptionReference(java.lang.String captionReference)
This method gets caption reference for user udf
|
void |
setLookupOnly(boolean lookupOnly)
This method sets to be used lookup script
|
void |
setScript(java.lang.String plugin)
This method sets script name for udf
|
void |
setValue(UdfvalCacheItem val)
This method sets udf value
|
void |
setValueContainer(GenericValue valueContainer)
This method sets general value
|
java.lang.String |
toString() |
protected 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 boolean lookupOnly
public UdfValue(UDFCacheItem ud) throws GranException
ud - Udf CacheGranException - for necessarypublic java.lang.String getUdfScript()
public java.lang.String getCaptionReference()
public void setCaptionReference(java.lang.String captionReference)
captionReference - �������� ���������public java.lang.String getTaskId()
public java.lang.String getUserId()
public void setValue(UdfvalCacheItem val) throws GranException
val - udf valueGranException - for necessarypublic void setScript(java.lang.String plugin)
plugin - scriptpublic 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 o) throws GranException
o - Udf valueGranException - for necessarypublic void clearCalculatedCache()
public 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 void setLookupOnly(boolean lookupOnly)
lookupOnly - true - be used, false - not be usedpublic 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.