Sha256: 3650d8ab3529d0da9da4ccf9f240246efae908bb1ef626be69429f75174e3c4e

Contents?: true

Size: 1.71 KB

Versions: 13

Compression:

Stored size: 1.71 KB

Contents

/*------------------------------------------------------------------------
* (The MIT License)
* 
* Copyright (c) 2008-2011 Rhomobile, Inc.
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* 
* http://rhomobile.com
*------------------------------------------------------------------------*/

package com.rhomobile.rhodes.phonebook;

import java.util.List;
import java.util.Map;

public interface ContactAccessor {
	
	public int getCount(int offset, int limit) throws Exception;;
	public Map<String, Contact> getContacts(int offset, int max_results, List<String> select) throws Exception;
	public Contact getContact(String id) throws Exception;
	public void save(Contact contact) throws Exception;
	public void remove(Contact contact);
	
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rhodes-3.2.3 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.2 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.2.beta platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.1 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.9 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.8 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.7 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.6 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.5 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.4 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.2 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java
rhodes-3.2.0.beta.1 platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java