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 |
changedOffices(IdList officeIds)
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 |
deletedOffices(IdList officeIds)
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 |
newOffices(IdList officeIds)
The callback for notifications of new offices.
|
void |
restructuredOfficeHierarchy()
The callback for notifications of changes to an office hierarchy where
the hierarchy needs to refreshed.
|
down, up
void newOffices(IdList officeIds)
officeIds
- the Ids
of the new Offices
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 changedOffices(IdList officeIds)
officeIds
- the Ids
of the updated Offices
mandatory
- This method must be implemented. void deletedOffices(IdList officeIds)
officeIds
- the Ids
of the deleted Offices
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. void deletedDescendantOffice(Id officeId, Id descendantId)
officeId
- the Id
of the Office
descendantId
- the Id
of the removed
Office
descendantmandatory
- This method must be implemented. void restructuredOfficeHierarchy()
mandatory
- This method must be implemented.