com.trackstudio.secured
Class SecuredUDFValueBean

java.lang.Object
  extended by com.trackstudio.secured.Secured
      extended by com.trackstudio.secured.SecuredUDFValueBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredUDFValueBean
extends Secured

Bean which represents custom field value


Field Summary
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
SecuredUDFValueBean()
           
SecuredUDFValueBean(UdfValue udfValue, SessionContext secure)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String findListByValue(java.lang.Object t)
           
 java.lang.String getCaption()
           
 java.lang.String getCaptionEx()
           
 Customizer getCustomizer(java.lang.String sort, boolean dis)
           
 boolean getEditable()
           
 java.lang.String getEncodeCaption()
           
 java.lang.String getEncodeCaptionEx()
           
 java.lang.String getId()
           
 java.lang.Object getList(Secured o)
           
 UdfValueBean getSOAP()
           
 java.lang.Integer getType()
           
 java.lang.String getUdfId()
           
 java.util.HashMap getUdflist()
           
 java.lang.Integer getUdfType()
           
 java.lang.Object getValue(Secured o)
           
 java.util.Map getValueSet()
           
 boolean isHtmlview()
           
 boolean isNewTaskUdfEditable(java.lang.String objectId, java.lang.String statusId, java.lang.String submiter, java.lang.String handler)
           
 boolean isRequired()
           
 boolean isScript()
           
 boolean isTaskUdfEditable(java.lang.String objectId)
           
 boolean isTaskUdfEditable(java.lang.String objectId, java.lang.String statusId)
           
 boolean isUdfHasLookupScript()
           
 boolean isUserUdfEditable(java.lang.String objectId)
           
 
Methods inherited from class com.trackstudio.secured.Secured
compare, getCanUpdate, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredUDFValueBean

public SecuredUDFValueBean()

SecuredUDFValueBean

public SecuredUDFValueBean(UdfValue udfValue,
                           SessionContext secure)
Method Detail

isTaskUdfEditable

public boolean isTaskUdfEditable(java.lang.String objectId)
                          throws GranException
Throws:
GranException

isNewTaskUdfEditable

public boolean isNewTaskUdfEditable(java.lang.String objectId,
                                    java.lang.String statusId,
                                    java.lang.String submiter,
                                    java.lang.String handler)
                             throws GranException
Throws:
GranException

isTaskUdfEditable

public boolean isTaskUdfEditable(java.lang.String objectId,
                                 java.lang.String statusId)
                          throws GranException
Throws:
GranException

isUserUdfEditable

public boolean isUserUdfEditable(java.lang.String objectId)
                          throws GranException
Throws:
GranException

getEditable

public boolean getEditable()

getValueSet

public java.util.Map getValueSet()

getUdfId

public java.lang.String getUdfId()

getUdfType

public java.lang.Integer getUdfType()

getValue

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

getList

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

findListByValue

public java.lang.String findListByValue(java.lang.Object t)
                                 throws GranException
Throws:
GranException

getCaption

public java.lang.String getCaption()

getCaptionEx

public java.lang.String getCaptionEx()

isScript

public boolean isScript()

isUdfHasLookupScript

public boolean isUdfHasLookupScript()

getEncodeCaption

public java.lang.String getEncodeCaption()

getEncodeCaptionEx

public java.lang.String getEncodeCaptionEx()

getId

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

canUpdate

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

canView

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

getCustomizer

public Customizer getCustomizer(java.lang.String sort,
                                boolean dis)
                         throws GranException
Throws:
GranException

getUdflist

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

isRequired

public boolean isRequired()
                   throws GranException
Throws:
GranException

isHtmlview

public boolean isHtmlview()
                   throws GranException
Throws:
GranException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Secured

compareTo

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

getType

public java.lang.Integer getType()

getSOAP

public UdfValueBean getSOAP()
                     throws GranException
Throws:
GranException


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