com.trackstudio.secured
Class SecuredUdflistBean

java.lang.Object
  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
 
Constructor Summary
SecuredUdflistBean(Udflist u, SessionContext sc)
           
 
Method Summary
 boolean canManage()
          Проверяет доступ к бину.
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 java.lang.String getId()
           
 UdflistBean getSOAP()
           
 java.lang.String getVal()
           
 boolean isAllowedByACL()
           
 
Methods inherited from class com.trackstudio.secured.Secured
canUpdate, compare, equals, getCanManage, getCanUpdate, getSecure, 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()

compareTo

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

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.