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 |
changedBusiness(Id businessId)
The callback for notification of updated businesses.
|
void |
deletedAncestorBusiness(Id businessId,
Id ancestorId)
The callback for notifications of deleted business ancestors.
|
void |
deletedBusiness(Id businessId)
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 |
newBusiness(Id businessId)
The callback for notifications of new businesses.
|
void |
newDescendantBusiness(Id businessId,
Id descendantId)
The callback for notifications of new business descendants.
|
down, up
void newBusiness(Id businessId)
businessId
- the Id
of the new Business
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 changedBusiness(Id businessId)
businessId
- the Id
of the updated
Business
mandatory
- This method must be implemented. void deletedBusiness(Id businessId)
businessId
- the Id
of the deleted
Business
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.