All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.formkiq.server.service.SaveActionService Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy