/** --| ADAPTIVE RUNTIME PLATFORM |---------------------------------------------------------------------------------------- (C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless required by appli- -cable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Original author: * Carlos Lozano Diez <http://github.com/carloslozano> <http://twitter.com/adaptivecoder> <mailto:carlos@adaptive.me> Contributors: * Ferran Vila Conesa <http://github.com/fnva> <http://twitter.com/ferran_vila> <mailto:ferran.vila.conesa@gmail.com> * See source code files for contributors. Release: * @version v2.2.0 -------------------------------------------| aut inveniam viam aut faciam |-------------------------------------------- */ package me.adaptive.arp.impl; import me.adaptive.arp.api.BasePIMDelegate; import me.adaptive.arp.api.ContactUid; import me.adaptive.arp.api.IContact; import me.adaptive.arp.api.IContactFieldGroup; import me.adaptive.arp.api.IContactFilter; import me.adaptive.arp.api.IContactPhotoResultCallback; import me.adaptive.arp.api.IContactResultCallback; /** * Interface for Managing the Contact operations * Auto-generated implementation of IContact specification. */ public class ContactDelegate extends BasePIMDelegate implements IContact { /** * Default Constructor. */ public ContactDelegate() { super(); } /** * Get all the details of a contact according to its id * * @param contact id to search for * @param callback called for return * @since v2.0 */ public void getContact(ContactUid contact, IContactResultCallback callback) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":getContact"); } /** * Get the contact photo * * @param contact id to search for * @param callback called for return * @since v2.0 */ public void getContactPhoto(ContactUid contact, IContactPhotoResultCallback callback) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":getContactPhoto"); } /** * Get all contacts * * @param callback called for return * @since v2.0 */ public void getContacts(IContactResultCallback callback) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":getContacts"); } /** * Get marked fields of all contacts * * @param callback called for return * @param fields to get for each Contact * @since v2.0 */ public void getContactsForFields(IContactResultCallback callback, IContactFieldGroup[] fields) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":getContactsForFields"); } /** * Get marked fields of all contacts according to a filter * * @param callback called for return * @param fields to get for each Contact * @param filter to search for * @since v2.0 */ public void getContactsWithFilter(IContactResultCallback callback, IContactFieldGroup[] fields, IContactFilter[] filter) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":getContactsWithFilter"); } /** * Search contacts according to a term and send it to the callback * * @param term string to search * @param callback called for return * @since v2.0 */ public void searchContacts(String term, IContactResultCallback callback) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":searchContacts"); } /** * Search contacts according to a term with a filter and send it to the callback * * @param term string to search * @param callback called for return * @param filter to search for * @since v2.0 */ public void searchContactsWithFilter(String term, IContactResultCallback callback, IContactFilter[] filter) { // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":searchContactsWithFilter"); } /** * Set the contact photo * * @param contact id to assign the photo * @param pngImage photo as byte array * @return true if set is successful;false otherwise * @since v2.0 */ public boolean setContactPhoto(ContactUid contact, byte[] pngImage) { boolean response; // TODO: Not implemented. throw new UnsupportedOperationException(this.getClass().getName() + ":setContactPhoto"); // return response; } } /** ------------------------------------| Engineered with ♥ in Barcelona, Catalonia |-------------------------------------- */