Class LecturerBookingUserWageUpdateContribution
java.lang.Object
ch.tocco.nice2.optional.salary.impl.contributions.LecturerBookingUserWageUpdateContribution
- All Implemented Interfaces:
LecturerBookingUserUpdateContribution
@Component
public class LecturerBookingUserWageUpdateContribution
extends Object
implements LecturerBookingUserUpdateContribution
-
Constructor Summary
ConstructorDescriptionLecturerBookingUserWageUpdateContribution
(ClientQuestionService clientQuestionService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionboolean
check if relation should be updated, use this to ask for confirmation from user or check other conditionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.event.api.contributions.LecturerBookingUserUpdateContribution
getReplacementEntity
-
Constructor Details
-
LecturerBookingUserWageUpdateContribution
public LecturerBookingUserWageUpdateContribution(ClientQuestionService clientQuestionService, TextResources textResources)
-
-
Method Details
-
getRelation
- Specified by:
getRelation
in interfaceLecturerBookingUserUpdateContribution
- Returns:
- the relation to update
-
confirm
Description copied from interface:LecturerBookingUserUpdateContribution
check if relation should be updated, use this to ask for confirmation from user or check other conditions- Specified by:
confirm
in interfaceLecturerBookingUserUpdateContribution
- Parameters:
sources
- the entities that will be updated- Returns:
- true if the entities should be updated, false otherwise
-