java.lang.Object | +--com.ibm.commerce.accesscontrol.SiteResource
This class represents a default Site Resource.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor Summary | |
---|---|
SiteResource() SiteResource constructor comment. |
Method Summary | |
---|---|
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship) Determines if a given member fulfills a given relationship with the resource. |
java.lang.Long |
getOwner() Returns the owner of this resource. |
static
SiteResource |
singleton() Returns an instance of a site resource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public SiteResource()
Method Detail |
---|
public java.lang.Long getOwner() throws ECException
ECException.
ECException
public static SiteResource singleton()
ECException.
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception
member
- Member id of the memberrelationship
- The relationship the member has with respect to
the resourcejava.rmi.RemoteException
java.lang.Exception