com.trackstudio.secured
Class SecuredUdflistBean

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

public class SecuredUdflistBean
extends Secured

Bean which represents custom field possible values list


Field Summary
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Fields inherited from class com.trackstudio.tools.PropertyComparable
container
 
Constructor Summary
SecuredUdflistBean(Udflist u, SessionContext sc)
           
 
Method Summary
 boolean canManage()
          Проверяет доступ к бину.
 boolean canView()
           
protected  PropertyContainer getContainer()
          Возвращает контейнер свойств
 java.lang.String getId()
           
 UdflistBean getSOAP()
           
 java.lang.String getVal()
           
 boolean 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

SecuredUdflistBean

public SecuredUdflistBean(Udflist u,
                          SessionContext sc)
Method Detail

getId

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

getVal

public java.lang.String getVal()

getContainer

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

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

isAllowedByACL

public boolean isAllowedByACL()
Specified by:
isAllowedByACL in class Secured

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()
Specified by:
canView in class Secured

getSOAP

public UdflistBean getSOAP()
                    throws GranException
Throws:
GranException


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