|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that implement this interface provide access to Domino via some
protocol. One instance of a class that implements this interface is created
for every session. Its openSession
method is the first one
that's called, and closeSession
is called when the session is
to be closed.
Method Summary | |
void |
acceptAssignment(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Accepts the assignment. |
void |
acceptAssignmentCounter(java.lang.String sID,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String sComment,
java.lang.String sSubject)
Accepts the counter. |
void |
acceptCounter(java.lang.String sID,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String sComment,
java.lang.String sSubject)
Accepts the counter. |
void |
acceptInvitation(java.lang.String sID,
java.lang.String sComment,
boolean bTentative,
java.lang.String sSubject)
Accepts the invitation and removes it from the Inbox. |
void |
acceptInvitation(java.lang.String sID,
java.lang.String sComment,
boolean bTentative,
java.lang.String sSubject,
boolean bRemoveFromInbox)
Accepts the invitation. |
void |
addAttachment(java.lang.String sID,
java.lang.String sName,
javax.activation.DataHandler handler)
Hits the server to add an attachment to a document. |
void |
cancelAppointment(java.lang.String sID,
java.lang.String sSubject,
java.lang.String sComment)
Hits the server to cancel an appointment. |
void |
changeAppointmentNotify(java.lang.String sSID,
java.lang.String sID,
java.lang.String sSubject,
boolean bScheduleChange)
Sends meeting notification for appointment changes. |
void |
checkSession()
Checks a session. |
void |
closeSession()
Closes a session. |
void |
completedAssignment(java.lang.String sID,
java.util.Date completedDate,
java.lang.String sComment,
java.lang.String sSubject,
java.lang.String sAdjustSubject)
Marks the assignment as completed. |
void |
confirmAppointment(java.lang.String sID,
java.lang.String sSubject,
java.lang.String sComment)
Hits the server to confirm an appointment. |
void |
copyDocuments(java.lang.String[] ids,
java.lang.String sFolderID)
Copies the documents to a folder. |
void |
copyFolder(java.lang.String sSourceFolderID,
java.lang.String sTargetFolderID,
java.lang.String sNewName)
Copies the folder to another folder. |
void |
counterAssignment(java.lang.String sID,
java.util.Date startDate,
java.util.Date dueDate,
java.lang.String sComment,
java.lang.String sSubject)
Counters the assignment. |
void |
counterInvitation(java.lang.String sID,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String sComment,
java.lang.String sSubject)
Counters the invitation. |
java.lang.String |
createDocument(PropertyValue[] values)
Hits the server to create a document. |
java.lang.String |
createFolder(java.lang.String sFolderID,
java.lang.String sName,
PropertyKey[] keys)
Creates a folder. |
void |
declineAssignment(java.lang.String sID,
java.lang.String sComment,
boolean bKeepInformed,
java.lang.String sSubject)
Declines the assignment. |
void |
declineAssignmentCounter(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Declines the counter. |
void |
declineCounter(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Declines the counter. |
void |
declineInvitation(java.lang.String sID,
java.lang.String sComment,
boolean bKeepInformed,
java.lang.String sSubject)
Declines the invitation. |
void |
delegateAssignment(java.lang.String sID,
java.lang.String sDelegee,
java.lang.String sComment,
boolean bKeepInformed,
java.lang.String sSubject)
Delegates the assignment. |
void |
delegateInvitation(java.lang.String sID,
java.lang.String sDelegee,
java.lang.String sComment,
boolean bKeepInformed,
java.lang.String sSubject)
Delegates the invitation. |
void |
deleteAllRepeatInstance(java.lang.String sID)
Deletes the all repeating instances. |
void |
deleteAppointmentRepeatInstance(java.lang.String sID,
java.util.Date[] previousStartDates,
java.util.Date[] previousEndDates,
java.util.Date[] futureStartDates,
java.util.Date[] futureEndDates)
Deletes the repeating appointment instance. |
void |
deleteAttachment(java.lang.String sID,
int iIndex)
Hits the server to delete an attachment from a document. |
void |
deleteDocuments(java.lang.String[] documentIDs)
Hits the server to delete the specified documents. |
void |
deleteFolders(java.lang.String[] folderIDs)
Deletes the specified folders. |
void |
deleteProfile(java.lang.String sProfileName,
java.lang.String sProfileUser)
Delete the profile. |
void |
deleteTaskRepeatInstance(java.lang.String sID,
java.util.Date[] previousStartDates,
java.util.Date[] previousEndDates,
java.util.Date[] futureStartDates,
java.util.Date[] futureEndDates)
Deletes the repeating task instance. |
java.lang.String |
endTrace()
Ends tracing calls to the server and returns a string showing all calls that were made since tracing was started. |
AbstractDocument |
forwardDocument(java.lang.String sID,
PropertyKey[] keys)
Gets a new document to forward. |
AbstractDocument[] |
getAddressBookEntries(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
java.util.Date freeBusyStart,
java.util.Date freeBusyEnd,
int iInterval,
java.lang.String sFile,
java.lang.String sServer,
java.lang.String sFilterKey)
Gets address book entries. |
AbstractDocument[] |
getAddressBookEntries(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
java.lang.String sFile,
java.lang.String sServer,
java.lang.String sFilterKey)
Gets address book entries. |
int |
getAddressBookEntriesCount(java.lang.String sFile,
java.lang.String sServer,
java.lang.String sFilterKey)
Gets address book entry count. |
AbstractDocument[] |
getAddressBooks()
Gets address books. |
AbstractDocument[] |
getAddressBooks(java.lang.String sDAServerName)
Gets address books from the Domino Directory server |
AbstractDocument[] |
getAppointments(int iStartIndex,
int iEndIndex,
java.util.Date startDate,
java.util.Date endDate,
PropertyKey[] keys)
Gets appointments. |
javax.activation.DataHandler |
getAttachment(java.lang.String sID,
int iIndex,
java.lang.String sName)
Gets an attachment. |
long |
getAttachmentSizeLimit()
Gets the attachment size limit (in bytes). |
int |
getContactCount(ContactFilter filter)
Gets the contact count. |
int |
getContactCountStaticView(java.lang.String sSearchKey)
Gets the contact count using static views. |
AbstractDocument[] |
getContacts(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
java.lang.String sFormula)
Gets contacts. |
AbstractDocument[] |
getContactsStaticView(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
java.lang.String sSearchKey)
Gets contacts using static views. |
java.lang.String[][] |
getCookies()
Get cookies used with http session. |
AbstractDocument |
getDocument(java.lang.String sID,
PropertyKey[] keys,
java.util.Date instanceDate)
Gets the document. |
int |
getDocumentCountByViewName(java.lang.String sViewName,
java.lang.String sKey)
Gets the document count. |
int |
getDocumentCountByViewUNID(java.lang.String sViewUNID,
java.lang.String sKey)
Gets the document count. |
AbstractDocument[] |
getDocumentsByViewName(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
java.lang.String sKey,
java.lang.String sViewName)
Gets documents. |
AbstractDocument[] |
getDocumentsByViewUNID(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
java.lang.String sKey,
java.lang.String sViewID)
Gets documents. |
javax.activation.DataHandler |
getEmbeddedImage(java.lang.String sID,
java.lang.String sImageID)
Hits the server to get an embedded image of a document. |
java.util.List |
getFolder(FolderType type,
PropertyKey[] keys)
Gets the specified folder by type. |
java.util.List |
getFolder(java.lang.String sFolderID,
PropertyKey[] keys)
Gets the specified folder. |
java.util.List |
getFolders(PropertyKey[] keys,
java.lang.String[] expandedFolderIDs)
Gets folders. |
FreeBusy |
getFreeBusy(java.lang.String sFullName,
java.util.Date startDate,
java.util.Date endDate,
int iInterval)
Gets free/busy time |
java.lang.String |
getID()
Gets a unique ID for the session (only unique to the server the session is connected to). |
java.lang.String |
getMailbox()
Gets the mailbox for the session. |
MailboxQuota |
getMailboxQuota()
Hits the server to get the mailbox quota. |
AbstractDocument[] |
getMeetingResponses(java.lang.String sID)
Hits the server to get the meeting responses. |
int |
getMemoCount(MemoFilter filter)
Gets the memo count. |
AbstractDocument[] |
getMemos(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
MemoFilter filter)
Gets memos. |
AbstractDocument[] |
getMemosByFolderUNID(java.lang.String sFolderID,
int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp)
Gets documents. |
AbstractItem |
getProfile(java.lang.String sProfileName,
java.lang.String sProfileUser,
PropertyKey[] keys)
Get a Profile. |
java.lang.String |
getProxyServerPassword()
Gets the password used to log into the proxy server. |
java.lang.String |
getProxyServerURL()
Gets the URL for the proxy server. |
java.lang.String |
getProxyServerUsername()
Gets the username used to log into the proxy server. |
PropertyValue[] |
getRepeatPattern(java.lang.String sID)
Hits the server to get the repeat pattern for an appointment. |
AbstractDocument[] |
getResources(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
java.lang.String sFile,
java.lang.String sServer,
java.lang.String sFilterKey)
Gets resources. |
int |
getResourcesCount(java.lang.String sFile,
java.lang.String sServer)
Gets the resources count. |
AbstractDocument[] |
getRooms(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
java.lang.String sFile,
java.lang.String sServer,
java.lang.String sFilterKey)
Gets rooms. |
int |
getRoomsCount(java.lang.String sFile,
java.lang.String sServer)
Gets the rooms count. |
java.lang.String |
getServiceURL()
Gets the Compoze Domino Service URL for the session. |
java.util.List |
getSubFolders(java.lang.String sID,
int iDepth,
PropertyKey[] keys)
Gets the subfolders. |
int |
getTaskCount(TaskFilter filter)
Gets the task count. |
AbstractDocument[] |
getTasks(int iStartIndex,
int iEndIndex,
PropertyKey[] keys,
SortProperty sortProp,
java.lang.String sFormula)
Gets tasks. |
java.util.TimeZone |
getTimeZone()
Gets the time zone for this protocol. |
UserInfo |
getUserInfo()
Gets the user info for the session. |
void |
moveDocuments(java.lang.String[] ids,
java.lang.String sSourceFolderID,
java.lang.String sTargetFolderID)
Moves the documents to a folder. |
void |
moveFolder(java.lang.String sSourceFolderID,
java.lang.String sTargetFolderID)
Moves the folder to another folder. |
java.lang.String |
openSession(java.util.Properties connectionProps)
Opens a session. |
AbstractDocument |
replyDocument(java.lang.String sID,
boolean bReplyAll,
PropertyKey[] keys)
Gets a new document to reply. |
void |
requestInfoAssignment(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Requests information about the assignment. |
void |
requestInfoInvitation(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Requests information about the invitation. |
void |
sendAssignmentInformation(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Sends the information update. |
void |
sendInformation(java.lang.String sID,
java.lang.String sComment,
java.lang.String sSubject)
Sends the information update. |
void |
sendMeetingRequest(java.lang.String sID,
Recipient[] recipients,
boolean bSaveInSent,
java.lang.String sNewSubject,
java.lang.String sSubject)
Hits the server to send the meeting request. |
PropertyValue[] |
setAllDayEventRepeatPattern(java.lang.String sID,
PropertyKey[] keys,
java.util.Date endDate,
RepeatPattern repeatPattern)
Hits the server to set the repeat pattern for an all day event. |
PropertyValue[] |
setAppointmentRepeatPattern(java.lang.String sID,
PropertyKey[] keys,
java.util.Date endDate,
RepeatPattern repeatPattern)
Hits the server to set the repeat pattern for an appointment. |
void |
setCookies(java.lang.String[][] sCookies)
Sets any additional cookies to be with the http session. |
PropertyValue[] |
setTaskRepeatPattern(java.lang.String sID,
PropertyKey[] keys,
java.util.Date dueDate,
RepeatPattern repeatPattern)
Hits the server to set the repeat pattern for a task. |
void |
setTimeZone(java.util.TimeZone timeZone)
Sets the time zone for this protocol. |
void |
startTrace(boolean bVerbose)
Starts tracing calls to the server. |
void |
updateAppointment(java.lang.String sID,
boolean bSend,
java.lang.String sSubject,
PropertyValue[] vals)
Updates appointment and any meeting attendees. |
void |
updateAppointmentRepeatAll(java.lang.String sID,
long lStartDateAdjustmentSec,
long lEndDateAdjustmentSec,
PropertyValue[] vals)
Updates an appointment repeat all instances. |
java.lang.String |
updateAppointmentRepeatInstance(java.lang.String sID,
java.util.Date[] previousStartDates,
java.util.Date[] previousEndDates,
java.util.Date[] futureStartDates,
java.util.Date[] futureEndDates,
java.util.Date startInstanceDate,
java.util.Date endInstanceDate,
PropertyValue[] vals)
Updates the repeating appointment instance. |
void |
updateDocument(java.lang.String sDocumentID,
PropertyValue[] values,
Recipient[] recipients)
Hits the server to update a document. |
void |
updateFolder(java.lang.String sFolderID,
PropertyValue[] values)
Hits the server to update folders. |
void |
updateProfile(java.lang.String sProfileName,
java.lang.String sProfileUser,
PropertyValue[] values)
Update the profile. |
Method Detail |
public javax.activation.DataHandler getEmbeddedImage(java.lang.String sID, java.lang.String sImageID) throws DominoException
sID
- the id of the documentsImageID
- the id of the imagepublic void addAttachment(java.lang.String sID, java.lang.String sName, javax.activation.DataHandler handler) throws DominoException
sID
- the id of the documentsName
- the name of the attachmenthandler
- a handler that can supply the attachment datapublic MailboxQuota getMailboxQuota() throws DominoException
MailboxQuota
public java.util.TimeZone getTimeZone()
public void setTimeZone(java.util.TimeZone timeZone)
timeZone
- the time zonepublic void deleteAttachment(java.lang.String sID, int iIndex) throws DominoException
sID
- the id of the documentiIndex
- the index of the attachmentpublic void cancelAppointment(java.lang.String sID, java.lang.String sSubject, java.lang.String sComment) throws DominoException
sID
- the id of the documentsSubject
- the subjectsComment
- the cancellation commentpublic AbstractDocument[] getMeetingResponses(java.lang.String sID) throws DominoException
sID
- the id of the documentpublic void confirmAppointment(java.lang.String sID, java.lang.String sSubject, java.lang.String sComment) throws DominoException
sID
- the id of the documentsSubject
- the subjectsComment
- the confirmation commentpublic java.lang.String openSession(java.util.Properties connectionProps) throws DominoException
connectionProps
- the connection propertiesDominoException
- if a problem occurred while opening the sessionpublic void setCookies(java.lang.String[][] sCookies)
sCookies
- two dimensional array of name/value pairs to send as cookiespublic java.lang.String[][] getCookies()
public java.util.List getFolder(java.lang.String sFolderID, PropertyKey[] keys) throws DominoException
sFolderID
- the ID of the folder to getkeys
- the keys to load for the folderPropertyValue
arraysDominoException
- if a problem occurred while opening the sessionpublic java.util.List getSubFolders(java.lang.String sID, int iDepth, PropertyKey[] keys) throws DominoException
sID
- the folder IDiDepth
- the depth to retrievekeys
- the properties to bring back from the new folder or null
to not retrieve the newly created folderPropertyValue
arrayspublic java.util.List getFolder(FolderType type, PropertyKey[] keys) throws DominoException
type
- the folder typekeys
- the keys to load for the folderPropertyValue
arraysDominoException
- if a problem occurred while opening the sessionpublic void deleteFolders(java.lang.String[] folderIDs) throws DominoException
DominoException
- if a problem occurred while opening the sessionpublic java.lang.String createFolder(java.lang.String sFolderID, java.lang.String sName, PropertyKey[] keys) throws DominoException
sFolderID
- the parent foldersName
- the new folder namekeys
- the keys to loadDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void copyFolder(java.lang.String sSourceFolderID, java.lang.String sTargetFolderID, java.lang.String sNewName) throws DominoException
DominoException
- if a problem occurred while opening the sessionpublic void moveFolder(java.lang.String sSourceFolderID, java.lang.String sTargetFolderID) throws DominoException
DominoException
- if a problem occurred while opening the sessionpublic javax.activation.DataHandler getAttachment(java.lang.String sID, int iIndex, java.lang.String sName) throws DominoException
public void startTrace(boolean bVerbose)
bVerbose
- if true
, trace data sent and
received, otherwise just trace elapsed time and number of requestspublic java.lang.String endTrace()
public java.util.List getFolders(PropertyKey[] keys, java.lang.String[] expandedFolderIDs) throws DominoException
PropertyValue
arraysDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getDocumentsByViewName(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, java.lang.String sKey, java.lang.String sViewName) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort bysKey
- the view key or null
to ignoresViewName
- the view name to retrieve the documents fromDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getContacts(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, java.lang.String sFormula) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort bysFormula
- the formula or null
to ignoreDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getContactsStaticView(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, java.lang.String sSearchKey) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort bysSearchKey
- the last name search key or null
to ignoreDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getTasks(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, java.lang.String sFormula) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort bysFormula
- the formula or null
to ignoreDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getAppointments(int iStartIndex, int iEndIndex, java.util.Date startDate, java.util.Date endDate, PropertyKey[] keys) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allstartDate
- the start date (inclusive) or null
for no start dateendDate
- the end date (exclusive) or null
for no end datekeys
- the properties to bring back from the appointmentDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getAddressBookEntries(int iStartIndex, int iEndIndex, PropertyKey[] keys, java.lang.String sFile, java.lang.String sServer, java.lang.String sFilterKey) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsFile
- the address book filesServer
- the address book serversFilterKey
- the search filter key or null
for no search filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getAddressBookEntries(int iStartIndex, int iEndIndex, PropertyKey[] keys, java.util.Date freeBusyStart, java.util.Date freeBusyEnd, int iInterval, java.lang.String sFile, java.lang.String sServer, java.lang.String sFilterKey) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentfreeBusyStart
- the start date of the free busy query or null
for no free/busyfreeBusyEnd
- the end date of the free busy query or null
for no free/busyiInterval
- the free busy interval (in minutes)sFile
- the address book filesServer
- the address book serversFilterKey
- the search filter key or null
for no search filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getRooms(int iStartIndex, int iEndIndex, PropertyKey[] keys, java.lang.String sFile, java.lang.String sServer, java.lang.String sFilterKey) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsFile
- the address book filesServer
- the address book serverDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getResources(int iStartIndex, int iEndIndex, PropertyKey[] keys, java.lang.String sFile, java.lang.String sServer, java.lang.String sFilterKey) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsFile
- the address book filesServer
- the address book serverDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getAddressBookEntriesCount(java.lang.String sFile, java.lang.String sServer, java.lang.String sFilterKey) throws DominoException
sFile
- the address book filesServer
- the address book serversFilterKey
- the search filter key or null
for no search filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getRoomsCount(java.lang.String sFile, java.lang.String sServer) throws DominoException
sFile
- the address book filesServer
- the address book serverDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getResourcesCount(java.lang.String sFile, java.lang.String sServer) throws DominoException
sFile
- the address book filesServer
- the address book serverDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getAddressBooks() throws DominoException
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getAddressBooks(java.lang.String sDAServerName) throws DominoException
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic FreeBusy getFreeBusy(java.lang.String sFullName, java.util.Date startDate, java.util.Date endDate, int iInterval) throws DominoException
sFullName
- the FullName of the address entry to query free/busystartDate
- the start date of the free busy query or nullendDate
- the end date of the free busy query or nulliInterval
- the interval (in minutes)DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getDocumentsByViewUNID(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, java.lang.String sKey, java.lang.String sViewID) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort bysKey
- the view key or null
to ignoresViewID
- the view id to retrieve the documents fromDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getMemosByFolderUNID(java.lang.String sFolderID, int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp) throws DominoException
sFolderID
- the folder id to retrieve the documents fromiStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort byDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument[] getMemos(int iStartIndex, int iEndIndex, PropertyKey[] keys, SortProperty sortProp, MemoFilter filter) throws DominoException
iStartIndex
- the start index endpoint (inclusive) or -1 for alliEndIndex
- the end index highpoint (exclusive) or -1 for allkeys
- the properties to bring back from the documentsortProp
- the property to sort byfilter
- the filter (may not be null
)DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument getDocument(java.lang.String sID, PropertyKey[] keys, java.util.Date instanceDate) throws DominoException
sID
- the document idkeys
- the properties to bring back from the documentinstanceDate
- the instance date or null
for nonenull
if not foundDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument forwardDocument(java.lang.String sID, PropertyKey[] keys) throws DominoException
sID
- the document id to forward fromkeys
- the properties to bring back from the documentnull
if not foundDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic AbstractDocument replyDocument(java.lang.String sID, boolean bReplyAll, PropertyKey[] keys) throws DominoException
sID
- the document id to reply frombReplyAll
- true
to reply to all or false
otherwise.keys
- the properties to bring back from the documentnull
if not foundDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getDocumentCountByViewUNID(java.lang.String sViewUNID, java.lang.String sKey) throws DominoException
sViewUNID
- the view UNID to retrieve the document count forsKey
- the view key or null
to ignoreDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getContactCount(ContactFilter filter) throws DominoException
filter
- the filter or null
for no filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getContactCountStaticView(java.lang.String sSearchKey) throws DominoException
sSearchKey
- the last name search key or null
for no filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getMemoCount(MemoFilter filter) throws DominoException
filter
- the filter or null
for no filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getTaskCount(TaskFilter filter) throws DominoException
filter
- the filter or null
for no filteringDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void acceptInvitation(java.lang.String sID, java.lang.String sComment, boolean bTentative, java.lang.String sSubject) throws DominoException
sID
- the invitation idsComment
- the commentbTentative
- true
to tentatively accept; false
otherwisesSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void acceptInvitation(java.lang.String sID, java.lang.String sComment, boolean bTentative, java.lang.String sSubject, boolean bRemoveFromInbox) throws DominoException
sID
- the invitation idsComment
- the commentbTentative
- true
to tentatively accept; false
otherwisesSubject
- the subjectbRemoveFromInbox
- true
to remove appointment from Inbox; false
to keepDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void sendInformation(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the invitation idsComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void declineInvitation(java.lang.String sID, java.lang.String sComment, boolean bKeepInformed, java.lang.String sSubject) throws DominoException
sID
- the invitation idsComment
- the commentbKeepInformed
- true
to keep informed of event updatessSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void declineCounter(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idsComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void acceptCounter(java.lang.String sID, java.util.Date startDate, java.util.Date endDate, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idstartDate
- the start dateendDate
- the end datesComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void delegateInvitation(java.lang.String sID, java.lang.String sDelegee, java.lang.String sComment, boolean bKeepInformed, java.lang.String sSubject) throws DominoException
sID
- the invitation idsDelegee
- the delegee name (must not be null
or empty)sComment
- the comment or null
for no commentbKeepInformed
- true
to keep informed of event updatessSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void counterInvitation(java.lang.String sID, java.util.Date startDate, java.util.Date endDate, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the invitation idstartDate
- the proposed start date and timeendDate
- the proposed end date and timesComment
- the comment or null
for no commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void requestInfoInvitation(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the invitation idsComment
- the comment or null
for no commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void acceptAssignment(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void sendAssignmentInformation(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic java.lang.String updateAppointmentRepeatInstance(java.lang.String sID, java.util.Date[] previousStartDates, java.util.Date[] previousEndDates, java.util.Date[] futureStartDates, java.util.Date[] futureEndDates, java.util.Date startInstanceDate, java.util.Date endInstanceDate, PropertyValue[] vals) throws DominoException
sID
- the assignment idpreviousStartDates
- the previous start datespreviousEndDates
- the previous end datesfutureStartDates
- the future start datesfutureEndDates
- the future end datesstartInstanceDate
- the start instance dateendInstanceDate
- the end instance datevals
- the properties to updateDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void updateAppointmentRepeatAll(java.lang.String sID, long lStartDateAdjustmentSec, long lEndDateAdjustmentSec, PropertyValue[] vals) throws DominoException
sID
- the appointment to updatelStartDateAdjustmentSec
- the start date adjustment (in seconds)lEndDateAdjustmentSec
- the end date adjustment (in seconds)vals
- the properties to updatepublic void changeAppointmentNotify(java.lang.String sSID, java.lang.String sID, java.lang.String sSubject, boolean bScheduleChange) throws DominoException
sSID
- the session idsID
- the appointment to updatesSubject
- the notification subjectbScheduleChange
- true
to indicate a change in the schedulepublic void updateAppointment(java.lang.String sID, boolean bSend, java.lang.String sSubject, PropertyValue[] vals) throws DominoException
sID
- the appointment to updatebSend
- true to send change if necessarysSubject
- the appointment subjectvals
- the properties to updatepublic void deleteAppointmentRepeatInstance(java.lang.String sID, java.util.Date[] previousStartDates, java.util.Date[] previousEndDates, java.util.Date[] futureStartDates, java.util.Date[] futureEndDates) throws DominoException
sID
- the assignment idpreviousStartDates
- the previous start datespreviousEndDates
- the previous end datesfutureStartDates
- the future start datesfutureEndDates
- the future end datesDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void deleteTaskRepeatInstance(java.lang.String sID, java.util.Date[] previousStartDates, java.util.Date[] previousEndDates, java.util.Date[] futureStartDates, java.util.Date[] futureEndDates) throws DominoException
sID
- the assignment idpreviousStartDates
- the previous start datespreviousEndDates
- the previous end datesfutureStartDates
- the future start datesfutureEndDates
- the future end datesDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void deleteAllRepeatInstance(java.lang.String sID) throws DominoException
sID
- the assignment idDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void declineAssignment(java.lang.String sID, java.lang.String sComment, boolean bKeepInformed, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the commentbKeepInformed
- true
to keep informed of event updatessSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void declineAssignmentCounter(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idsComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void acceptAssignmentCounter(java.lang.String sID, java.util.Date startDate, java.util.Date endDate, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idstartDate
- the start dateendDate
- the end datesComment
- the commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void delegateAssignment(java.lang.String sID, java.lang.String sDelegee, java.lang.String sComment, boolean bKeepInformed, java.lang.String sSubject) throws DominoException
sID
- the assignment idsDelegee
- the delegee name (must not be null
or empty)sComment
- the comment or null
for no commentbKeepInformed
- true
to keep informed of event updatessSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void counterAssignment(java.lang.String sID, java.util.Date startDate, java.util.Date dueDate, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idstartDate
- the proposed start datedueDate
- the proposed due datesComment
- the comment or null
for no commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void requestInfoAssignment(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the comment or null
for no commentsSubject
- the subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void completedAssignment(java.lang.String sID, java.util.Date completedDate, java.lang.String sComment, java.lang.String sSubject, java.lang.String sAdjustSubject) throws DominoException
sID
- the assignment idcompletedDate
- the completed date (may not be null
)sComment
- the comment or null
for no commentsSubject
- the subjectsAdjustSubject
- the adjust subjectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic int getDocumentCountByViewName(java.lang.String sViewName, java.lang.String sKey) throws DominoException
sViewName
- the view name to retrieve the document count forsKey
- the view key or null
to ignoreDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void updateFolder(java.lang.String sFolderID, PropertyValue[] values) throws DominoException
sFolderID
- the ID of the folder to updatevalues
- the values to updatepublic void updateDocument(java.lang.String sDocumentID, PropertyValue[] values, Recipient[] recipients) throws DominoException
sDocumentID
- the ID of the document to updatevalues
- the values to updaterecipients
- an array of recipients or null
to not sendpublic void sendMeetingRequest(java.lang.String sID, Recipient[] recipients, boolean bSaveInSent, java.lang.String sNewSubject, java.lang.String sSubject) throws DominoException
sID
- the appointment idrecipients
- the recipients to send the appointment to (may not be null
)bSaveInSent
- true
to save a copy of this in the sent folder; false
otherwisesNewSubject
- the new meeting subjectsSubject
- the meeting subjectpublic void deleteDocuments(java.lang.String[] documentIDs) throws DominoException
documentIDs
- the IDs of the documents to deletepublic java.lang.String createDocument(PropertyValue[] values) throws DominoException
values
- the values for the new documentpublic AbstractItem getProfile(java.lang.String sProfileName, java.lang.String sProfileUser, PropertyKey[] keys) throws DominoException
sProfileName
- the profile namesProfileUser
- the user name or null
keys
- the properties to bring back from the documentnull
if the arguments were incorrectDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void updateProfile(java.lang.String sProfileName, java.lang.String sProfileUser, PropertyValue[] values) throws DominoException
sProfileName
- the profile namesProfileUser
- the user name or null
values
- the values to update the profile withDominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic void deleteProfile(java.lang.String sProfileName, java.lang.String sProfileUser) throws DominoException
sProfileName
- the profile namesProfileUser
- the user name or null
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicepublic PropertyValue[] setTaskRepeatPattern(java.lang.String sID, PropertyKey[] keys, java.util.Date dueDate, RepeatPattern repeatPattern) throws DominoException
sID
- the task idkeys
- the keys for the documentdueDate
- the due date or null
if not setrepeatPattern
- the repeating patternpublic PropertyValue[] setAppointmentRepeatPattern(java.lang.String sID, PropertyKey[] keys, java.util.Date endDate, RepeatPattern repeatPattern) throws DominoException
sID
- the appointment idkeys
- the keys for the documentendDate
- the end date or null
if not setrepeatPattern
- the repeating patternpublic PropertyValue[] getRepeatPattern(java.lang.String sID) throws DominoException
sID
- the appointment idpublic PropertyValue[] setAllDayEventRepeatPattern(java.lang.String sID, PropertyKey[] keys, java.util.Date endDate, RepeatPattern repeatPattern) throws DominoException
sID
- the appointment idkeys
- the keys for the documentendDate
- the end date or null
if not setrepeatPattern
- the repeating patternpublic void copyDocuments(java.lang.String[] ids, java.lang.String sFolderID) throws DominoException
ids
- the ids of the documents to copysFolderID
- the ID of the target folderpublic void moveDocuments(java.lang.String[] ids, java.lang.String sSourceFolderID, java.lang.String sTargetFolderID) throws DominoException
ids
- the ids of the documents to movesSourceFolderID
- the ID of the source foldersTargetFolderID
- the ID of the target folderpublic void closeSession() throws DominoException
DominoException
- if a problem occurred while closing the sessionpublic void checkSession() throws DominoException
DominoException
- if a problem occurred while closing the sessionpublic java.lang.String getID()
public java.lang.String getMailbox()
public UserInfo getUserInfo()
public java.lang.String getServiceURL()
public long getAttachmentSizeLimit()
public java.lang.String getProxyServerURL()
null
)public java.lang.String getProxyServerUsername()
null
)public java.lang.String getProxyServerPassword()
null
)
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |