com.trackstudio.secured
Class SecuredTaskUDFBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredUDFBean
com.trackstudio.secured.SecuredTaskUDFBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredTaskUDFBean
- extends SecuredUDFBean
Bean which represents task custom field
Field Summary |
protected java.lang.String |
taskid
|
Fields inherited from class com.trackstudio.secured.SecuredUDFBean |
cachevalues, caption, captionEx, def, htmlview, initial, log, lookuponly, lookupscript, order, referencedbycaption, required, script, type, udfId, udfSourceId |
Fields inherited from class com.trackstudio.secured.Secured |
sc |
Methods inherited from class com.trackstudio.secured.SecuredUDFBean |
getCaption, getCaptionEx, getContainer, getDefaultUDF, getId, getInitial, getLookuponly, getLookupscript, getOrder, getReferencedbycaption, getScript, getSOAP, getType, getUdfId, getUdflist, getUdfSourceId, getUL, getULString, init, isCachevalues, isHtmlview, isLookuponly, isRequired, setCachevalues, setInitial, setLookuponly, setReferencedbycaption |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
taskid
protected java.lang.String taskid
SecuredTaskUDFBean
public SecuredTaskUDFBean(UDFCacheItem u,
SessionContext sc)
throws GranException
- Throws:
GranException
isAllowedByACL
public boolean isAllowedByACL()
throws GranException
- Specified by:
isAllowedByACL
in class Secured
- Throws:
GranException
canManage
public boolean canManage()
throws GranException
- Description copied from class:
Secured
- Проверяет доступ к бину. Новый улучшеный метод. Нужно проверять доступ как по ACL, так и по Roles
- Specified by:
canManage
in class Secured
- Returns:
- TRUE - доступ есть, FALSE - нет
- Throws:
GranException
- при необходимости
canView
public boolean canView()
throws GranException
- Specified by:
canView
in class Secured
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
throws GranException
- Throws:
GranException
getTaskId
public java.lang.String getTaskId()
getLookupscriptCalc
public java.lang.Object getLookupscriptCalc(Secured o)
throws GranException
- Specified by:
getLookupscriptCalc
in class SecuredUDFBean
- Throws:
GranException
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.