com.ibm.commerce.marketing.facade.server.authorization

Class MarketingTriggerTypeProtectableProxy

  • java.lang.Object
    • com.ibm.commerce.security.AbstractProtectableProxy
      • com.ibm.commerce.marketing.facade.server.authorization.MarketingTriggerTypeProtectableProxy
  • All Implemented Interfaces:
    Protectable


    public class MarketingTriggerTypeProtectableProxy
    extends com.ibm.commerce.security.AbstractProtectableProxy
    implements Protectable
    This class represents a protectable proxy object for the MarketingTrigger noun. It is a bridge between the Java object and the policy manager access control engine that is part of WebSphere Commerce.
    • 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 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.
      • 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

      • MarketingTriggerTypeProtectableProxy

        public MarketingTriggerTypeProtectableProxy()
        Creates an instance of the protectable proxy object.
    • Method Detail

      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        This method determines if a given member fulfills a given relationship with the resource.
        Specified by:
        fulfills in interface Protectable
        Overrides:
        fulfills in class com.ibm.commerce.security.AbstractProtectableProxy
        Parameters:
        member - This is the member id of the member.
        relationship - This is the relationship the member has with to the resource.
        Returns:
        This method will always return true.
        Throws:
        java.lang.Exception
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        This method will return the owner of the protectable object. If the owner has not been specified on the proxy object, then the owner will be the owner of the store that can be resolved from the command context.
        Specified by:
        getOwner in interface Protectable
        Overrides:
        getOwner in class com.ibm.commerce.security.AbstractProtectableProxy
        Returns:
        The owner of the protectable proxy.
        Throws:
        java.lang.Exception - A problem occurred while resolving the owner.
        See Also:
        Protectable.getOwner()