com.funambol.domino.items.manager
Class TaskManager
java.lang.Object
com.funambol.domino.items.manager.EntityManager
com.funambol.domino.items.manager.TaskManager
- public class TaskManager
- extends EntityManager
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 |
Method Summary |
SyncItemInfo[] |
getAllSyncItemInfo(java.lang.String viewname)
|
ItemTask |
getItemByUID(java.lang.String UID,
java.lang.String itemFormat)
|
ItemTask[] |
getItemsByWhereClause(ItemTask task,
java.lang.String itemFormat)
checks if a task is already inserted in the db
and returns the Document in the DB
we use: startdate, duedate, subject as search criteria |
ItemTask |
insertItem(ItemTask task,
java.lang.String itemFormat,
boolean istask)
|
boolean |
isTask(DominoWrapper dominoWrapper,
java.lang.String UID)
get Documento from Domino using UID
check if the Docoment.FORM property is: Appointment or Task |
void |
updateItem(ItemTask oldTask,
ItemTask newTask,
java.lang.String itemFormat,
boolean iscal)
updates a document defined by UID
In the parameter content there are all the
value from the client |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskManager
public TaskManager()
TaskManager
public TaskManager(DominoWrapper dominoWrapper_e)
throws DominoAccessException
- Parameters:
dominoWrapper_e
- DominoWrapper
- Throws:
DominoAccessException
getItemByUID
public ItemTask getItemByUID(java.lang.String UID,
java.lang.String itemFormat)
throws EntityException
- Parameters:
UID
- String
- Returns:
- ItemTask
- Throws:
EntityException
getAllSyncItemInfo
public SyncItemInfo[] getAllSyncItemInfo(java.lang.String viewname)
throws EntityException
- Returns:
- SyncItemInfo[]
- Throws:
EntityException
updateItem
public void updateItem(ItemTask oldTask,
ItemTask newTask,
java.lang.String itemFormat,
boolean iscal)
throws EntityException
- updates a document defined by UID
In the parameter content there are all the
value from the client
- Parameters:
oldTask
- ItemTasknewTask
- ItemTaskitemFormat
- Stringiscal
- boolean
- Throws:
EntityException
insertItem
public ItemTask insertItem(ItemTask task,
java.lang.String itemFormat,
boolean istask)
throws EntityException
- Parameters:
task
- ItemTaskitemFormat
- Stringistask
- boolean
- Returns:
- ItemTask
- Throws:
EntityException
getItemsByWhereClause
public ItemTask[] getItemsByWhereClause(ItemTask task,
java.lang.String itemFormat)
throws EntityException
- checks if a task is already inserted in the db
and returns the Document in the DB
we use: startdate, duedate, subject as search criteria
- Parameters:
task
- ItemTaskitemFormat
- String
- Returns:
- found ItemTask already present
- Throws:
EntityException
isTask
public boolean isTask(DominoWrapper dominoWrapper,
java.lang.String UID)
throws EntityException
- get Documento from Domino using UID
check if the Docoment.FORM property is: Appointment or Task
- Parameters:
dominoWrapper
- DominoWrapperUID
- String
- Throws:
EntityException
Copyright © 2003-2006 Funambol.