public interface OfficeReceiver extends OsidReceiver
The office receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Office
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedOffice(Id officeId)
The callback for notification of updated office.
|
void |
deletedAncestorOffice(Id officeId,
Id ancestorId)
The callback for notifications of deleted office ancestors.
|
void |
deletedDescendantOffice(Id officeId,
Id descendantId)
The callback for notifications of deleted office descendants.
|
void |
deletedOffice(Id officeId)
The callback for notification of deleted offices.
|
void |
newAncestorOffice(Id officeId,
Id ancestorId)
The callback for notifications of new office ancestors.
|
void |
newDescendantOffice(Id officeId,
Id descendantId)
The callback for notifications of new office descendants.
|
void |
newOffice(Id officeId)
The callback for notifications of new offices.
|
down, up
void newOffice(Id officeId)
officeId
- the Id
of the new Office
mandatory
- This method must be implemented. void newAncestorOffice(Id officeId, Id ancestorId)
officeId
- the Id
of the Office
ancestorId
- the Id
of the new Office
ancestormandatory
- This method must be implemented. void newDescendantOffice(Id officeId, Id descendantId)
officeId
- the Id
of the Office
descendantId
- the Id
of the new Office
descendantmandatory
- This method must be implemented. void changedOffice(Id officeId)
officeId
- the Id
of the updated Office
mandatory
- This method must be implemented. void deletedOffice(Id officeId)
officeId
- the Id
of the deleted Office
mandatory
- This method must be implemented. void deletedAncestorOffice(Id officeId, Id ancestorId)
officeId
- the Id
of the Office
ancestorId
- the Id
of the removed Office
ancestormandatory
- This method must be implemented.