io.github.jsoagger.core.business.cloud.operations.people.GetPartyByReferenceOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsoagger-corebusiness-cloud-operations Show documentation
Show all versions of jsoagger-corebusiness-cloud-operations Show documentation
JSoagger core business cloud operation
The newest version!
/**
*
*/
package io.github.jsoagger.core.business.cloud.operations.people;
import java.util.function.Consumer;
import com.google.gson.JsonObject;
import io.github.jsoagger.core.bridge.operation.IOperation;
import io.github.jsoagger.core.bridge.operation.IOperationResult;
/**
* @author Ramilafananana VONJISOA
*
*/
public class GetPartyByReferenceOperation implements IOperation {
/**
* Constructor
*/
public GetPartyByReferenceOperation() {
}
/**
* @{inheritedDoc}
*/
@Override
public void doOperation(JsonObject query,
Consumer resultHandler,
Consumer exHandler) {
try {
if(query == null) throw new NullPointerException("Query can not be null");
}
catch (Exception e) {
if(exHandler != null) exHandler.accept(e);
}
}
}