com.ibm.commerce.wallet.facade.server.authorization

Class WalletItemTypeProtectableProxy

  • java.lang.Object
    • com.ibm.commerce.security.AbstractProtectableProxy
      • com.ibm.commerce.wallet.facade.server.authorization.WalletItemTypeProtectableProxy
  • All Implemented Interfaces:
    Groupable, Protectable


    public class WalletItemTypeProtectableProxy
    extends com.ibm.commerce.security.AbstractProtectableProxy
    implements Protectable, Groupable
    Proxy of the WalletItem noun to the access control policy manager.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean fulfills(java.lang.Long anMemberId, java.lang.String astrRelationship)
      Determines if a member fulfills a relationship with the noun.
      java.lang.Object getGroupingAttributeValue(java.lang.String astrAttributeName, GroupingContext aContext)
      Returns the value of a grouping attribute.
      java.lang.Long getOwner()
      Returns the owner of the noun.
      • Methods inherited from class com.ibm.commerce.security.AbstractProtectableProxy

        getActionCode, getCommandContext, getObject, getResources, setActionCode, setCommandContext, setObject, setOwner
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WalletItemTypeProtectableProxy

        public WalletItemTypeProtectableProxy()
        Default constructor.
    • Method Detail

      • fulfills

        public boolean fulfills(java.lang.Long anMemberId,
                                java.lang.String astrRelationship)
                         throws java.lang.Exception
        Determines if a member fulfills a relationship with the noun.
        Specified by:
        fulfills in interface Protectable
        Overrides:
        fulfills in class com.ibm.commerce.security.AbstractProtectableProxy
        Parameters:
        anMemberId - Internal identifier of the member.
        astrRelationship - The relationship.
        Returns:
        True if fulfilled.
        Throws:
        java.lang.Exception
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Returns the owner of the noun.
        Specified by:
        getOwner in interface Protectable
        Overrides:
        getOwner in class com.ibm.commerce.security.AbstractProtectableProxy
        Returns:
        Owner of the noun.
        Throws:
        java.lang.Exception
      • getGroupingAttributeValue

        public java.lang.Object getGroupingAttributeValue(java.lang.String astrAttributeName,
                                                          GroupingContext aContext)
                                                   throws java.lang.Exception
        Returns the value of a grouping attribute.
        Specified by:
        getGroupingAttributeValue in interface Groupable
        Parameters:
        astrAttributeName - Name of the grouping attribute.
        aContext - The grouping context.
        Returns:
        Value of the grouping attribute.
        Throws:
        java.lang.Exception