public interface CommitmentReceiver extends OsidReceiver
The event receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Commitments.
Modifier and Type | Method and Description |
---|---|
void |
changedCommitment(Id commitmentId)
The callback for notification of updated commitments.
|
void |
changedCommitmentForEvent(Id commitmentId,
Id eventId)
The callback for notifications of updated commitments.
|
void |
changedCommitmentForResource(Id commitmentId,
Id resourceId)
The callback for notifications of updated commitments.
|
void |
changedCommitmentState(Id commitmentId,
Id processId)
The callback for notification of changed commitment states.
|
void |
deletedCommitment(Id commitmentId)
The callback for notification of deleted commitments.
|
void |
deletedCommitmentForEvent(Id commitmentId,
Id eventId)
The callback for notifications of deleted commitments.
|
void |
deletedCommitmentForResource(Id commitmentId,
Id resourceId)
The callback for notifications of deleted commitments.
|
void |
newCommitment(Id commitmentId)
The callback for notifications of new commitments.
|
void |
newCommitmentForEvent(Id commitmentId,
Id eventId)
The callback for notifications of new commitments.
|
void |
newCommitmentForResource(Id commitmentId,
Id resourceId)
The callback for notifications of new commitments.
|
down, up
void newCommitment(Id commitmentId)
commitmentId
- the Id
of the new
Commitment
mandatory
- This method must be implemented. void newCommitmentForEvent(Id commitmentId, Id eventId)
commitmentId
- the Id
of the new
Commitment
eventId
- the Id
of the Event
mandatory
- This method must be implemented. void newCommitmentForResource(Id commitmentId, Id resourceId)
commitmentId
- the Id
of the new
Commitment
resourceId
- the Id
of the Resource
mandatory
- This method must be implemented. void changedCommitment(Id commitmentId)
commitmentId
- the Id
of the updated
Commitment
mandatory
- This method must be implemented. void changedCommitmentForEvent(Id commitmentId, Id eventId)
commitmentId
- the Id
of the updated
Commitment
eventId
- the Id
of the Event
mandatory
- This method must be implemented. void changedCommitmentForResource(Id commitmentId, Id resourceId)
commitmentId
- the Id
of the updated
Commitment
resourceId
- the Id
of the Resource
mandatory
- This method must be implemented. void changedCommitmentState(Id commitmentId, Id processId)
commitmentId
- the Id
of the Commitment
processId
- the Id
of the process
mandatory
- This method must be implemented. void deletedCommitment(Id commitmentId)
commitmentId
- the Id
of the deleted
Commitment
mandatory
- This method must be implemented. void deletedCommitmentForEvent(Id commitmentId, Id eventId)
commitmentId
- the Id
of the deleted
Commitment
eventId
- the Id
of the Event
mandatory
- This method must be implemented. void deletedCommitmentForResource(Id commitmentId, Id resourceId)
commitmentId
- the Id
of the deleted
Commitment
resourceId
- the Id
of the Resource
mandatory
- This method must be implemented.