superwaba.ext.ce.io.builtin
Class IPOutlookItemCollection

java.lang.Object
  |
  +--superwaba.ext.ce.io.builtin.IPOutlookItemCollection

public class IPOutlookItemCollection
extends java.lang.Object

represents the eVC++ interface IPOutlookItemCollection of the Pocket Outlook Object Model TODO this class is obsolete; put the methods in the I*s classes and kick it


Constructor Summary
IPOutlookItemCollection()
           
 
Method Summary
static IAppointment createIAppointment()
          creates new IAppointment on the device with name NULL and returns ID
static IContact createIContact()
          creates new IContact on the device with all fields empty and returns ID
static ITask createITask()
          creates new ITask on the device with all fields empty and returns ID
static int editIAppointment(java.lang.String oid, java.lang.String subject, java.lang.String location, java.lang.String categories, java.lang.String reminderSoundFile, java.lang.String note, java.lang.String startDate, java.lang.String endDate, java.lang.String duration, java.lang.String meetingStatus, java.lang.String sensitivity, java.lang.String busyStatus, java.lang.String reminderOptions, java.lang.String reminderMinutesBeforeStart, java.lang.String allDayEvent, java.lang.String isRecurring, java.lang.String reminderIsSet, java.lang.String recurrenceType, java.lang.String occurrences, java.lang.String interval, java.lang.String dayOfWeek, java.lang.String dayOfMonth, java.lang.String weekOfMonth, java.lang.String monthOfYear, java.lang.String patternStartDate, java.lang.String patternEndDate, java.lang.String startTime, java.lang.String endTime, java.lang.String noEndDate, java.lang.String recipients)
          edits all the IAppointments matching to the oid on the device
static int editIContact(java.lang.String oid, java.lang.String title, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, java.lang.String suffix, java.lang.String jobTitle, java.lang.String department, java.lang.String company, java.lang.String workTel, java.lang.String workTel2, java.lang.String homeTel, java.lang.String homeTel2, java.lang.String mobileTel, java.lang.String pager, java.lang.String carTel, java.lang.String workFax, java.lang.String homeFax, java.lang.String assistantTel, java.lang.String radioTel, java.lang.String email, java.lang.String email2, java.lang.String email3, java.lang.String webPage, java.lang.String workStreet, java.lang.String workCity, java.lang.String workState, java.lang.String workZip, java.lang.String workCountry, java.lang.String officeLoc, java.lang.String homeStreet, java.lang.String homeCity, java.lang.String homeState, java.lang.String homeZip, java.lang.String homeCountry, java.lang.String otherStreet, java.lang.String otherCity, java.lang.String otherState, java.lang.String otherZip, java.lang.String otherCountry, java.lang.String categories, java.lang.String assistant, java.lang.String birthdayAsDateHelperGenericDateString, java.lang.String anniversaryAsDateHelperGenericDateString, java.lang.String spouse, java.lang.String children, java.lang.String note)
          edits all the IContacts matching to the oid on the device
static int editITask(java.lang.String restriction, java.lang.String subject, java.lang.String categories, java.lang.String startDate, java.lang.String dueDate, java.lang.String importance, java.lang.String complete, java.lang.String isRecurring, java.lang.String duration, java.lang.String recurrenceType, java.lang.String occurrences, java.lang.String interval, java.lang.String dayOfWeek, java.lang.String dayOfMonth, java.lang.String weekOfMonth, java.lang.String monthOfYear, java.lang.String patternStartDate, java.lang.String patternEndDate, java.lang.String startTime, java.lang.String endTime, java.lang.String noEndDate, java.lang.String sensitivity, java.lang.String teamTask, java.lang.String reminderIsSet, java.lang.String reminderOptions, java.lang.String reminderTime, java.lang.String note)
           
static IAppointments getIAppointments()
          gets all the Appointments from the device and returns them in an IAppointments Object
static java.lang.String getIAppointmentString(java.lang.String oid)
          gets the native IAppointment String from the device with all the IAppointments matching the oid normally, this method is only used by the IAppointment object when it updates itself with the full data from the device
static IContacts getIContacts()
          gets all the IContacts from the device and returns them in an IContacts object
static java.lang.String getIContactString(java.lang.String oid)
          gets the native IContact String from the device with all the IContacts matching the oid normally, this method is only used by the IContact object when it updates itself with the full data from the device
