com.formkiq.server.service.SaveActionService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
package com.formkiq.server.service;
import com.formkiq.server.service.dto.SaveActionRequest;
import com.formkiq.server.service.dto.SaveActionResponse;
/**
* Actions that can be performed on Save.
*
*/
public interface SaveActionService {
/**
* Name of Save Action Service.
* @return {@link String}
*/
String getName();
/**
* Returns whether request is supported by Service.
* @param request SaveActionRequest
* @return boolean
*/
boolean isSupported(SaveActionRequest request);
/**
* Performs a SaveActionRequest and returns the result.
* @param request SaveActionRequest
* @return SaveActionResult
* @throws SaveActionException SaveActionException
*/
SaveActionResponse perform(SaveActionRequest request)
throws SaveActionException;
}