|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages access to the Appointments on an OpenGroupware.org installation.
Method Summary | |
Appointment |
createAppointment(java.util.Date startDate,
java.util.Date endDate,
java.lang.String name)
|
void |
delete(Appointment appointment)
|
java.util.Iterator |
fetch(java.util.Map fetch_spec)
Fetches all Appointments that match the query parameters specified in the Map. |
java.util.Iterator |
fetchIds(java.util.Map fetch_spec)
Fetches all Ids of Appointments that match the query parameters specified in the Map. |
Appointment |
getById(java.lang.String id)
|
Appointment |
insert(Appointment appointment)
|
Appointment |
insertAppointment(java.util.Date startDate,
java.util.Date endDate,
java.lang.String name)
|
Method Detail |
public Appointment getById(java.lang.String id) throws OgoException, ConnectionException
OgoException
ConnectionException
public void delete(Appointment appointment) throws OgoException, ConnectionException
OgoException
ConnectionException
public Appointment createAppointment(java.util.Date startDate, java.util.Date endDate, java.lang.String name) throws OgoException, ConnectionException
OgoException
ConnectionException
public Appointment insertAppointment(java.util.Date startDate, java.util.Date endDate, java.lang.String name) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Iterator fetchIds(java.util.Map fetch_spec) throws OgoException, ConnectionException
fetch_spec
- a Map with String keys that specify what Appointments
to fetch. Two keys for the Map are "startDate" and "endDate" which
take java.util.Date objects as values. these allow to query
Appointments after a date and/or before a date. For further keys,refer
to the OpenGroupware.org documentation.
OgoException
ConnectionException
public java.util.Iterator fetch(java.util.Map fetch_spec) throws OgoException, ConnectionException
fetch_spec
- a Map with String keys that specify what Appointments
to fetch. Two keys for the Map are "startDate" and "endDate" which take
java.util.Date objects as values; these allow to query Appointments
after a date and/or before a date. For further keys, refer to the
OpenGroupware.org documentation.
OgoException
ConnectionException
public Appointment insert(Appointment appointment) throws OgoException, ConnectionException
OgoException
ConnectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |