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

org.nustaq.kontraktor.services.rlclient.IDataConnected Maven / Gradle / Ivy

package org.nustaq.kontraktor.services.rlclient;

import org.nustaq.kontraktor.annotations.CallerSideMethod;
import org.nustaq.kontraktor.services.rlclient.DataClient;
import org.nustaq.reallive.api.RealLiveTable;

/**
 * Created by ruedi on 29.05.17.
 */
public interface IDataConnected {

    @CallerSideMethod
    DataClient getDataClient();

    @CallerSideMethod
    default RealLiveTable getTable(String name) {
        return getDataClient().getTable(name);
    }

    @CallerSideMethod
    default String getUserTableName() {
        return "user";
    }

    @CallerSideMethod
    default String getConfirmationTableName() {
        return "confirmation";
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy