public interface AccountReceiver extends OsidReceiver
The account receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Account
objects.
| Modifier and Type | Method and Description |
|---|---|
void |
changedAccounts(IdList accountIds)
The callback for notification of updated accounts.
|
void |
deletedAccounts(IdList accountIds)
the callback for notification of deleted accounts.
|
void |
deletedAncestorAccount(Id accountId,
Id ancestorId)
The callback for notifications of deleted account ancestors.
|
void |
deletedDescendantAccount(Id accountId,
Id descendantId)
The callback for notifications of deleted account descendants.
|
void |
newAccounts(IdList accountIds)
The callback for notifications of new accounts.
|
void |
newAncestorAccount(Id accountId,
Id ancestorId)
The callback for notifications of new account ancestors.
|
void |
newDescendantAccount(Id accountId,
Id descendantId)
The callback for notifications of new account descendants.
|
void |
restructuredAccountHierarchy()
The callback for notifications of changes to an account hierarchy
where the hierarchy needs to refreshed.
|
down, upvoid newAccounts(IdList accountIds)
accountIds - the Ids of the new Accounts
mandatory - This method must be implemented. void newAncestorAccount(Id accountId, Id ancestorId)
accountId - the Id of the Account ancestorId - the Id of the new Account
ancestormandatory - This method must be implemented. void newDescendantAccount(Id accountId, Id descendantId)
accountId - the Id of the Account descendantId - the Id of the new Account
descendantmandatory - This method must be implemented. void changedAccounts(IdList accountIds)
accountIds - the Ids of the updated
Accounts mandatory - This method must be implemented. void deletedAccounts(IdList accountIds)
accountIds - the Ids of the deleted
Accounts mandatory - This method must be implemented. void deletedAncestorAccount(Id accountId, Id ancestorId)
accountId - the Id of the Account ancestorId - the Id of the new Account
ancestormandatory - This method must be implemented. void deletedDescendantAccount(Id accountId, Id descendantId)
accountId - the Id of the Account descendantId - the Id of the new Account
descendantmandatory - This method must be implemented. void restructuredAccountHierarchy()
mandatory - This method must be implemented.