Android Open Source - Curio_android_SDK Curio D B Contract






From Project

Back to project page Curio_android_SDK.

License

The source code is released under:

Apache License

If you think the Android project Curio_android_SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Copyright (C) 2014 Turkcell//from   w ww .  j  ava  2  s  .com
 * 
 * Created by Can Ciloglu on 10 Haz 2014
 *
 */
package com.turkcell.curio.utils;

import android.provider.BaseColumns;

/**
 * Curio DB contract class that holds database table schemas.
 * 
 * @author Can Ciloglu
 *
 */
public class CurioDBContract {

  public CurioDBContract() {
  }
  
  /**
   * Base interface for tables that we store requests. 
   * 
   * @author Can Ciloglu
   *
   */
  public interface BaseOfflineEntryColumns {
    public static final String COLUMN_NAME_DATA = "data";
    public static final String COLUMN_NAME_IN_PROCESS = "in_process";
    public static final String COLUMN_NAME_TIMESTAMP = "timestamp";
  }
  
  /**
   * Interface for periodic dispatch request table.
   * 
   * @author Can Ciloglu
   *
   */
  public static abstract class CurioPeriodicDispatchEntry implements BaseOfflineEntryColumns, BaseColumns{
    public static final String TABLE_NAME = "curio_periodic_dispatch";
  }
  
  /**
   * Interface for offline cache table.
   * 
   * @author Can Ciloglu
   *
   */
  public static abstract class CurioOfflineCacheEntry implements BaseOfflineEntryColumns, BaseColumns{
    public static final String TABLE_NAME = "curio_offline_cache";
    public static final String COLUMN_NAME_SESSION_CODE = "session_code";
  }
}




Java Source Code List

com.turkcell.curio.CurioClient.java
com.turkcell.curio.CurioRequestProcessor.java
com.turkcell.curio.DBRequestProcessor.java
com.turkcell.curio.ICurioResultListener.java
com.turkcell.curio.INetworkConnectivityChangeListener.java
com.turkcell.curio.model.OfflineRequest.java
com.turkcell.curio.model.OnlineRequest.java
com.turkcell.curio.model.Screen.java
com.turkcell.curio.utils.Constants.java
com.turkcell.curio.utils.CurioClientSettings.java
com.turkcell.curio.utils.CurioDBContract.java
com.turkcell.curio.utils.CurioDBHelper.java
com.turkcell.curio.utils.CurioLogger.java
com.turkcell.curio.utils.CurioUtil.java
com.turkcell.curio.utils.NetworkUtil.java
com.turkcell.curio.utils.ParameterLoader.java
com.turkcell.curio.utils.PushUtil.java
com.turkcell.curio.utils.UUIDGenerator.java
com.turkcell.curio.utils.VisitorCodeManager.java
com.turkcell.curiosample.BlankActivity.java
com.turkcell.curiosample.MainActivity.java
com.turkcell.curiosample.PushNotificationBroadcastReceiver.java
com.turkcell.curiosample.PushNotificationIntentService.java