Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.resource.calendar
Class CwCalendarItemProperties

java.lang.Object
  extended byoracle.workspaces.resource.CwResourceItemProperties
      extended byoracle.workspaces.resource.calendar.CwCalendarItemProperties

All Implemented Interfaces:
CwCalendarConstants, CwEntityProperties
Direct Known Subclasses:
CwEventProperties, CwTaskProperties

public abstract class CwCalendarItemProperties
extends CwResourceItemProperties
implements CwCalendarConstants

This class represents calendar resource item properties.


Field Summary

Fields inherited from interface oracle.workspaces.resource.calendar.CwCalendarConstants
ATTENDING_TYPE_ALL, ATTENDING_TYPE_SUBGROUP, CLASS_CONFIDENTIAL, CLASS_NORMAL, CLASS_PRIVATE, CLASS_PUBLIC, CUTYPE_GROUP, CUTYPE_INDIVIDUAL, CUTYPE_RESOURCE, CUTYPE_ROOM, CUTYPE_UNKNOWN, EVENT_STATUS_CONFIRMED, EVENT_STATUS_TENTATIVE, EVENT_TYPE_APPOINTMENT, EVENT_TYPE_DAILYNOTE, EVENT_TYPE_DAYEVENT, EVENT_TYPE_HOLIDAY, FREEBUSY_STATUS_BUSY, FREEBUSY_STATUS_FREE, FREEBUSY_STATUS_TENTATIVE, IMEETING_TYPE_REGULAR, IMEETING_TYPE_RESTRICTED, MAX_YEAR, MIN_YEAR, PARTSTAT_ACCEPTED, PARTSTAT_DECLINED, PARTSTAT_NEEDSACTION, PARTSTAT_TENTATIVE, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_LOWEST, PRIORITY_NORMAL, REPEATING_NO, REPEATING_UNKNOWN, REPEATING_YES, SHOWASFREE_BUSY, SHOWASFREE_FREE, SHOWASFREE_OUT, SHOWASFREE_TENTATIVE

Method Summary
java.lang.String getCalUid()
Gets Calendar native UID.
java.util.Date getCreatedTime()
Returns the creation time
java.lang.String getDataGuid()
Gets calendar native data GUID.
java.lang.String getDescription()
Returns the description.
java.util.Date getEndTime()
Returns the ending time
java.util.Date getLastModifiedTime()
Returns the time of last modification
java.lang.String getName()
Returns the name.
CwUser getOwner()
Returns the owner of this resource item.
java.lang.String getPriority()
Gets the priority.
CwUser getProposer()
Gets the proposer of this calendar item.
java.util.Date getStartTime()
Returns the starting time
java.lang.String getSummary()
Gets summary.
void setDescription(java.lang.String description)
Sets the description.
void setEndTime(java.util.Date end)
Sets the ending time
void setName(java.lang.String name)
Sets the name.
void setPriority(java.lang.String priority)
Sets the priority.
void setStartTime(java.util.Date start)
Sets the starting time
void setSummary(java.lang.String summary)
Sets summary.

Methods inherited from class oracle.workspaces.resource.CwResourceItemProperties
getLastAccessTime, getLastModifiedBy, getUid

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getCalUid

public java.lang.String getCalUid()
                           throws CwException
Gets Calendar native UID.
Throws:
CwException

getCreatedTime

public java.util.Date getCreatedTime()
                              throws CwException
Returns the creation time
Specified by:
getCreatedTime in interface CwEntityProperties
Overrides:
getCreatedTime in class CwResourceItemProperties
Throws:
CwException

getDataGuid

public java.lang.String getDataGuid()
                             throws CwException
Gets calendar native data GUID.
Throws:
CwException

getDescription

public java.lang.String getDescription()
                                throws CwException
Returns the description.
Overrides:
getDescription in class CwResourceItemProperties
Throws:
CwException

getEndTime

public java.util.Date getEndTime()
                          throws CwException
Returns the ending time
Throws:
CwException

getLastModifiedTime

public java.util.Date getLastModifiedTime()
                                   throws CwException
Returns the time of last modification
Specified by:
getLastModifiedTime in interface CwEntityProperties
Overrides:
getLastModifiedTime in class CwResourceItemProperties
Throws:
CwException

getName

public java.lang.String getName()
                         throws CwException
Returns the name.
Overrides:
getName in class CwResourceItemProperties
Throws:
CwException

getOwner

public CwUser getOwner()
                throws CwException
Returns the owner of this resource item.
Overrides:
getOwner in class CwResourceItemProperties
Throws:
CwException

getPriority

public java.lang.String getPriority()
                             throws CwException
Gets the priority. It should be one of the following values: PRIORITY_HIGHEST PRIORITY_HIGH PRIORITY_NORMAL PRIORITY_LOW PRIORITY_LOWEST
Throws:
CwException

getProposer

public CwUser getProposer()
                   throws CwException
Gets the proposer of this calendar item. NOTE: We will get the real proposer of the item and in the following order: 1. Check the SEND-BY info carried in ORGANIZER part, and user it if exists. 2. Check the username embedded in UID, and get the user 3. Return the unknown user
Throws:
CwException

getStartTime

public java.util.Date getStartTime()
                            throws CwException
Returns the starting time
Throws:
CwException

getSummary

public java.lang.String getSummary()
                            throws CwException
Gets summary. This is actually the same as name.
Throws:
CwException

setDescription

public void setDescription(java.lang.String description)
                    throws CwException
Sets the description.
Overrides:
setDescription in class CwResourceItemProperties
Parameters:
description - description of the item.
Throws:
CwException

setEndTime

public void setEndTime(java.util.Date end)
                throws CwException
Sets the ending time
Parameters:
end - ending time
Throws:
CwException

setName

public void setName(java.lang.String name)
             throws CwException
Sets the name.
Overrides:
setName in class CwResourceItemProperties
Parameters:
name - the name of the resource item
Throws:
CwException

setPriority

public void setPriority(java.lang.String priority)
                 throws CwException
Sets the priority. It should be one of the following values: PRIORITY_HIGHEST PRIORITY_HIGH PRIORITY_NORMAL PRIORITY_LOW PRIORITY_LOWEST
Parameters:
priority - Priority to be set.
Throws:
CwException

setStartTime

public void setStartTime(java.util.Date start)
                  throws CwException
Sets the starting time
Parameters:
start - the starting time
Throws:
CwException

setSummary

public void setSummary(java.lang.String summary)
                throws CwException
Sets summary. This actually sets the name.
Parameters:
summary - Summary to be set.
Throws:
CwException

Copyright © 2001, 2005, Oracle. All rights reserved.