public interface OrganizationReceiver extends OsidReceiver
The organization receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted organizations.
| Modifier and Type | Method and Description |
|---|---|
void |
changedOrganizations(IdList organizationIds)
The callback for notifications of updated organizations.
|
void |
deletedAncestorOrganization(Id organizationId,
Id ancestorId)
The callback for notifications of a deleted ancestor of an
organization.
|
void |
deletedDescendantOrganization(Id organizationId,
Id descendantId)
The callback for notifications of a deleted descendant of an
organization.
|
void |
deletedOrganizations(IdList organizationIds)
the callback for notification of deleted organizations.
|
void |
newAncestorOrganization(Id organizationId,
Id ancestorId)
The callback for notifications of new ancestors of an organization.
|
void |
newDescendantOrganization(Id organizationId,
Id descendantId)
The callback for notifications of new descendant of an organization.
|
void |
newOrganizations(IdList organizationIds)
The callback for notifications of new organizations.
|
void |
restructuredOrganizationHierarchy()
The callback for notifications of changes to an organization hierarchy
where the hierarchy needs to refreshed.
|
down, upvoid newOrganizations(IdList organizationIds)
organizationIds - the Ids of the new
organizationsmandatory - This method must be implemented. void newAncestorOrganization(Id organizationId, Id ancestorId)
organizationId - the Id of the registered
Organization ancestorId - the Id of the new ancestor organizationmandatory - This method must be implemented. void newDescendantOrganization(Id organizationId, Id descendantId)
organizationId - the Id of the registered
Organization descendantId - the Id of the new descendant organizationmandatory - This method must be implemented. void changedOrganizations(IdList organizationIds)
organizationIds - the Ids of the updated
organizationsmandatory - This method must be implemented. void deletedOrganizations(IdList organizationIds)
organizationIds - the Ids of the deleted
organizationsmandatory - This method must be implemented. void deletedAncestorOrganization(Id organizationId, Id ancestorId)
organizationId - the Id of the registered
Organization ancestorId - the Id of the new ancestor organizationmandatory - This method must be implemented. void deletedDescendantOrganization(Id organizationId, Id descendantId)
organizationId - the Id of the registered
Organization descendantId - the Id of the new descendant organizationmandatory - This method must be implemented. void restructuredOrganizationHierarchy()
mandatory - This method must be implemented.