Android Open Source - DataSync Sync D A O






From Project

Back to project page DataSync.

License

The source code is released under:

Apache License

If you think the Android project DataSync 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

package com.cardiomood.android.sync.ormlite;
//w  w w  .ja  v a2  s .co  m
import com.j256.ormlite.dao.BaseDaoImpl;
import com.j256.ormlite.support.ConnectionSource;

import java.sql.SQLException;

/**
 * Created by antondanhsin on 09/10/14.
 */
public class SyncDAO<T extends SyncEntity, ID> extends BaseDaoImpl<T, ID> {

    protected SyncDAO(ConnectionSource connectionSource, Class<T> dataClass) throws SQLException {
        super(connectionSource, dataClass);
    }

    public T findBySyncId(String syncId) throws SQLException {
        return SyncHelper.findBySyncId(this, syncId);
    }

}




Java Source Code List

com.cardiomood.android.sync.SyncException.java
com.cardiomood.android.sync.annotations.ParseClass.java
com.cardiomood.android.sync.annotations.ParseField.java
com.cardiomood.android.sync.ormlite.SyncDAO.java
com.cardiomood.android.sync.ormlite.SyncEntity.java
com.cardiomood.android.sync.ormlite.SyncHelper.java
com.cardiomood.android.sync.parse.ParseTools.java
com.cardiomood.android.sync.parse.ParseValueConverter.java
com.cardiomood.android.sync.parse.SimpleParseValueConverter.java
com.cardiomood.android.sync.tools.ReflectionUtils.java