Package org.silverpeas.core.reminder
Class ContributionReminderListener
- java.lang.Object
-
- org.silverpeas.core.reminder.ContributionReminderListener
-
- All Implemented Interfaces:
ContributionDeletion
,ContributionModification
,ContributionMove
public class ContributionReminderListener extends Object implements ContributionModification, ContributionMove, ContributionDeletion
Deleter of reminders relative to a contribution that has been deleted.- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description ContributionReminderListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(Contribution contribution)
Deletes the resources belonging to the specified contribution.void
move(Contribution before, Contribution after)
Updates the resources belonging to the specified contribution.void
update(Contribution before, Contribution after)
Updates the resources belonging to the specified contribution.
-
-
-
Method Detail
-
update
public void update(Contribution before, Contribution after)
Description copied from interface:ContributionModification
Updates the resources belonging to the specified contribution. This method is invoked by the generic contribution modification service when an event about the modification of a contribution is received.- Specified by:
update
in interfaceContributionModification
- Parameters:
before
- the contribution before the modification.after
- the contribution after the modification.
-
move
public void move(Contribution before, Contribution after)
Description copied from interface:ContributionMove
Updates the resources belonging to the specified contribution. This method is invoked by the generic contribution modification service when an event about the modification of a contribution is received.- Specified by:
move
in interfaceContributionMove
- Parameters:
before
- the contribution before the move and from which the source location can be figuring out.after
- the contribution after the move and from which the destination location can be figuring out.
-
delete
public void delete(Contribution contribution)
Description copied from interface:ContributionDeletion
Deletes the resources belonging to the specified contribution. This method is invoked by the generic contribution deletion service when an event about the deletion of a contribution is received.- Specified by:
delete
in interfaceContributionDeletion
- Parameters:
contribution
- the contribution that was deleted.
-
-