com.ibm.commerce.security

Interface Protectable

    • Field Summary

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean fulfills(java.lang.Long member, java.lang.String relationship)
      Determines if a given member fulfills a given relationship with the resource.
      java.lang.Long getOwner()
      Returns the member ID of the owner.
    • Field Detail

      • COPYRIGHT

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

      • fulfills

        boolean fulfills(java.lang.Long member,
                         java.lang.String relationship)
                  throws java.lang.Exception
        Determines if a given member fulfills a given relationship with the resource.
        Parameters:
        member - The member ID of the member.
        relationship - The relationship the member has with respect to the resource.
        Returns:
        true if the member fulfills the relationship with the resource
        Throws:
        java.lang.Exception
      • getOwner

        java.lang.Long getOwner()
                         throws java.lang.Exception
        Returns the member ID of the owner.
        Returns:
        The member ID of the owner
        Throws:
        java.lang.Exception