IRelationshipCollection Interface

Implements

public interface IRelationshipCollection extends IPartnerComponentString

This interface represents the operations that can be done on a partner's relationships.

Method Summary

Modifier and Type Method and Description
abstract ResourceCollection<PartnerRelationship> Query(PartnerRelationshipType partnerRelationshipType, IQuery query)

Queries partner relationships associated to the partner.

abstract ResourceCollection<PartnerRelationship> get(PartnerRelationshipType partnerRelationshipType)

Retrieves all the partner relationships.

Method Details

Query

public abstract ResourceCollection Query(PartnerRelationshipType partnerRelationshipType, IQuery query)

Queries partner relationships associated to the partner.

Parameters:

partnerRelationshipType - The type of partner relationship.
query - A query to apply onto partner relationships.

Returns:

TThe partner relationships that match the given query.

get

public abstract ResourceCollection get(PartnerRelationshipType partnerRelationshipType)

Retrieves all the partner relationships.

Parameters:

partnerRelationshipType - The type of partner relationship.

Returns:

The available partner relationships.

Applies to