com.trackstudio.secured
Class SecuredTaskFValueBean

java.lang.Object
  extended by com.trackstudio.tools.PropertyComparable
      extended by com.trackstudio.secured.Secured
          extended by com.trackstudio.secured.SecuredFValueBean
              extended by com.trackstudio.secured.SecuredTaskFValueBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredTaskFValueBean
extends SecuredFValueBean

Bean which represents task custom fild value


Field Summary
 
Fields inherited from class com.trackstudio.secured.SecuredFValueBean
map
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Fields inherited from class com.trackstudio.tools.PropertyComparable
container
 
Constructor Summary
SecuredTaskFValueBean()
           
SecuredTaskFValueBean(FValue f, SessionContext sc)
           
SecuredTaskFValueBean(TaskFvalueBean f, java.lang.String sessionId)
           
 
Method Summary
 boolean canManage()
          Проверяет доступ к бину.
 TaskFValue getFValue()
           
 TaskFvalueBean getSOAP()
           
 
Methods inherited from class com.trackstudio.secured.SecuredFValueBean
canView, getContainer, getId, getStirngValueFromMap, isAllowedByACL
 
Methods inherited from class com.trackstudio.secured.Secured
canUpdate, getCanManage, getCanUpdate, getSecure
 
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
 

Constructor Detail

SecuredTaskFValueBean

public SecuredTaskFValueBean()

SecuredTaskFValueBean

public SecuredTaskFValueBean(FValue f,
                             SessionContext sc)

SecuredTaskFValueBean

public SecuredTaskFValueBean(TaskFvalueBean f,
                             java.lang.String sessionId)
                      throws GranException
Throws:
GranException
Method Detail

getFValue

public TaskFValue getFValue()

getSOAP

public TaskFvalueBean getSOAP()

canManage

public boolean canManage()
                  throws GranException
Description copied from class: Secured
Проверяет доступ к бину. Новый улучшеный метод. Нужно проверять доступ как по ACL, так и по Roles

Specified by:
canManage in class Secured
Returns:
TRUE - доступ есть, FALSE - нет
Throws:
GranException - при необходимости


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