com.ibm.commerce.grouping
Interface Groupable

All Known Implementing Classes:
OrderDataBean

public interface Groupable

This interface is to be implemented by the objects/resources that want to participate in the implicit resource grouping based on attributes. The implicit resource grouping is used in access control. An example would be the Order resource which the access control rules differ based on the "Status" attribute on the Order resource. So the order resource will implement Groupable interface and provide an implementation for the getGroupingAttributeValue method which would understand the "Status" attribute.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.Object getGroupingAttributeValue(java.lang.String attributeName, GroupingContext context)
          Returns the value of a resource attribute - based on the attributeName and context.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Method Detail

getGroupingAttributeValue

public java.lang.Object getGroupingAttributeValue(java.lang.String attributeName,
                                                  GroupingContext context)
                                           throws java.lang.Exception,
                                                  java.rmi.RemoteException
Returns the value of a resource attribute - based on the attributeName and context. Used by access control to determine if a resource falls within a resource group. Creation date: (5/8/2001 12:05:57 PM)
Parameters:
attributeName - java.lang.String
Returns:
java.lang.Object