com.funambol.domino.items.manager
Class ContactManager

java.lang.Object
  extended bycom.funambol.domino.items.manager.EntityManager
      extended bycom.funambol.domino.items.manager.ContactManager

public class ContactManager
extends EntityManager


Field Summary
 
Fields inherited from class com.funambol.domino.items.manager.EntityManager
CATEGORY_CLIENTS, CATEGORY_HOLIDAY, CATEGORY_PHONE_CALLS, CATEGORY_PROJECTS, CATEGORY_TRAVEL, CATEGORY_VACATION, CLIENTS_CODE, dao, dominoWrapper, HOLIDAY_CODE, log, PHONE_CALLS_CODE, PROJECTS_CODE, timezone, TRAVEL_CODE, VACATION_CODE
 
Constructor Summary
ContactManager()
           
ContactManager(DominoWrapper dominoWrapper_e)
           
 
Method Summary
 SyncItemInfo[] getAllSyncItemInfo(java.lang.String viewname)
           
 ItemContact getItemByUID(java.lang.String UID, java.lang.String itemFormat)
           
 ItemContact[] getItemsByWhereClause(ItemContact contact, java.lang.String itemFormat)
          checks if a contact is already inserted in the db and returns the Document in the DB we use firstname, lastname as search criteria
 ItemContact insertItem(ItemContact contact, java.lang.String itemFormat)
           
 void updateItem(ItemContact oldItem, ItemContact newItem, java.lang.String itemFormat)
          updates a document defined by UID In the parameter content there are all the value from the client
 
Methods inherited from class com.funambol.domino.items.manager.EntityManager
getDocumentCategories, removeAll, removeItem, setItemValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactManager

public ContactManager()

ContactManager

public ContactManager(DominoWrapper dominoWrapper_e)
               throws DominoAccessException
Parameters:
dominoWrapper_e - DominoWrapper
Throws:
DominoAccessException
Method Detail

updateItem

public void updateItem(ItemContact oldItem,
                       ItemContact newItem,
                       java.lang.String itemFormat)
                throws EntityException
updates a document defined by UID In the parameter content there are all the value from the client

Parameters:
oldItem - ItemContact
newItem - ItemContact
itemFormat - String
Throws:
EntityException

insertItem

public ItemContact insertItem(ItemContact contact,
                              java.lang.String itemFormat)
                       throws EntityException
Parameters:
contact - Contact
itemFormat - String
Returns:
Document
Throws:
EntityException

getAllSyncItemInfo

public SyncItemInfo[] getAllSyncItemInfo(java.lang.String viewname)
                                  throws EntityException
Returns:
SyncItemInfo[]
Throws:
EntityException

getItemByUID

public ItemContact getItemByUID(java.lang.String UID,
                                java.lang.String itemFormat)
                         throws EntityException
Parameters:
UID - String
Returns:
Document
Throws:
EntityException

getItemsByWhereClause

public ItemContact[] getItemsByWhereClause(ItemContact contact,
                                           java.lang.String itemFormat)
                                    throws EntityException
checks if a contact is already inserted in the db and returns the Document in the DB we use firstname, lastname as search criteria

Parameters:
contact - ItemContact
itemFormat - String
Returns:
found ItemContact already present
Throws:
EntityException


Copyright © 2003-2006 Funambol.