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 |
changedBin(Id binId)
The callback for notification of updated bins.
|
void |
deletedAncestorBin(Id binId,
Id ancestorId)
The callback for notifications of deleted bin ancestors.
|
void |
deletedBin(Id binId)
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 |
newBin(Id binId)
The callback for notifications of new bins.
|
void |
newDescendantBin(Id binId,
Id descendantId)
The callback for notifications of new bin descendants.
|
down, up
void newBin(Id binId)
binId
- the Id
of the new Bin
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 changedBin(Id binId)
binId
- the Id
of the updated Bin
mandatory
- This method must be implemented. void deletedBin(Id binId)
binId
- the Id
of the deleted Bin
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.