|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredUDFValueBean
public class SecuredUDFValueBean
Bean which represents custom field value
Field Summary | |
---|---|
protected Secured |
secured
|
protected SecuredUDFBean |
udf
|
Fields inherited from class com.trackstudio.secured.Secured |
---|
sc |
Fields inherited from class com.trackstudio.tools.PropertyComparable |
---|
container |
Constructor Summary | |
---|---|
SecuredUDFValueBean(UdfValue udfValue_,
Secured secured_)
|
Method Summary | |
---|---|
boolean |
canManage()
Проверяет доступ к бину. |
boolean |
canView()
|
int |
compareTo(java.lang.Object o)
Сравнивает два объекта текущего класса |
boolean |
equals(java.lang.Object o)
Сравнивает два обхекта текущего класса |
java.lang.String |
getCaption()
|
java.lang.String |
getCaptionEx()
|
protected PropertyContainer |
getContainer()
Возвращает контейнер свойств |
Customizer |
getCustomizer(java.lang.String sort,
boolean dis)
|
java.lang.String |
getId()
|
java.util.List |
getList()
|
java.lang.Object |
getList(Secured o)
Deprecated. Это legacy-метод, оставленный для совместимости с уже написанными для 3.5 скриптами |
boolean |
getLookupOnly()
|
java.lang.String |
getReferencedByCaption()
|
UdfValueBean |
getSOAP()
|
java.lang.String |
getType()
|
SecuredUDFBean |
getUdf()
|
java.lang.String |
getUdfId()
|
java.util.HashMap |
getUdflist()
|
java.lang.Integer |
getUdfType()
|
java.lang.String |
getValString()
|
java.lang.Object |
getValue()
Метод возвращает значение UDF Типы UDF/ возвращаемые типы 0 STRING 'string' String 1 FLOAT 'float' Double 2 DATE 'date' Calendar 3 LIST 'list' Pair ключ/значение. |
java.lang.Object |
getValue(Secured sec)
Deprecated. Это legacy-метод, оставленный для совместимости с уже написанными для 3.5 скриптами |
boolean |
isAllowedByACL()
|
boolean |
isCalculated()
|
boolean |
isEmptyDefault()
|
boolean |
isEmptyList()
|
boolean |
isEmptyValue()
|
boolean |
isHtmlview()
|
boolean |
isLookup()
|
boolean |
isLookupOnly()
|
boolean |
isNewTaskUdfEditable(java.lang.String objectId,
java.lang.String statusId,
java.lang.String submiter,
java.lang.String handler)
|
boolean |
isRequired()
|
boolean |
isScriptException()
|
boolean |
isTaskUdfEditable(java.lang.String objectId)
|
boolean |
isTaskUdfEditable(java.lang.String objectId,
java.lang.String statusId)
|
boolean |
isUserUdfEditable(java.lang.String objectId)
|
void |
setScriptException(boolean scriptException)
|
Methods inherited from class com.trackstudio.secured.Secured |
---|
canUpdate, getCanManage, getCanUpdate, getSecure |
Methods inherited from class com.trackstudio.tools.PropertyComparable |
---|
compareToIgnoreCase, compareToIgnoreCase, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Secured secured
protected SecuredUDFBean udf
Constructor Detail |
---|
public SecuredUDFValueBean(UdfValue udfValue_, Secured secured_)
Method Detail |
---|
public boolean isScriptException()
public void setScriptException(boolean scriptException)
public boolean isTaskUdfEditable(java.lang.String objectId) throws GranException
GranException
public boolean isTaskUdfEditable(java.lang.String objectId, java.lang.String statusId) throws GranException
GranException
public boolean isNewTaskUdfEditable(java.lang.String objectId, java.lang.String statusId, java.lang.String submiter, java.lang.String handler) throws GranException
GranException
public boolean isUserUdfEditable(java.lang.String objectId) throws GranException
GranException
public java.lang.String getUdfId()
public java.lang.Integer getUdfType()
public java.lang.Object getValue() throws GranException
GranException
- при необходимостиpublic java.lang.String getValString() throws GranException
GranException
public java.lang.Object getValue(Secured sec) throws GranException
sec
- сессия пользователя
GranException
- при необходимостиpublic java.util.List getList() throws GranException
GranException
public java.lang.Object getList(Secured o) throws GranException
o
- сессия пользователя
GranException
- при необходимостиpublic java.lang.String getCaption()
public java.lang.String getReferencedByCaption()
public java.lang.String getCaptionEx()
public boolean isCalculated()
public boolean isLookup()
public boolean isLookupOnly()
public boolean getLookupOnly()
public java.lang.String getId()
getId
in class Secured
public boolean isAllowedByACL() throws GranException
isAllowedByACL
in class Secured
GranException
public boolean canManage() throws GranException
Secured
canManage
in class Secured
GranException
- при необходимостиpublic boolean canView() throws GranException
canView
in class Secured
GranException
public Customizer getCustomizer(java.lang.String sort, boolean dis) throws GranException
GranException
public java.util.HashMap getUdflist() throws GranException
GranException
public boolean isRequired() throws GranException
GranException
public boolean isEmptyDefault() throws GranException
GranException
public boolean isEmptyValue() throws GranException
GranException
public boolean isEmptyList() throws GranException
GranException
public boolean isHtmlview() throws GranException
GranException
public boolean equals(java.lang.Object o)
PropertyComparable
equals
in class PropertyComparable
o
- Скравниваемый обхект
public int compareTo(java.lang.Object o)
PropertyComparable
compareTo
in interface java.lang.Comparable
compareTo
in class PropertyComparable
o
- Сравниваемый обхект
protected PropertyContainer getContainer()
PropertyComparable
getContainer
in class PropertyComparable
public java.lang.String getType()
public SecuredUDFBean getUdf() throws GranException
GranException
public UdfValueBean getSOAP() throws GranException
GranException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |