
com.metaring.framework.persistence.QueryFunctionality Maven / Gradle / Ivy
package com.metaring.framework.persistence;
import java.util.concurrent.CompletableFuture;
import com.metaring.framework.functionality.AbstractFunctionality;
import com.metaring.framework.functionality.GeneratedFunctionality;
import com.metaring.framework.functionality.FunctionalityInfo;
import com.metaring.framework.type.DataRepresentation;
abstract class QueryFunctionality extends AbstractFunctionality implements GeneratedFunctionality {
static final FunctionalityInfo INFO = FunctionalityInfo.create("com.metaring.framework.persistence.query", true, false, false, "java.lang.String", "com.metaring.framework.type.DataRepresentation");
static final QueryFunctionality INSTANCE = new QueryFunctionalityImpl();
protected QueryFunctionality() {
super(INFO, DataRepresentation.class);
}
@Override
protected final CompletableFuture beforePreConditionCheck(Object input) throws Exception {
CompletableFuture response = beforePreConditionCheck(input == null ? null : (String) input);
return response == null ? end : response;
}
protected CompletableFuture beforePreConditionCheck(String input) throws Exception {
return end;
}
@Override
protected final CompletableFuture preConditionCheck(Object input) throws Exception {
CompletableFuture response = preConditionCheck(input == null ? null : (String) input);
return response == null ? end : response;
}
protected abstract CompletableFuture preConditionCheck(String input) throws Exception;
@Override
protected final CompletableFuture afterPreConditionCheck(Object input) throws Exception {
CompletableFuture response = afterPreConditionCheck(input == null ? null : (String) input);
return response == null ? end : response;
}
protected CompletableFuture afterPreConditionCheck(String input) throws Exception {
return end;
}
@Override
protected final CompletableFuture beforeCall(Object input) throws Exception {
CompletableFuture response = beforeCall(input == null ? null : (String) input);
return response == null ? end : response;
}
protected CompletableFuture beforeCall(String input) throws Exception {
return end;
}
@Override
protected final CompletableFuture
© 2015 - 2025 Weber Informatics LLC | Privacy Policy