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 |
changedAccount(Id accountId)
The callback for notification of updated accounts.
|
void |
deletedAccount(Id accountId)
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 |
newAccount(Id accountId)
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.
|
down, up
void newAccount(Id accountId)
accountId
- the Id
of the new Account
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 changedAccount(Id accountId)
accountId
- the Id
of the updated Account
mandatory
- This method must be implemented. void deletedAccount(Id accountId)
accountId
- the Id
of the deleted Account
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.