public interface BinReceiver extends OsidReceiver
The bin receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Bin
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedBins(IdList binIds)
The callback for notification of updated bins.
|
void |
deletedAncestorBin(Id binId,
Id ancestorId)
The callback for notifications of deleted bin ancestors.
|
void |
deletedBins(IdList binIds)
The callback for notification of deleted bins.
|
void |
deletedDescendantBin(Id binId,
Id descendantId)
The callback for notifications of deleted bin descendants.
|
void |
newAncestorBin(Id binId,
Id ancestorId)
The callback for notifications of new bin ancestors.
|
void |
newBins(IdList binIds)
The callback for notifications of new bins.
|
void |
newDescendantBin(Id binId,
Id descendantId)
The callback for notifications of new bin descendants.
|
void |
restructuredBinHierarchy()
The callback for notifications of changes to a bin hierarchy where the
hierarchy needs to refreshed.
|
down, up
void newBins(IdList binIds)
binIds
- the Ids
of the new Bins
mandatory
- This method must be implemented. void newAncestorBin(Id binId, Id ancestorId)
binId
- the Id
of the Bin
ancestorId
- the Id
of the new Bin
ancestormandatory
- This method must be implemented. void newDescendantBin(Id binId, Id descendantId)
binId
- the Id
of the Bin
descendantId
- the Id
of the new Bin
descendantmandatory
- This method must be implemented. void changedBins(IdList binIds)
binIds
- the Ids
of the updated Bins
mandatory
- This method must be implemented. void deletedBins(IdList binIds)
binIds
- the Ids
of the deleted Bins
mandatory
- This method must be implemented. void deletedAncestorBin(Id binId, Id ancestorId)
binId
- the Id
of the Bin
ancestorId
- the Id
of the removed Bin
ancestormandatory
- This method must be implemented. void deletedDescendantBin(Id binId, Id descendantId)
binId
- the Id
of the Bin
descendantId
- the Id
of the removed Bin
descendantmandatory
- This method must be implemented. void restructuredBinHierarchy()
mandatory
- This method must be implemented.