Class AvailabilityFlowServiceImpl
java.lang.Object
ch.tocco.nice2.optional.address.impl.flows.AvailabilityFlowServiceImpl
- All Implemented Interfaces:
AvailabilityFlowService
-
Constructor Summary
ConstructorDescriptionAvailabilityFlowServiceImpl
(RebindService rebindService, CommandExecutor executor, ClientQuestionService clientQuestionService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
save
(RebindValue[] rebindValues, Map<String, String> params) rebind values, and if presence is set, change status to 'closed' after user confirms via ClientQuestionvoid
setPresence
(String[] keys, String presence) set Availability_presence on passed Availability entities
-
Constructor Details
-
AvailabilityFlowServiceImpl
public AvailabilityFlowServiceImpl(RebindService rebindService, CommandExecutor executor, ClientQuestionService clientQuestionService, TextResources textResources)
-
-
Method Details
-
save
public void save(RebindValue[] rebindValues, Map<String, String> params) throws UnresolvableUriException, RebindException, UriStoreException, InterruptedException, URISyntaxExceptionDescription copied from interface:AvailabilityFlowService
rebind values, and if presence is set, change status to 'closed' after user confirms via ClientQuestion- Specified by:
save
in interfaceAvailabilityFlowService
- Parameters:
rebindValues
- the rebind values to useparams
- parameters passed by flow- Throws:
UnresolvableUriException
RebindException
UriStoreException
InterruptedException
URISyntaxException
-
setPresence
Description copied from interface:AvailabilityFlowService
set Availability_presence on passed Availability entities- Specified by:
setPresence
in interfaceAvailabilityFlowService
- Parameters:
keys
- the availabilities to editpresence
- the id of the Availability_presence to set
-