func (h *handlerConfiguration) createUserHandlerFinder(prefix string) handler_finder.HandlerFinder {
	hf := rest.New(prefix)
	hf.RegisterListHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_list.New(h.userService.List), booking_authorization.Organizer))))
	hf.RegisterCreateHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_create.New(h.userService.Create, h.protocoller.AddProtocol), booking_authorization.Administrator))))
	hf.RegisterDeleteHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_delete.New(h.userService.Delete, h.protocoller.AddProtocol), booking_authorization.Administrator))))
	hf.RegisterGetHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_get.New(h.userService.Get), booking_authorization.Administrator))))
	hf.RegisterUpdateHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_update.New(h.userService.Update, h.protocoller.AddProtocol), booking_authorization.Administrator))))
	hf.RegisterPatchHandler(h.nocache(h.handle_errors(h.check_permission(booking_user_handler_update.New(h.userService.Update, h.protocoller.AddProtocol), booking_authorization.Administrator))))
	return hf
}
func (h *handlerConfiguration) createModelHandlerFinder(prefix string) handler_finder.HandlerFinder {
	hf := rest.New(prefix)
	hf.RegisterListHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_list.New(h.modelService.List), booking_authorization.Organizer))))
	hf.RegisterCreateHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_create.New(h.modelService.Create, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterDeleteHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_delete.New(h.modelService.Delete, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterGetHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_get.New(h.modelService.Get, h.authenticationConverter.HttpRequestToAuthentication, h.authorizationService.IsParticipant, h.modelService.GetByToken), booking_authorization.Organizer))))
	hf.RegisterUpdateHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_update.New(h.modelService.Update, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterPatchHandler(h.nocache(h.handle_errors(h.check_permission(booking_model_handler_update.New(h.modelService.Update, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterHandler("GET", "/current", h.nocache(h.handle_errors(h.check_permission(booking_model_handler_current.New(h.authenticationConverter.HttpRequestToAuthentication, h.modelService.GetByToken), booking_authorization.Participant))))
	hf.RegisterHandler("PUT", "/complete", h.nocache(h.handle_errors(h.check_permission(booking_model_handler_complete.New(h.modelService.Update, h.protocoller.AddProtocol), booking_authorization.Participant))))
	hf.RegisterHandler("GET", "/vcard", h.nocache(h.handle_errors(booking_model_handler_vcard.New(h.modelService.GetByToken, h.modelToVCard.WriteModelAsVCard))))
	return hf
}
func (h *handlerConfiguration) createShootingHandlerFinder(prefix string) handler_finder.HandlerFinder {
	hf := rest.New(prefix)
	hf.RegisterListHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_list.New(h.shootingService.List, h.authorizationService.IsParticipant, h.authenticationConverter.HttpRequestToAuthentication, h.modelService.GetByToken, h.shootingService.FindByModelId), booking_authorization.Participant))))
	hf.RegisterCreateHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_create_with_user.New(h.shootingService.Create, h.shootingUserService.UpdateShootingUser, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterDeleteHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_delete.New(h.shootingService.Delete, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterGetHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_get.New(h.shootingService.Get), booking_authorization.Participant))))
	hf.RegisterUpdateHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_update_with_user.New(h.shootingService.Update, h.shootingUserService.UpdateShootingUser, h.shootingService.Get, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterPatchHandler(h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_update_with_user.New(h.shootingService.Update, h.shootingUserService.UpdateShootingUser, h.shootingService.Get, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterHandler("POST", "/book", h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_update.New(h.authenticationConverter.HttpRequestToAuthentication, h.modelService.GetByToken, h.shootingBookService.BookShooting, h.shootingService.Get, h.authorizationService.IsParticipant, h.protocoller.AddProtocol), booking_authorization.Participant))))
	hf.RegisterHandler("POST", "/refuse", h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_update.New(h.authenticationConverter.HttpRequestToAuthentication, h.modelService.GetByToken, h.shootingRefuseService.RefuseShooting, h.shootingService.Get, h.authorizationService.IsParticipant, h.protocoller.AddProtocol), booking_authorization.Participant))))
	hf.RegisterHandler("GET", "/getWithUsers", h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_get_with_user.New(h.shootingService.Get, h.shootingUserService.GetUserIdsForShooting), booking_authorization.Organizer))))
	hf.RegisterHandler("GET", "/listActive", h.nocache(h.handle_errors(h.check_permission(booking_shooting_handler_list.New(h.shootingService.ListWithoutGone, h.authorizationService.IsParticipant, h.authenticationConverter.HttpRequestToAuthentication, h.modelService.GetByToken, h.shootingService.FindByModelId), booking_authorization.Participant))))
	return hf
}
func (h *handlerConfiguration) createDateHandlerFinder(prefix string) handler_finder.HandlerFinder {
	hf := rest.New(prefix)
	hf.RegisterListHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_list.New(h.dateService.List), booking_authorization.Organizer))))
	hf.RegisterCreateHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_create_with_user.New(h.dateService.Create, h.dateUserService.UpdateDateUser, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterDeleteHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_delete.New(h.dateService.Delete, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterGetHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_get.New(h.dateService.Get), booking_authorization.Participant))))
	hf.RegisterUpdateHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_update_with_user.New(h.dateService.Update, h.dateUserService.UpdateDateUser, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterPatchHandler(h.nocache(h.handle_errors(h.check_permission(booking_date_handler_update_with_user.New(h.dateService.Update, h.dateUserService.UpdateDateUser, h.protocoller.AddProtocol), booking_authorization.Organizer))))
	hf.RegisterHandler("GET", "/listWithShooting", h.nocache(h.handle_errors(h.check_permission(booking_date_handler_list.New(h.dateService.ListWithShooting), booking_authorization.Organizer))))
	hf.RegisterHandler("GET", "/listWithoutShooting", h.nocache(h.handle_errors(h.check_permission(booking_date_handler_list.New(h.dateService.ListWithoutShooting), booking_authorization.Organizer))))
	hf.RegisterHandler("GET", "/bookable", h.nocache(h.handle_errors(h.check_permission(booking_date_handler_bookable.New(h.dateService.BookableDatesForShooting), booking_authorization.Participant))))
	hf.RegisterHandler("GET", "/getWithUsers", h.nocache(h.handle_errors(h.check_permission(booking_date_handler_get_with_user.New(h.dateService.Get, h.dateUserService.GetUserIdsForDate), booking_authorization.Participant))))
	return hf
}