public class LayoutTypeProtectableProxy extends com.ibm.commerce.security.AbstractProtectableProxy implements Groupable
Constructor and Description |
---|
LayoutTypeProtectableProxy()
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.Object |
getGroupingAttributeValue(java.lang.String attributeName,
GroupingContext context)
This method returns the value for group attribute specified.
|
java.lang.Long |
getOwner()
This method will return the owner of the protectable object.
|
public LayoutTypeProtectableProxy()
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
.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()
public java.lang.Object getGroupingAttributeValue(java.lang.String attributeName, GroupingContext context) throws java.lang.Exception
ManagingTool
and template
attributes. For all other attributes, the method returns null.getGroupingAttributeValue
in interface Groupable
attributeName
- The name of the attribute.context
- The grouping contextjava.lang.Exception