com.trackstudio.secured
Class SecuredUDFBean

java.lang.Object
  extended by com.trackstudio.tools.PropertyComparable
      extended by com.trackstudio.secured.Secured
          extended by com.trackstudio.secured.SecuredUDFBean
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
SecuredTaskUDFBean, SecuredUserUDFBean, SecuredWorkflowUDFBean

public abstract class SecuredUDFBean
extends Secured

Bean which represents custom field


Field Summary
protected  boolean cachevalues
           
protected  java.lang.String caption
           
protected  java.lang.String captionEx
           
protected  java.lang.String def
           
protected  boolean htmlview
           
protected  java.lang.String initial
           
protected static org.apache.commons.logging.Log log
           
protected  boolean lookuponly
           
protected  java.lang.String lookupscript
           
protected  java.lang.Integer order
           
protected  java.lang.String referencedbycaption
           
protected  boolean required
           
protected  java.lang.String script
           
protected  java.lang.Integer type
           
protected  java.lang.String udfId
           
protected  java.lang.String udfSourceId
           
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Fields inherited from class com.trackstudio.tools.PropertyComparable
container
 
Constructor Summary
SecuredUDFBean()
           
SecuredUDFBean(UDFCacheItem u, SessionContext sc)
           
 
Method Summary
 java.lang.String getCaption()
           
 java.lang.String getCaptionEx()
           
protected  PropertyContainer getContainer()
          Возвращает контейнер свойств
 java.lang.String getDefaultUDF()
           
 java.lang.String getId()
           
 java.lang.String getInitial()
           
 boolean getLookuponly()
           
 java.lang.String getLookupscript()
           
abstract  java.lang.Object getLookupscriptCalc(Secured o)
           
 java.lang.Integer getOrder()
           
 java.lang.String getReferencedbycaption()
           
 java.lang.String getScript()
           
 UdfBean getSOAP()
           
 java.lang.Integer getType()
           
 java.lang.String getUdfId()
           
 java.util.ArrayList<java.lang.String> getUdflist()
           
 java.lang.String getUdfSourceId()
           
 java.util.HashMap<java.lang.String,java.lang.String> getUL()
           
 java.lang.String getULString()
           
protected  void init(UDFCacheItem u)
           
 boolean isCachevalues()
           
 boolean isHtmlview()
           
 boolean isLookuponly()
           
 boolean isRequired()
           
 void setCachevalues(boolean cachevalues)
           
 void setInitial(java.lang.String initial)
           
 void setLookuponly(boolean lookuponly)
           
 void setReferencedbycaption(java.lang.String referencedbycaption)
           
 
Methods inherited from class com.trackstudio.secured.Secured
canManage, canUpdate, canView, getCanManage, getCanUpdate, getSecure, isAllowedByACL
 
Methods inherited from class com.trackstudio.tools.PropertyComparable
compareTo, compareToIgnoreCase, compareToIgnoreCase, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

udfId

protected java.lang.String udfId

caption

protected java.lang.String caption

referencedbycaption

protected java.lang.String referencedbycaption

captionEx

protected java.lang.String captionEx

order

protected java.lang.Integer order

def

protected java.lang.String def

udfSourceId

protected java.lang.String udfSourceId

required

protected boolean required

htmlview

protected boolean htmlview

type

protected java.lang.Integer type

script

protected java.lang.String script

lookupscript

protected java.lang.String lookupscript

lookuponly

protected boolean lookuponly

cachevalues

protected boolean cachevalues

initial

protected java.lang.String initial
Constructor Detail

SecuredUDFBean

public SecuredUDFBean()

SecuredUDFBean

public SecuredUDFBean(UDFCacheItem u,
                      SessionContext sc)
Method Detail

init

protected void init(UDFCacheItem u)

getReferencedbycaption

public java.lang.String getReferencedbycaption()

setReferencedbycaption

public void setReferencedbycaption(java.lang.String referencedbycaption)

getId

public java.lang.String getId()
Specified by:
getId in class Secured

getCaption

public java.lang.String getCaption()

getCaptionEx

public java.lang.String getCaptionEx()

getOrder

public java.lang.Integer getOrder()

getDefaultUDF

public java.lang.String getDefaultUDF()
                               throws GranException
Throws:
GranException

isRequired

public boolean isRequired()

isHtmlview

public boolean isHtmlview()

getType

public java.lang.Integer getType()

getUdfSourceId

public java.lang.String getUdfSourceId()

getUdfId

public java.lang.String getUdfId()

getLookupscriptCalc

public abstract java.lang.Object getLookupscriptCalc(Secured o)
                                              throws GranException
Throws:
GranException

getScript

public java.lang.String getScript()

getLookupscript

public java.lang.String getLookupscript()

getContainer

protected PropertyContainer getContainer()
Description copied from class: PropertyComparable
Возвращает контейнер свойств

Specified by:
getContainer in class PropertyComparable
Returns:
контейнер свойств

getUL

public java.util.HashMap<java.lang.String,java.lang.String> getUL()
                                                           throws GranException
Throws:
GranException

getUdflist

public java.util.ArrayList<java.lang.String> getUdflist()
                                                 throws GranException
Throws:
GranException

getULString

public java.lang.String getULString()
                             throws GranException
Throws:
GranException

getSOAP

public UdfBean getSOAP()
                throws GranException
Throws:
GranException

isLookuponly

public boolean isLookuponly()

getLookuponly

public boolean getLookuponly()

setLookuponly

public void setLookuponly(boolean lookuponly)

isCachevalues

public boolean isCachevalues()

setCachevalues

public void setCachevalues(boolean cachevalues)

getInitial

public java.lang.String getInitial()

setInitial

public void setInitial(java.lang.String initial)


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