cn.vertxup.erp.service.EmployeeStub Maven / Gradle / Ivy
package cn.vertxup.erp.service;
import io.vertx.core.Future;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import java.util.Set;
/*
* This api provide service interface to do following things
* 1) When created employee, the interface should update related user information
* call `EcUser` service for updating
*/
public interface EmployeeStub {
String USER_ID = "userId";
Future createAsync(JsonObject data);
Future updateAsync(String key, JsonObject data);
Future deleteAsync(String key);
Future fetchAsync(String key);
Future fetchAsync(Set keys);
Future fetchAsync(JsonObject condition);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy