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

tech.guyi.web.quick.service.controller.handler.ServiceUpdateEntityHandler Maven / Gradle / Ivy

The newest version!
package tech.guyi.web.quick.service.controller.handler;

import tech.guyi.web.quick.core.controller.interfaces.handler.UpdateEntityHandler;
import tech.guyi.web.quick.service.getter.GetService;

public interface ServiceUpdateEntityHandler extends UpdateEntityHandler, GetService {

    @Override
    default void deleteById(ID id) {
        this.getService().deleteById(id);
    }

    @Override
    default E save(E entity) {
        return this.getService().autoSave(entity);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy