com.trackstudio.secured
Class SecuredUDFBean

java.lang.Object
  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  boolean lookuponly
           
protected  java.lang.String lookupscriptId
           
protected  java.lang.Integer order
           
protected  boolean required
           
protected  java.lang.String scriptId
           
protected  java.lang.Integer type
           
protected  java.lang.String udfId
           
protected  java.lang.String udfSourceId
           
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
SecuredUDFBean()
           
SecuredUDFBean(UDFCacheItem u, SessionContext sc)
           
 
Method Summary
abstract  boolean canUpdate()
           
 int compareTo(java.lang.Object o)
           
 boolean getCanUpdate()
           
 java.lang.String getCaption()
           
 java.lang.String getCaptionEx()
           
 java.lang.String getDefault()
           
 java.lang.String getId()
           
 java.lang.String getInitial()
           
 SecuredScriptBean getLookupscript()
           
 java.lang.Object getLookupscriptCalc(Secured o)
           
 java.lang.String getLookupscriptId()
           
 java.lang.Integer getOrder()
           
 SecuredScriptBean getScript()
           
 java.lang.String getScriptId()
           
 UdfBean getSOAP()
           
 java.lang.Integer getType()
           
 java.lang.String getUdfId()
           
 java.util.ArrayList getUdflist()
           
 java.lang.String getUdfSourceId()
           
 java.util.HashMap 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)
           
 
Methods inherited from class com.trackstudio.secured.Secured
canView, compare, equals, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

udfId

protected java.lang.String udfId

caption

protected java.lang.String caption

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

scriptId

protected java.lang.String scriptId

lookupscriptId

protected java.lang.String lookupscriptId

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)

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()

getDefault

public java.lang.String getDefault()
                            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 java.lang.Object getLookupscriptCalc(Secured o)

getScript

public SecuredScriptBean getScript()
                            throws GranException
Throws:
GranException

getScriptId

public java.lang.String getScriptId()

getLookupscript

public SecuredScriptBean getLookupscript()
                                  throws GranException
Throws:
GranException

getLookupscriptId

public java.lang.String getLookupscriptId()

compareTo

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

getUL

public java.util.HashMap getUL()
                        throws GranException
Throws:
GranException

getUdflist

public java.util.ArrayList getUdflist()
                               throws GranException
Throws:
GranException

getULString

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

getSOAP

public UdfBean getSOAP()
                throws GranException
Throws:
GranException

canUpdate

public abstract boolean canUpdate()
                           throws GranException
Specified by:
canUpdate in class Secured
Throws:
GranException

getCanUpdate

public boolean getCanUpdate()
                     throws GranException
Overrides:
getCanUpdate in class Secured
Throws:
GranException

isLookuponly

public boolean isLookuponly()

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-2008 TrackStudio, Ltd. All Rights Reserved.