com.backendless.IDataStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
Android SDK used by developers to provide Backendless API in apps.
/*
* ********************************************************************************************************************
*
* BACKENDLESS.COM CONFIDENTIAL
*
* ********************************************************************************************************************
*
* Copyright 2012 BACKENDLESS.COM. All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains the property of Backendless.com and its suppliers,
* if any. The intellectual and technical concepts contained herein are proprietary to Backendless.com and its
* suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret
* or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden
* unless prior written permission is obtained from Backendless.com.
*
* ********************************************************************************************************************
*/
package com.backendless;
import com.backendless.async.callback.AsyncCallback;
import com.backendless.exceptions.BackendlessException;
import com.backendless.persistence.BackendlessDataQuery;
import java.util.List;
public interface IDataStore
{
public E save( E entity ) throws BackendlessException;
public void save( E entity, AsyncCallback responder );
public Long remove( E entity ) throws BackendlessException;
public void remove( E entity, AsyncCallback responder );
public E findFirst() throws BackendlessException;
public E findFirst( int relationsDepth ) throws BackendlessException;
public E findFirst( List relations ) throws BackendlessException;
public void findFirst( AsyncCallback responder );
public void findFirst( int relationsDepth, AsyncCallback responder );
public void findFirst( List relations, AsyncCallback responder );
public E findLast() throws BackendlessException;
public E findLast( int relationsDepth ) throws BackendlessException;
public E findLast( List relations ) throws BackendlessException;
public void findLast( AsyncCallback responder );
public void findLast( int relationsDepth, AsyncCallback responder );
public void findLast( List relations, AsyncCallback responder );
public BackendlessCollection find() throws BackendlessException;
public BackendlessCollection find( BackendlessDataQuery dataQueryOptions ) throws BackendlessException;
public void find( AsyncCallback> responder );
public void find( BackendlessDataQuery dataQueryOptions, AsyncCallback> responder );
public E findById( String id ) throws BackendlessException;
public E findById( String id, List relations ) throws BackendlessException;
public E findById( String id, int relationsDepth ) throws BackendlessException;
public E findById( String id, List relations, int relationsDepth ) throws BackendlessException;
public E findById( E entity ) throws BackendlessException;
public E findById( E entity, List relations ) throws BackendlessException;
public E findById( E entity, int relationsDepth ) throws BackendlessException;
public E findById( E entity, List relations, int relationsDepth ) throws BackendlessException;
public void findById( String id, AsyncCallback responder );
public void findById( String id, List relations, AsyncCallback responder );
public void findById( String id, int relationsDepth, AsyncCallback responder );
public void findById( String id, List relations, int relationsDepth, AsyncCallback responder );
public void findById( E entity, AsyncCallback responder );
public void findById( E entity, List relations, AsyncCallback responder );
public void findById( E entity, int relationsDepth, AsyncCallback responder );
public void findById( E entity, List relations, int relationsDepth, AsyncCallback responder );
public void loadRelations( E entity, List relations ) throws BackendlessException;
public void loadRelations( E entity, List relations, AsyncCallback responder );
}