public class GiftListTypeProtectableProxy extends com.ibm.commerce.security.AbstractProtectableProxy implements Protectable, Groupable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ACCESS_CONTROL_RELATION_TYPE_COREGISTRANT
Constant for the co-registrant access control relation.
|
static java.lang.String | ACCESS_CONTROL_RELATION_TYPE_GIFT_GIVER
Constant for the gift giver access control relation.
|
static java.lang.String | ACCESS_CONTROL_RELATION_TYPE_REGISTRANT
Constant for registrant access control relation.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | GROUPING_ATTRIBUTE_ACCESS_SPECIFIER
Constant for the grouping attribute name.
|
Constructor and Description |
---|
GiftListTypeProtectableProxy()
Creates an instance of the protectable proxy object.
|
Modifier and Type | Method and Description |
---|---|
protected boolean | checkUserFulfillsGiftGiverRelationship(java.lang.Long member, java.lang.String relationship)
This method checks if the given member fulfills the giftgiver relationship with the given resource using the gift center context.
|
protected boolean | checkUserFulfillsRegistrantOrCoregistrantRelationship(java.lang.Long member, java.lang.String relationship)
This method checks if the given member fulfills either the registrant or the co-registrant relationship with the given resource using the gift center context.
|
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.Object | getGroupingAttributeValue(java.lang.String attributeName, GroupingContext context)
Returns the value of the specified attribute.
|
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_REGISTRANT
public static final java.lang.String ACCESS_CONTROL_RELATION_TYPE_COREGISTRANT
public static final java.lang.String ACCESS_CONTROL_RELATION_TYPE_GIFT_GIVER
public static final java.lang.String GROUPING_ATTRIBUTE_ACCESS_SPECIFIER
public GiftListTypeProtectableProxy()
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception
protected boolean checkUserFulfillsGiftGiverRelationship(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
protected boolean checkUserFulfillsRegistrantOrCoregistrantRelationship(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
public java.lang.Object getGroupingAttributeValue(java.lang.String attributeName, GroupingContext context) throws java.lang.Exception, java.rmi.RemoteException