Sha256: e4f7b322cef0425e675eaab599acbbd9100af75aea3a83cb4f99808644a3259e
Contents?: true
Size: 1.97 KB
Versions: 1
Compression:
Stored size: 1.97 KB
Contents
package com.rho.newormmodel; import java.util.List; import java.util.Map; import com.rhomobile.rhodes.api.IMethodResult; public abstract class NewORMModelSingletonBase { public static class enumerateTask implements Runnable { private INewORMModelSingleton mApiSingleton; private IMethodResult mResult; public enumerateTask(INewORMModelSingleton obj, IMethodResult result) { this.mApiSingleton = obj; this.mResult = result; } @Override public void run() { try { mApiSingleton.enumerate( mResult); } catch (Throwable ex) { mResult.set(ex); } } } public static class getModelTask implements Runnable { private INewORMModelSingleton mApiSingleton; private String modelName; private IMethodResult mResult; public getModelTask(INewORMModelSingleton obj, String modelName, IMethodResult result) { this.mApiSingleton = obj; this.modelName = modelName; this.mResult = result; } @Override public void run() { try { mApiSingleton.getModel( modelName, mResult); } catch (Throwable ex) { mResult.set(ex); } } } public static class clearTask implements Runnable { private INewORMModelSingleton mApiSingleton; private IMethodResult mResult; public clearTask(INewORMModelSingleton obj, IMethodResult result) { this.mApiSingleton = obj; this.mResult = result; } @Override public void run() { try { mApiSingleton.clear( mResult); } catch (Throwable ex) { mResult.set(ex); } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tauplatform-1.0.1 | lib/commonAPI/coreapi/ext/platform/android/generated/src/com/rho/newormmodel/NewORMModelSingletonBase.java |