|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerProtocol
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,
DataHandler handler)
Hits the server to add an attachment to a document. |
void |
cancelAppointment(java.lang.String sID,
java.lang.String sSubject,
java.util.Date startInstanceDate,
java.util.Date endInstanceDate,
java.lang.String sComment)
Hits the server to cancel an appointment. |
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. |
void |
disableOutOfOfficeAgent(java.lang.String sProfileName,
java.lang.String sProfileUser)
Hits the server to disable the out of office agent. |
void |
enableOutOfOfficeAgent(java.lang.String sProfileName,
java.lang.String sProfileUser)
Hits the server to enable the out of office agent. |
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. |
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. |
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. |
void |
updateTaskRepeatAll(java.lang.String sID,
long lStartDateAdjustmentSec,
long lEndDateAdjustmentSec,
PropertyValue[] vals)
Updates a task repeat all instances. |
java.lang.String |
updateTaskRepeatInstance(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 task instance. |
Method Detail |
---|
DataHandler getEmbeddedImage(java.lang.String sID, java.lang.String sImageID) throws DominoException
sID
- the id of the documentsImageID
- the id of the image
DominoException
void addAttachment(java.lang.String sID, java.lang.String sName, DataHandler handler) throws DominoException
sID
- the id of the documentsName
- the name of the attachmenthandler
- a handler that can supply the attachment data
DominoException
MailboxQuota getMailboxQuota() throws DominoException
DominoException
MailboxQuota
java.util.TimeZone getTimeZone()
void setTimeZone(java.util.TimeZone timeZone)
timeZone
- the time zonevoid deleteAttachment(java.lang.String sID, int iIndex) throws DominoException
sID
- the id of the documentiIndex
- the index of the attachment
DominoException
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 comment
DominoException
void cancelAppointment(java.lang.String sID, java.lang.String sSubject, java.util.Date startInstanceDate, java.util.Date endInstanceDate, java.lang.String sComment) throws DominoException
sID
- the id of the documentsSubject
- the subjectsComment
- the cancellation comment
DominoException
AbstractDocument[] getMeetingResponses(java.lang.String sID) throws DominoException
sID
- the id of the document
DominoException
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 comment
DominoException
java.lang.String openSession(java.util.Properties connectionProps) throws DominoException
connectionProps
- the connection properties
DominoException
- if a problem occurred while opening the sessionvoid setCookies(java.lang.String[][] sCookies)
sCookies
- two dimensional array of name/value pairs to send as cookiesjava.lang.String[][] getCookies()
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 folder
PropertyValue
arrays
DominoException
- if a problem occurred while opening the sessionjava.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 folder
PropertyValue
arrays
DominoException
java.util.List getFolder(FolderType type, PropertyKey[] keys) throws DominoException
type
- the folder typekeys
- the keys to load for the folder
PropertyValue
arrays
DominoException
- if a problem occurred while opening the sessionvoid deleteFolders(java.lang.String[] folderIDs) throws DominoException
DominoException
- if a problem occurred while opening the sessionjava.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 load
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid copyFolder(java.lang.String sSourceFolderID, java.lang.String sTargetFolderID, java.lang.String sNewName) throws DominoException
DominoException
- if a problem occurred while opening the sessionvoid moveFolder(java.lang.String sSourceFolderID, java.lang.String sTargetFolderID) throws DominoException
DominoException
- if a problem occurred while opening the sessionDataHandler getAttachment(java.lang.String sID, int iIndex, java.lang.String sName) throws DominoException
DominoException
void startTrace(boolean bVerbose)
bVerbose
- if true
, trace data sent and
received, otherwise just trace elapsed time and number of requestsjava.lang.String endTrace()
java.util.List getFolders(PropertyKey[] keys, java.lang.String[] expandedFolderIDs) throws DominoException
PropertyValue
arrays
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 from
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 ignore
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 ignore
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 ignore
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 appointment
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 server
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 server
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint 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 filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getRoomsCount(java.lang.String sFile, java.lang.String sServer) throws DominoException
sFile
- the address book filesServer
- the address book server
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getResourcesCount(java.lang.String sFile, java.lang.String sServer) throws DominoException
sFile
- the address book filesServer
- the address book server
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] getAddressBooks() throws DominoException
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] getAddressBooks(java.lang.String sDAServerName) throws DominoException
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceFreeBusy 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 ServiceAbstractDocument[] 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 from
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 by
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument[] 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 ServiceAbstractDocument 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 none
null
if not found
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument forwardDocument(java.lang.String sID, PropertyKey[] keys) throws DominoException
sID
- the document id to forward fromkeys
- the properties to bring back from the document
null
if not found
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServiceAbstractDocument 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 document
null
if not found
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint 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 ignore
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getContactCount(ContactFilter filter) throws DominoException
filter
- the filter or null
for no filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getContactCountStaticView(java.lang.String sSearchKey) throws DominoException
sSearchKey
- the last name search key or null
for no filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getMemoCount(MemoFilter filter) throws DominoException
filter
- the filter or null
for no filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint getTaskCount(TaskFilter filter) throws DominoException
filter
- the filter or null
for no filtering
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 keep
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid sendInformation(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the invitation idsComment
- the commentsSubject
- the subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid declineCounter(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idsComment
- the commentsSubject
- the subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid acceptAssignment(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the commentsSubject
- the subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid sendAssignmentInformation(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the assignment idsComment
- the commentsSubject
- the subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicejava.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 update
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 update
DominoException
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 schedule
DominoException
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 update
DominoException
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 dates
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid updateTaskRepeatAll(java.lang.String sID, long lStartDateAdjustmentSec, long lEndDateAdjustmentSec, PropertyValue[] vals) throws DominoException
sID
- the task to updatelStartDateAdjustmentSec
- the start date adjustment (in seconds)lEndDateAdjustmentSec
- the end date adjustment (in seconds)vals
- the properties to update
DominoException
java.lang.String updateTaskRepeatInstance(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 task 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 update
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 dates
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid deleteAllRepeatInstance(java.lang.String sID) throws DominoException
sID
- the assignment id
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid declineAssignmentCounter(java.lang.String sID, java.lang.String sComment, java.lang.String sSubject) throws DominoException
sID
- the counter idsComment
- the commentsSubject
- the subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 subject
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Serviceint 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 ignore
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid updateFolder(java.lang.String sFolderID, PropertyValue[] values) throws DominoException
sFolderID
- the ID of the folder to updatevalues
- the values to update
DominoException
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 send
DominoException
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 subject
DominoException
void deleteDocuments(java.lang.String[] documentIDs) throws DominoException
documentIDs
- the IDs of the documents to delete
DominoException
java.lang.String createDocument(PropertyValue[] values) throws DominoException
values
- the values for the new document
DominoException
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 document
null
if the arguments were incorrect
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 with
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino Servicevoid 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 Servicevoid enableOutOfOfficeAgent(java.lang.String sProfileName, java.lang.String sProfileUser) throws DominoException
Profile
needs to be
updated with all the appropriate information prior to calling this function.
sProfileName
- the profile namesProfileUser
- the user requesting the profile or null
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServicegetProfile(java.lang.String, java.lang.String, com.compoze.domino.PropertyKey[])
,
updateProfile(java.lang.String, java.lang.String, com.compoze.domino.PropertyValue[])
void disableOutOfOfficeAgent(java.lang.String sProfileName, java.lang.String sProfileUser) throws DominoException
sProfileName
- the profile namesProfileUser
- the user requesting the profile or null
DominoException
- if a problem occurred while connecting to
or interacting with the Compoze Domino ServicePropertyValue[] 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 pattern
DominoException
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 pattern
DominoException
PropertyValue[] getRepeatPattern(java.lang.String sID) throws DominoException
sID
- the appointment id
DominoException
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 pattern
DominoException
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 folder
DominoException
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 folder
DominoException
void closeSession() throws DominoException
DominoException
- if a problem occurred while closing the sessionvoid checkSession() throws DominoException
DominoException
- if a problem occurred while closing the sessionjava.lang.String getID()
java.lang.String getMailbox()
UserInfo getUserInfo()
java.lang.String getServiceURL()
long getAttachmentSizeLimit()
java.lang.String getProxyServerURL()
null
)java.lang.String getProxyServerUsername()
null
)java.lang.String getProxyServerPassword()
null
)
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |