public interface LocationReceiver extends OsidReceiver
The location receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted locations.
Modifier and Type | Method and Description |
---|---|
void |
changedLocation(Id locationId)
The callback for notification of updated locations.
|
void |
deletedAncestorLocation(Id locationId,
Id ancestorId)
The callback for notifications of deleted location ancestors.
|
void |
deletedDescendantLocation(Id locationId,
Id descendantId)
The callback for notifications of deleted location descendants.
|
void |
deletedLocation(Id locationId)
The callback for notification of deleted locations.
|
void |
newAncestorLocation(Id locationId,
Id ancestorId)
The callback for notifications of new location ancestors.
|
void |
newDescendantLocation(Id locationId,
Id descendantId)
The callback for notifications of new location descendants.
|
void |
newLocation(Id locationId)
The callback for notifications of new locations.
|
down, up
void newLocation(Id locationId)
locationId
- the Id
of the new Location
mandatory
- This method must be implemented. void newAncestorLocation(Id locationId, Id ancestorId)
locationId
- the Id
of the Location
ancestorId
- the Id
of the new Location
ancestormandatory
- This method must be implemented. void newDescendantLocation(Id locationId, Id descendantId)
locationId
- the Id
of the Location
descendantId
- the Id
of the new Location
descendantmandatory
- This method must be implemented. void changedLocation(Id locationId)
locationId
- the Id
of the updated
Location
mandatory
- This method must be implemented. void deletedLocation(Id locationId)
locationId
- the Id
of the deleted
Location
mandatory
- This method must be implemented. void deletedAncestorLocation(Id locationId, Id ancestorId)
locationId
- the Id
of the Location
ancestorId
- the Id
of the removed
Location
ancestormandatory
- This method must be implemented. void deletedDescendantLocation(Id locationId, Id descendantId)
locationId
- the Id
of the Location
descendantId
- the Id
of the removed
Location
descendantmandatory
- This method must be implemented.