public class SubscriptionTypeProtectableProxy extends com.ibm.commerce.security.AbstractProtectableProxy implements Protectable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_CONTROL_RELATION_TYPE_CREATOR
Constant for creator access control relation.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
SubscriptionTypeProtectableProxy()
Creates an instance of the protectable proxy object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
This method determines if a given member fulfills a given relationship
with the resource.
|
java.lang.Long |
getOwner()
This method will return the owner of the protectable object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ACCESS_CONTROL_RELATION_TYPE_CREATOR
public SubscriptionTypeProtectableProxy()
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
fulfills
in interface Protectable
fulfills
in class com.ibm.commerce.security.AbstractProtectableProxy
member
- This is the member id of the member.relationship
- This is the relationship the member has with to the resource.true
if the given member
fulfills the relationship specified. False, otherwise.java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface Protectable
getOwner
in class com.ibm.commerce.security.AbstractProtectableProxy
java.lang.Exception
- A problem occurred while resolving the owner.Protectable.getOwner()