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
ConstructorsConstructorDescriptionLecturerBookingUserWageUpdateContribution(ClientQuestionService clientQuestionService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck 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, waitMethods 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:
getRelationin interfaceLecturerBookingUserUpdateContribution- Returns:
- the relation to update
-
confirm
Description copied from interface:LecturerBookingUserUpdateContributioncheck if relation should be updated, use this to ask for confirmation from user or check other conditions- Specified by:
confirmin interfaceLecturerBookingUserUpdateContribution- Parameters:
sources- the entities that will be updated- Returns:
- true if the entities should be updated, false otherwise
-