static ITasks getITasks()
          gets ale the ITasks from the device and returns them in an ITasks object
static java.lang.String getITaskString(java.lang.String oid)
          gets the native ITask String from the device with the ITask matching the oid normally, this method is only used by the ITask object when it updates itself with the full data from the device
static void removeIAppointment(java.lang.String oid)
          removes all the IAppointments matching to the oid from the device normally, this method is only used by the IAppointment object when it removes itself
static void removeIContact(java.lang.String oid)
          removes all the IContacts matching to the oid from the device normally, this method is only used by the IContact object when it removes itself
static void removeITask(java.lang.String oid)
          removes all the ITasks matching to the oid from the device normally, this method is only used by the ITask object when it removes itself
static IAppointments viewIAppointments()
          gets only the ids of all the IAppointments on the device
static IContacts viewIContacts()
          gets only the ids of all the IContacts on the device
static ITasks viewITasks()
          gets only the ids of all the ITasks on the device
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPOutlookItemCollection

public IPOutlookItemCollection()
Method Detail

createIContact

public static IContact createIContact()
creates new IContact on the device with all fields empty and returns ID
Returns:
a new IContact object with only the id field set
Throws:
java.lang.RuntimeException - If it is not possible to create the contact

getIContacts

public static IContacts getIContacts()
gets all the IContacts from the device and returns them in an IContacts object
Returns:
an IContacts object containing all the IContacts of the device

viewIContacts

public static IContacts viewIContacts()
gets only the ids of all the IContacts on the device
Returns:
an IContacts object containing all the IContacts of the device with only the id field set

getIContactString

public static java.lang.String getIContactString(java.lang.String oid)
gets the native IContact String from the device with all the IContacts matching the oid normally, this method is only used by the IContact object when it updates itself with the full data from the device
Parameters:
oid - the object id
Returns:
the IContact as a String separated by the defined separators D1_SEP, D2_SEP ...

removeIContact

public static void removeIContact(java.lang.String oid)
removes all the IContacts matching to the oid from the device normally, this method is only used by the IContact object when it removes itself
Parameters:
oid - the object id

editIContact

public static int editIContact(java.lang.String oid,
                               java.lang.String title,
                               java.lang.String firstName,
                               java.lang.String middleName,
                               java.lang.String lastName,
                               java.lang.String suffix,
                               java.lang.String jobTitle,
                               java.lang.String department,
                               java.lang.String company,
                               java.lang.String workTel,
                               java.lang.String workTel2,
                               java.lang.String homeTel,
                               java.lang.String homeTel2,
                               java.lang.String mobileTel,
                               java.lang.String pager,
                               java.lang.String carTel,
                               java.lang.String workFax,
                               java.lang.String homeFax,
                               java.lang.String assistantTel,
                               java.lang.String radioTel,
                               java.lang.String email,
                               java.lang.String email2,
                               java.lang.String email3,
                               java.lang.String webPage,
                               java.lang.String workStreet,
                               java.lang.String workCity,
                               java.lang.String workState,
                               java.lang.String workZip,
                               java.lang.String workCountry,
                               java.lang.String officeLoc,
                               java.lang.String homeStreet,
                               java.lang.String homeCity,
                               java.lang.String homeState,
                               java.lang.String homeZip,
                               java.lang.String homeCountry,
                               java.lang.String otherStreet,
                               java.lang.String otherCity,
                               java.lang.String otherState,
                               java.lang.String otherZip,
                               java.lang.String otherCountry,
                               java.lang.String categories,
                               java.lang.String assistant,
                               java.lang.String birthdayAsDateHelperGenericDateString,
                               java.lang.String anniversaryAsDateHelperGenericDateString,
                               java.lang.String spouse,
                               java.lang.String children,
                               java.lang.String note)
edits all the IContacts matching to the oid on the device
Parameters:
oid - the object id
Returns:
the number of edited IContacts

createIAppointment

