public interface BusinessReceiver extends OsidReceiver
The business receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Business objects.
Modifier and Type | Method and Description |
---|---|
void |
changedBusinesses(IdList businessIds)
The callback for notification of updated businesses.
|
void |
deletedAncestorBusiness(Id businessId,
Id ancestorId)
The callback for notifications of deleted business ancestors.
|
void |
deletedBusinesses(IdList businessIds)
The callback for notification of deleted businesses.
|
void |
deletedDescendantBusiness(Id businessId,
Id descendantId)
The callback for notifications of deleted business descendants.
|
void |
newAncestorBusiness(Id businessId,
Id ancestorId)
The callback for notifications of new business ancestors.
|
void |
newBusinesses(IdList businessIds)
The callback for notifications of new businesses.
|
void |
newDescendantBusiness(Id businessId,
Id descendantId)
The callback for notifications of new business descendants.
|
void |
restructuredBusinessHierarchy()
The callback for notifications of changes to a business hierarchy
where the hierarchy needs to refreshed.
|
down, up
void newBusinesses(IdList businessIds)
businessIds
- the Ids
of the new
Businesses
mandatory
- This method must be implemented. void newAncestorBusiness(Id businessId, Id ancestorId)
businessId
- the Id
of the Business
ancestorId
- the Id
of the new Business
ancestormandatory
- This method must be implemented. void newDescendantBusiness(Id businessId, Id descendantId)
businessId
- the Id
of the Business
descendantId
- the Id
of the new Business
descendantmandatory
- This method must be implemented. void changedBusinesses(IdList businessIds)
businessIds
- the Ids
of the updated
Businesses
mandatory
- This method must be implemented. void deletedBusinesses(IdList businessIds)
businessIds
- the Ids
of the deleted
Businesses
mandatory
- This method must be implemented. void deletedAncestorBusiness(Id businessId, Id ancestorId)
businessId
- the Id
of the Business
ancestorId
- the Id
of the removed
Business
ancestormandatory
- This method must be implemented. void deletedDescendantBusiness(Id businessId, Id descendantId)
businessId
- the Id
of the Business
descendantId
- the Id
of the removed
Business
descendantmandatory
- This method must be implemented. void restructuredBusinessHierarchy()
mandatory
- This method must be implemented.