public interface PeriodReceiver extends OsidReceiver
The period receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Period
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedPeriod(Id periodId)
The callback for notification of updated periods.
|
void |
deletedAncestorPeriod(Id periodId,
Id ancestorId)
The callback for notifications of deleted period ancestors.
|
void |
deletedDescendantPeriod(Id periodId,
Id descendantId)
The callback for notifications of deleted period descendants.
|
void |
deletedPeriod(Id periodId)
The callback for notification of deleted periods.
|
void |
newAncestorPeriod(Id periodId,
Id ancestorId)
The callback for notifications of new period ancestors.
|
void |
newDescendantPeriod(Id periodId,
Id descendantId)
The callback for notifications of new period descendants.
|
void |
newPeriod(Id periodId)
The callback for notifications of new periods.
|
down, up
void newPeriod(Id periodId)
periodId
- the Id
of the new Period
mandatory
- This method must be implemented. void newAncestorPeriod(Id periodId, Id ancestorId)
periodId
- the Id
of the Period
ancestorId
- the Id
of the new Period
ancestormandatory
- This method must be implemented. void newDescendantPeriod(Id periodId, Id descendantId)
periodId
- the Id
of the Period
descendantId
- the Id
of the new Period
descendantmandatory
- This method must be implemented. void changedPeriod(Id periodId)
periodId
- the Id
of the updated Period
mandatory
- This method must be implemented. void deletedPeriod(Id periodId)
periodId
- the Id
of the deleted Period
mandatory
- This method must be implemented. void deletedAncestorPeriod(Id periodId, Id ancestorId)
periodId
- the Id
of the Period
ancestorId
- the Id
of the removed Period
ancestormandatory
- This method must be implemented.