public static IAppointment createIAppointment()
creates new IAppointment on the device with name NULL and returns ID
Returns:
the newly created IAppointment (it is recommend to set its fields next and then to save() it again on the device
Throws:
java.lang.RuntimeException - If it is not possible to create the appointment

getIAppointments

public static IAppointments getIAppointments()
gets all the Appointments from the device and returns them in an IAppointments Object
Returns:
an IAppointments Object containig all the IAppointments of the device

viewIAppointments

public static IAppointments viewIAppointments()
gets only the ids of all the IAppointments on the device
Returns:
an IAppointments object containing all the IAppointments of the device with only the id field set

getIAppointmentString

public static java.lang.String getIAppointmentString(java.lang.String oid)
gets the native IAppointment String from the device with all the IAppointments matching the oid normally, this method is only used by the IAppointment object when it updates itself with the full data from the device
Parameters:
oid - the object id
Returns:
the IAppointment as a String separated by the defined separators D1_SEP, D2_SEP ...

removeIAppointment

public static void removeIAppointment(java.lang.String oid)
removes all the IAppointments matching to the oid from the device normally, this method is only used by the IAppointment object when it removes itself
Parameters:
oid - the object id

editIAppointment

public static int editIAppointment(java.lang.String oid,
                                   java.lang.String subject,
                                   java.lang.String location,
                                   java.lang.String categories,
                                   java.lang.String reminderSoundFile,
                                   java.lang.String note,
                                   java.lang.String startDate,
                                   java.lang.String endDate,
                                   java.lang.String duration,
                                   java.lang.String meetingStatus,
                                   java.lang.String sensitivity,
                                   java.lang.String busyStatus,
                                   java.lang.String reminderOptions,
                                   java.lang.String reminderMinutesBeforeStart,
                                   java.lang.String allDayEvent,
                                   java.lang.String isRecurring,
                                   java.lang.String reminderIsSet,
                                   java.lang.String recurrenceType,
                                   java.lang.String occurrences,
                                   java.lang.String interval,
                                   java.lang.String dayOfWeek,
                                   java.lang.String dayOfMonth,
                                   java.lang.String weekOfMonth,
                                   java.lang.String monthOfYear,
                                   java.lang.String patternStartDate,
                                   java.lang.String patternEndDate,
                                   java.lang.String startTime,
                                   java.lang.String endTime,
                                   java.lang.String noEndDate,
                                   java.lang.String recipients)
edits all the IAppointments matching to the oid on the device
Parameters:
oid - the object id
Returns:
the number of edited IAppointments

viewITasks

public static ITasks viewITasks()
gets only the ids of all the ITasks on the device
Returns:
an ITasks object containing all the ITasks of the device with only the id field set

getITasks

public static ITasks getITasks()
gets ale the ITasks from the device and returns them in an ITasks object
Returns:
an ITasks object containing all the ITasks of the device

createITask

public static ITask createITask()
creates new ITask on the device with all fields empty and returns ID
Returns:
a new ITask object with only the id field set
Throws:
java.lang.RuntimeException - If it is not possible to create the task

getITaskString

public static java.lang.String getITaskString(java.lang.String oid)
gets the native ITask String from the device with the ITask matching the oid normally, this method is only used by the ITask object when it updates itself with the full data from the device
Parameters:
oid - the object id
Returns:
the ITask as a String separated by the defined separators D1_SEP, D2_SEP ...

removeITask

public static void removeITask(java.lang.String oid)
removes all the ITasks matching to the oid from the device normally, this method is only used by the ITask object when it removes itself
Parameters:
oid - the object id

editITask

public static int editITask(java.lang.String restriction,
                            java.lang.String subject,
                            java.lang.String categories,
                            java.lang.String startDate,
                            java.lang.String dueDate,
                            java.lang.String importance,
                            java.lang.String complete,
                            java.lang.String isRecurring,
                            java.lang.String duration,
                            java.lang.String recurrenceType,
                            java.lang.String occurrences,
                            java.lang.String interval,
                            java.lang.String dayOfWeek,
                            java.lang.String dayOfMonth,
                            java.lang.String weekOfMonth,
                            java.lang.String monthOfYear,
                            java.lang.String patternStartDate,
                            java.lang.String patternEndDate,
                            java.lang.String startTime,
                            java.lang.String endTime,
                            java.lang.String noEndDate,
                            java.lang.String sensitivity,
                            java.lang.String teamTask,
                            java.lang.String reminderIsSet,
                            java.lang.String reminderOptions,
                            java.lang.String reminderTime,
                            java.lang.String note)
Returns:
the number of edited tasks