Class LecturerBookingAutoCompleteResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.spi.AbstractAutoCompleteResource
ch.tocco.nice2.optional.salary.impl.autocomplete.LecturerBookingAutoCompleteResource
- All Implemented Interfaces:
RestResource
@Path("/client/salary/lecturer-booking")
public class LecturerBookingAutoCompleteResource
extends AbstractAutoCompleteResource
Auto complete for Lecturer_booking
a) if user is set and default salary exists for this user, override existing values for Salary, income_per_hour and Salary_type
b) if salary is set, override existing values for income_per_hour and Salary_type
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.rest.client.spi.AbstractAutoCompleteResource
AbstractAutoCompleteResource.AutoCompleteBuilder, AbstractAutoCompleteResource.AutoCompleteContext, AbstractAutoCompleteResource.AutoCompleteMode, AbstractAutoCompleteResource.AutoCompleteRequest, AbstractAutoCompleteResource.AutoCompleteValue, AbstractAutoCompleteResource.AutoCompleteValues, AbstractAutoCompleteResource.LookupValue, AbstractAutoCompleteResource.MultiAutoCompleteValue, AbstractAutoCompleteResource.SingleAutoCompleteValue
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.client.spi.AbstractAutoCompleteResource
context, securityManager
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadAutoCompleteValues
(Entity lecturerBooking, String triggerField, AbstractAutoCompleteResource.AutoCompleteContext context) Methods inherited from class ch.tocco.nice2.rest.client.spi.AbstractAutoCompleteResource
customRebindLimit, loadAutoComplete, setClientQuestionService, setContext, setEntityBeanRebinder, setSecurityManager
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
LecturerBookingAutoCompleteResource
-
-
Method Details
-
loadAutoCompleteValues
protected AbstractAutoCompleteResource.AutoCompleteValues loadAutoCompleteValues(Entity lecturerBooking, String triggerField, AbstractAutoCompleteResource.AutoCompleteContext context) - Specified by:
loadAutoCompleteValues
in classAbstractAutoCompleteResource
-