java.lang.Objectcom.ibm.commerce.security.AccessHelper
This class contains various access control related methods.
Constructor Summary | |
AccessHelper() |
Method Summary | |
boolean | fulfills(java.lang.Object obj, java.lang.Long member, java.lang.String relationship) Determines if a given member fulfills a given relationship with the resource. |
java.lang.Object | getGroupingAttributeValue(java.lang.Object obj, java.lang.String attributeName, GroupingContext context) Returns the value of the specified attribute of an object |
java.lang.Long | getOwner(java.lang.Object obj) Returns the member id of the owner of the resource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccessHelper()
Method Detail |
public boolean fulfills(java.lang.Object obj, java.lang.Long member, java.lang.String relationship) throws java.lang.Exception, java.rmi.RemoteException
public java.lang.Object getGroupingAttributeValue(java.lang.Object obj, java.lang.String attributeName, GroupingContext context) throws java.lang.Exception, java.rmi.RemoteException
public java.lang.Long getOwner(java.lang.Object obj) throws java.lang.Exception, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.