|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.api.OXObject
com.openexchange.api.OXSqlObject
com.openexchange.api.OXCommon
com.openexchange.api.OXCalendar
com.openexchange.api.OXAppointment
public class OXAppointment
OXAppointment
Nested Class Summary | |
---|---|
class |
OXAppointment.SearchQuery
|
Field Summary | |
---|---|
static int |
ABSENT
|
static int |
DEFAULTFOLDER
|
static java.lang.String |
DELETE_EXCEPTIONS
|
static int |
FREE
|
static java.lang.String |
FULL_TIME
|
static java.lang.String |
CHANGE_EXCEPTIONS
|
static java.lang.String |
LOCATION
|
static int |
RESERVED
|
static java.lang.String |
RESOURCES
|
static java.lang.String |
SHOWN_AS
|
static int |
TEMPORARY
|
Fields inherited from class com.openexchange.api.OXCalendar |
---|
ACCEPT, ALARM, APRIL, AUGUST, DAILY, DAY, DAY_IN_MONTH, DAYS, DECEMBER, DECLINE, END_DATE, FEBRUARY, FRIDAY, INTERVAL, JANUARY, JULY, JUNE, MARCH, MAY, MONDAY, MONTH, MONTHLY, NONE, NOTE, NOTIFICATION, NOVEMBER, OCTOBER, PARTICIPANTS, PRIVATE, RECURRENCE_DATE_POSITION, RECURRENCE_ID, RECURRENCE_POSITION, RECURRENCE_TYPE, SATURDAY, SEPTEMBER, START_DATE, SUNDAY, THURSDAY, TITLE, TUESDAY, UNTIL, WEDNESDAY, WEEK_DAY, WEEKEND_DAY, WEEKLY, YEARLY |
Fields inherited from class com.openexchange.api.OXCommon |
---|
ATTACHMENT_FLAG, CATEGORIES, CREATED_BY, FOLDER_ID, MODIFIED_BY, PERSONAL_FOLDER_ID |
Fields inherited from class com.openexchange.api.OXSqlObject |
---|
DELETED, NEW_AND_MODIFIED |
Fields inherited from class com.openexchange.api.OXObject |
---|
CREATION_TIME, LAST_MODIFIED, OBJECT_ID |
Method Summary | |
---|---|
void |
addParticipantResource(java.lang.String name)
add resource to this appointment |
java.lang.Object |
clone()
|
OXObject |
create(java.lang.Object internalobject)
returns a new instance of the OXObject |
static OXAppointment |
createOXAppointment(java.lang.Object internalobject)
creates a new Instance of OXAppointment |
void |
createQuery(OXAppointment.SearchQuery oxsearch)
creates a extended Query with the given SearchQuery |
void |
delete()
delete this appointment |
int |
getDoublicateID()
return the id of the object with the same attributes. |
java.lang.String |
getLocation()
return the location |
java.util.Iterator |
getParticipantResources()
return an iterator with all resource in this appointment |
java.util.Date[] |
getRecurrenceDeleteExceptions()
return the recurrence delete exceptions |
java.util.Date[] |
getRecurrenceChangeExceptions()
return the recurrence change exceptions |
OXSearchQuery |
getSearchQuery()
get a new Instance of OXSearchQuery |
int |
getShownAs()
return shown_as (RESERVED, TEMPORARY, ABSENT, FREE) |
boolean |
isFullTime()
return if this appointment is fulltime or not |
void |
load()
load the object with all informations |
void |
removeParticipantResource(java.lang.String name)
removes a resource from this appointment |
void |
reset()
reset the object to the default values |
void |
save()
save the appointment |
void |
saveConfirm(int confirm)
saves the confirmation to this appointment for the current user |
void |
saveConfirm(java.lang.String confirm_user,
int confirm)
saves the confirmation to this appointment for a specified user |
void |
setDeleteQuery(java.util.Date since)
creates a Query to get private deleted objects since the given date |
void |
setDeleteQuery(java.util.Date since,
int folder_id)
creates a Query to get all deleted objects since the given date in folder |
void |
setFullTime(boolean fulltime)
set the fulltime boolean param boolean fulltime |
void |
setLocation(java.lang.String location)
set the location |
void |
setShownAs(int shown_as)
set shownas (RESERVED, TEMPORARY, ABSENT, FREE) |
void |
setSimpleQuery(java.util.Date since)
creates a Query to get all private objects since the given date |
void |
setSimpleQuery(java.util.Date since,
int folder_id)
creates a Query to get all objects in the specified folder |
Methods inherited from class com.openexchange.api.OXCommon |
---|
delete, delete, getCreatedBy, getFolderID, getModifiedBy, hasAttachments, load, setFolderID, setReturnnames |
Methods inherited from class com.openexchange.api.OXSqlObject |
---|
canDelete, canRead, canWrite, destroy, getNext, getSQL_ORDER, getSQL_SELECT, getSQL_WHERE, getSQL, insert, load, setSQL_ORDER, setSQL_WHERE, setSQL |
Methods inherited from class com.openexchange.api.OXObject |
---|
contains, get, getConnection, getCreationTime, getInternalFieldname, getLastModified, getMandatoryFields, getMappedField, getObjectID, getPassword, getReadableFields, getUser, getWriteableFields, isNull, iterator, put, remove, set, setInternalObject, setObjectID, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DELETE_EXCEPTIONS
public static final java.lang.String CHANGE_EXCEPTIONS
public static final java.lang.String FULL_TIME
public static final java.lang.String LOCATION
public static final java.lang.String SHOWN_AS
public static final java.lang.String RESOURCES
public static final int RESERVED
public static final int TEMPORARY
public static final int ABSENT
public static final int FREE
public static final int DEFAULTFOLDER
Method Detail |
---|
public OXObject create(java.lang.Object internalobject)
OXObject
public static OXAppointment createOXAppointment(java.lang.Object internalobject) throws OXPermissionException
internalobject
-
OXPermissionException
public void setDeleteQuery(java.util.Date since) throws java.lang.Exception, OXPermissionException
setDeleteQuery
in class OXCommon
since
-
java.lang.Exception
OXPermissionException
public void setDeleteQuery(java.util.Date since, int folder_id) throws java.lang.Exception, OXPermissionException
since
- folder_id
-
java.lang.Exception
OXPermissionException
public void setSimpleQuery(java.util.Date since) throws java.lang.Exception, OXConflictException, OXPermissionException
setSimpleQuery
in class OXCommon
since
-
java.lang.Exception
OXConflictException
OXPermissionException
public void setSimpleQuery(java.util.Date since, int folder_id) throws java.lang.Exception, OXConflictException, OXPermissionException
setSimpleQuery
in class OXCommon
since
- folder_id
-
java.lang.Exception
OXConflictException
OXPermissionException
public void createQuery(OXAppointment.SearchQuery oxsearch) throws java.lang.Exception, OXConflictException
oxsearch
-
java.lang.Exception
OXConflictException
public void load() throws java.lang.Exception, OXConflictException, OXPermissionException
load
in class OXSqlObject
java.lang.Exception
OXConflictException
OXPermissionException
public java.util.Date[] getRecurrenceChangeExceptions()
public java.util.Date[] getRecurrenceDeleteExceptions()
public int getShownAs()
public void setShownAs(int shown_as)
shown_as
- public boolean isFullTime()
public void setFullTime(boolean fulltime)
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- public OXSearchQuery getSearchQuery()
getSearchQuery
in class OXSqlObject
public java.util.Iterator getParticipantResources()
public void addParticipantResource(java.lang.String name)
name
- public void removeParticipantResource(java.lang.String name)
name
- public void save() throws OXConflictException, OXMandatoryFieldException, OXPermissionException, java.lang.Exception
save
in class OXSqlObject
OXConflictException
OXMandatoryFieldException
OXPermissionException
java.lang.Exception
public void delete() throws java.lang.Exception, OXConflictException, OXPermissionException
delete
in class OXObject
java.lang.Exception
OXConflictException
OXPermissionException
public void saveConfirm(int confirm) throws java.lang.Exception, OXConflictException, OXPermissionException
confirm
- (NONE, ACCEPT, DECLINE)
java.lang.Exception
OXConflictException
OXPermissionException
public void saveConfirm(java.lang.String confirm_user, int confirm) throws java.lang.Exception, OXConflictException, OXPermissionException
confirm_user
- confirm
- (NONE, ACCEPT, DECLINE)
java.lang.Exception
OXConflictException
OXPermissionException
public void reset()
reset
in class OXSqlObject
public int getDoublicateID()
getDoublicateID
in class OXCommon
public java.lang.Object clone()
clone
in class OXCalendar
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |