public interface DistributorReceiver extends OsidReceiver
The distributor receiver is the consumer supplied interface for
receiving notifications pertaining to new, updated or deleted
Distributor
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedDistributors(IdList distributorIds)
The callback for notification of updated distributor.
|
void |
deletedAncestorDistributor(Id distributorId,
Id ancestorId)
The callback for notifications of deleted distributor ancestors.
|
void |
deletedDescendantDistributor(Id distributorId,
Id descendantId)
The callback for notifications of deleted distributor descendants.
|
void |
deletedDistributors(IdList distributorIds)
The callback for notification of deleted distributors.
|
void |
newAncestorDistributor(Id distributorId,
Id ancestorId)
The callback for notifications of new distributor ancestors.
|
void |
newDescendantDistributor(Id distributorId,
Id descendantId)
The callback for notifications of new distributor descendants.
|
void |
newDistributors(IdList distributorIds)
The callback for notifications of new distributors.
|
void |
restructuredDistributorHierarchy()
The callback for notifications of changes to a distributor hierarchy
where the hierarchy needs to refreshed.
|
down, up
void newDistributors(IdList distributorIds)
distributorIds
- the Ids
of the new
Distributors
mandatory
- This method must be implemented. void newAncestorDistributor(Id distributorId, Id ancestorId)
distributorId
- the Id
of the Distributor
ancestorId
- the Id
of the new Distributor
ancestormandatory
- This method must be implemented. void newDescendantDistributor(Id distributorId, Id descendantId)
distributorId
- the Id
of the Distributor
descendantId
- the Id
of the new
Distributor
descendantmandatory
- This method must be implemented. void changedDistributors(IdList distributorIds)
distributorIds
- the Ids
of the updated
Distributors
mandatory
- This method must be implemented. void deletedDistributors(IdList distributorIds)
distributorIds
- the Ids
of the deleted
Distributors
mandatory
- This method must be implemented. void deletedAncestorDistributor(Id distributorId, Id ancestorId)
distributorId
- the Id
of the Distributor
ancestorId
- the Id
of the removed
Distributor
ancestormandatory
- This method must be implemented. void deletedDescendantDistributor(Id distributorId, Id descendantId)
distributorId
- the Id
of the Distributor
descendantId
- the Id
of the removed
Distributor
descendantmandatory
- This method must be implemented. void restructuredDistributorHierarchy()
mandatory
- This method must be implemented.