public interface DepotReceiver extends OsidReceiver
The vault receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Depot
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedDepots(IdList depotIds)
The callback for notification of updated depots.
|
void |
deletedAncestorDepot(Id depotId,
Id ancestorId)
The callback for notifications of deleted depot ancestors.
|
void |
deletedDepots(IdList depotIds)
The callback for notification of deleted depots.
|
void |
deletedDescendantDepot(Id depotId,
Id descendantId)
The callback for notifications of deleted depot descendants.
|
void |
newAncestorDepot(Id depotId,
Id ancestorId)
The callback for notifications of new depot ancestors.
|
void |
newDepots(IdList depotIds)
The callback for notifications of new depots.
|
void |
newDescendantDepot(Id depotId,
Id descendantId)
The callback for notifications of new depot descendants.
|
void |
restructuredDepotHierarchy()
The callback for notifications of changes to a depot hierarchy where
the hierarchy needs to refreshed.
|
down, up
void newDepots(IdList depotIds)
depotIds
- the Ids
of the new Depots
mandatory
- This method must be implemented. void newAncestorDepot(Id depotId, Id ancestorId)
depotId
- the Id
of the Depot
ancestorId
- hasRecordType(depotRecordType) is false
mandatory
- This method must be implemented. void newDescendantDepot(Id depotId, Id descendantId)
depotId
- the Id
of the Depot
descendantId
- the Id
of the new Depot
descendantmandatory
- This method must be implemented. void changedDepots(IdList depotIds)
depotIds
- the Ids
of the updated Depots
mandatory
- This method must be implemented. void deletedDepots(IdList depotIds)
depotIds
- the Ids
of the deleted Depots
mandatory
- This method must be implemented. void deletedAncestorDepot(Id depotId, Id ancestorId)
depotId
- the Id
of the Depot
ancestorId
- the Id
of the removed Depot
ancestormandatory
- This method must be implemented. void deletedDescendantDepot(Id depotId, Id descendantId)
depotId
- the Id
of the Depot
descendantId
- the Id
of the removed Depot
descendantmandatory
- This method must be implemented. void restructuredDepotHierarchy()
mandatory
- This method must be implemented.