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

B25479-01


oracle.workspaces.resource.calendar
Class CwTaskProperties

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

All Implemented Interfaces:
CwCalendarConstants, CwEntityProperties

public class CwTaskProperties
extends CwCalendarItemProperties

This class represents properties of a calendar task.


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.util.Date getCompletedTime()
Gets completed time.
int getCompletePercentage()
Gets complete percentage.
CwTaskAssignee getPrimaryTaskAssignee()
Gets the Primary Task Assignees.
CwTaskAssignee getTaskAssignee(CwIdentity identity)
Gets Task Assignee given the identity.
CwTaskAssignee getTaskAssignee(java.lang.String identityId)
CwTaskAssignee[] getTaskAssignees()
Gets Task Assignees.
void setCompletedTime(java.util.Date compTime)
Sets completed time.
void setCompletePercentage(int percent)
Gets complete percentage.
void setName(java.lang.String name)
Sets name for the resource item.
void setTaskAssignees(CwTaskAssignee[] taskAssignees)
Sets Task Assignees.

Methods inherited from class oracle.workspaces.resource.calendar.CwCalendarItemProperties
getCalUid, getCreatedTime, getDataGuid, getDescription, getEndTime, getLastModifiedTime, getName, getOwner, getPriority, getProposer, getStartTime, getSummary, setDescription, setEndTime, setPriority, setStartTime, setSummary

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

getCompletedTime

public java.util.Date getCompletedTime()
                                throws CwException
Gets completed time. Note: This is only valid if the percentage is 100.
Throws:
CwException

getCompletePercentage

public int getCompletePercentage()
                          throws CwException
Gets complete percentage. The value should between 0 - 100.
Throws:
CwException

getPrimaryTaskAssignee

public CwTaskAssignee getPrimaryTaskAssignee()
                                      throws CwException
Gets the Primary Task Assignees. To set the primary assignee, use the setTaskAssginees method and specify the first assignee in the array as the Primary Task Assignee.
Throws:
CwException

getTaskAssignee

public CwTaskAssignee getTaskAssignee(CwIdentity identity)
                               throws CwException
Gets Task Assignee given the identity.
Parameters:
identity - identity of the assignee.
Throws:
CwException

getTaskAssignee

public CwTaskAssignee getTaskAssignee(java.lang.String identityId)
                               throws CwException
Throws:
CwException

getTaskAssignees

public CwTaskAssignee[] getTaskAssignees()
                                  throws CwException
Gets Task Assignees.
Throws:
CwException

setCompletedTime

public void setCompletedTime(java.util.Date compTime)
                      throws CwException
Sets completed time. Note: Set a non-null value to completed time will automatically change the complete percentage to 100.
Parameters:
compTime - Completed time.
Throws:
CwException

setCompletePercentage

public void setCompletePercentage(int percent)
                           throws CwException
Gets complete percentage. The value should between 0 - 100. Note: This could be set ONLY if completed time is not set.
Parameters:
percent - Complete percentage.
Throws:
CwException

setName

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

setTaskAssignees

public void setTaskAssignees(CwTaskAssignee[] taskAssignees)
                      throws CwException
Sets Task Assignees.
Parameters:
taskAssignees - Task Assignees. The first assignee in the array is the Primary task assignee.
Throws:
CwException

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