|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.AbstractItem
com.compoze.domino.AbstractDocument
com.compoze.domino.Memo
com.compoze.domino.Appointment
com.compoze.domino.Notice
com.compoze.domino.CounterProposal
public class CounterProposal
This class is a Domino counter proposal. Counter proposal instances are obtained
from the Documents
class. Methods that access properites on the class require that the
properties were loaded beforehand, when the counter proposal was initially retrieved.
Any methods in this class that begin with the string server
make a query to the server, and require that the
PropertyKey.DOCUMENT_ID
and PropertyKey.DOCUMENT_TYPE
properties to be loaded beforehand. Any additional
property requirements are indicated on each individual method.
NoticeType.COUNTERED
,
Serialized FormField Summary | |
---|---|
static PropertyKey[] |
ALL_PROPS
Contains an array of all of the properties available on a counter proposal. |
Fields inherited from class com.compoze.domino.AbstractItem |
---|
m_props, m_session |
Method Summary | |
---|---|
java.util.Date |
getNewEndDateTime()
Gets the new end date and time for this invitation. |
java.lang.String |
getNewEndDateTimeString(java.text.DateFormat dateFormat)
Gets the new end date time for this invitation formatted with the specified date format. |
java.util.Date |
getNewStartDateTime()
Gets the new start date and time for this invitation. |
java.lang.String |
getNewStartDateTimeString(java.text.DateFormat dateFormat)
Gets the new start date time for this invitation formatted with the specified date format. |
void |
serverAcceptCounter(java.util.Date startDate,
java.util.Date endDate,
java.lang.String sComment)
Hits the server and accepts the counter proposal. |
void |
serverDeclineCounter(java.lang.String sComment)
Hits the server and declines the counter proposal. |
Methods inherited from class com.compoze.domino.Notice |
---|
getAppointmentID, getNoticeType, getStatusUpdate, getTitle, getTitle, getTopic, serverRemove |
Methods inherited from class com.compoze.domino.AbstractDocument |
---|
getAttachmentCount, getAttachmentInfo, getAttachmentInfoArray, getDateCreated, getDateCreatedString, getDateModified, getDateModifiedString, getDocumentType, getEmbeddedImageCount, getEmbeddedImageInfo, getEmbeddedImageInfoArray, getID, getParentID, getSize, getSizeInKilos, hasAttachment, serverAddAttachment, serverCopyTo, serverDeleteAttachment, serverMoveTo |
Methods inherited from class com.compoze.domino.AbstractItem |
---|
get, getBoolean, getDate, getDateArray, getDouble, getInt, getPropertyKeys, getString, getStringArray, getUpdatedPropertyValues, set, setBoolean, setDate, setDouble, setInt, setString, setStringArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyKey[] ALL_PROPS
Method Detail |
---|
public void serverAcceptCounter(java.util.Date startDate, java.util.Date endDate, java.lang.String sComment) throws DominoException
Note: the start date must be before the end date. If not, the dates are swapped. Counter proposal times cannot span midnight therefore, only the time component of the end date is used. This time must still be before the start date.
startDate
- the start date and time (must not be null
)endDate
- the end date and time (must not be null
)sComment
- the comment or null
for no comment
DominoException
public void serverDeclineCounter(java.lang.String sComment) throws DominoException
sComment
- the comment or null
for no comment
DominoException
public java.util.Date getNewStartDateTime() throws DominoException
null
if this is not a countered invitation
DominoException
PropertyKey.NEW_START_DATE
,
PropertyKey.NEW_START_TIME
,
NoticeType.COUNTERED_INVITATION
public java.lang.String getNewStartDateTimeString(java.text.DateFormat dateFormat) throws DominoException
dateFormat
- the date format (may not be null
)
null
DominoException
PropertyKey.START_DATE_TIME
public java.util.Date getNewEndDateTime() throws DominoException
null
if this is not a countered invitation
DominoException
PropertyKey.NEW_END_DATE
,
PropertyKey.NEW_END_TIME
,
NoticeType.COUNTERED_INVITATION
public java.lang.String getNewEndDateTimeString(java.text.DateFormat dateFormat) throws DominoException
dateFormat
- the date format (may not be null
)
null
DominoException
PropertyKey.END_DATE_TIME
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |