public interface AgencyReceiver extends OsidReceiver
The agency receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Agency
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedAgency(Id agencyId)
The callback for notification of updated agencies.
|
void |
deletedAgency(Id agencyId)
The callback for notification of deleted agencies.
|
void |
deletedAncestorAgency(Id agencyId,
Id ancestorId)
The callback for notifications of deleted agency ancestors.
|
void |
deletedDescendantAgency(Id agencyId,
Id descendantId)
The callback for notifications of deleted agency descendants.
|
void |
newAgency(Id agencyId)
The callback for notifications of new agencies.
|
void |
newAncestorAgency(Id agencyId,
Id ancestorId)
The callback for notifications of new agency ancestors.
|
void |
newDescendantAgency(Id agencyId,
Id descendantId)
The callback for notifications of new agency descendants.
|
down, up
void newAgency(Id agencyId)
agencyId
- the Id
of the new Agency
mandatory
- This method must be implemented. void newAncestorAgency(Id agencyId, Id ancestorId)
agencyId
- the Id
of the Agency
ancestorId
- hasRecordType(agencyRecordType)
is
false
mandatory
- This method must be implemented. void newDescendantAgency(Id agencyId, Id descendantId)
agencyId
- the Id
of the Agency
descendantId
- the Id
of the new Agency
descendantmandatory
- This method must be implemented. void changedAgency(Id agencyId)
agencyId
- the Id
of the updated Agency
mandatory
- This method must be implemented. void deletedAgency(Id agencyId)
agencyId
- the Id
of the deleted Agency
mandatory
- This method must be implemented. void deletedAncestorAgency(Id agencyId, Id ancestorId)
agencyId
- the Id
of the Agency
ancestorId
- the Id
of the removed Agency
ancestormandatory
- This method must be implemented.