|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cmis.interopserver.services.base.InteropDmisProxyObject
org.cmis.interopserver.services.base.BaseSoapBindingImpl
org.cmis.interopserver.services.cap.CAPSoapBindingImpl
public class CAPSoapBindingImpl
| Field Summary | |
|---|---|
static java.lang.String |
PARSE_ERROR
|
| Fields inherited from class org.cmis.interopserver.services.base.BaseSoapBindingImpl |
|---|
alCogs, cogNameMapping, GENERIC_INTERNAL_ERROR, INVALID_SESSION_MESSAGE, log, SERVER_ERROR |
| Constructor Summary | |
|---|---|
CAPSoapBindingImpl()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
AlertToXML(org.cmis.interopserver.beans.cap.Alert cap)
|
org.cmis.interopserver.beans.cap.Alert |
getCAPAlert(java.lang.String messageid)
Gets the Alert that corresponds to this identifier. |
org.cmis.interopserver.beans.cap.Alert[] |
getCAPAlerts(java.util.Calendar lastupdate)
Gets all Alerts since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap.Alert[] |
getCAPAlerts(java.lang.String[] searchTerms)
Gets all Alerts that are visible to the user that match ALL of the given search terms. |
java.util.Calendar |
getServerTime()
Retrieves the current time on the server; useful for time-synching to ensure that getCAPAlerts(time) is accurate. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap)
Gets all Alerts with a |
void |
postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.cap.CAPAttachmentDescriptor[] attachments)
This is identitical to postCAPAlert(Alert), above, but also includes attachments. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList)
Posts this Alert to the specified list of COGs. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList,
org.cmis.interopserver.beans.cap.CAPAttachmentDescriptor[] attachments)
This is identitical to postCAPAlert(alert, mailList), above, but also includes attachments. |
protected org.cmis.interopserver.beans.cap.Alert |
XMLToAlert(java.lang.String string)
|
| Methods inherited from class org.cmis.interopserver.services.base.BaseSoapBindingImpl |
|---|
addAttachment, addAttachment, clientNotifyViaSMTP, clientNotifyViaUrl, convertSimpleCogs, getCogNameMapping, getCogs, getDataHandler, getMyCog, ping |
| Methods inherited from class org.cmis.interopserver.services.base.InteropDmisProxyObject |
|---|
getOperator, getProxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.cmis.interopserver.services.base.Base |
|---|
getCogs, getMyCog, ping |
| Field Detail |
|---|
public static final java.lang.String PARSE_ERROR
| Constructor Detail |
|---|
public CAPSoapBindingImpl()
| Method Detail |
|---|
public org.cmis.interopserver.beans.cap.Alert getCAPAlert(java.lang.String messageid)
throws java.rmi.RemoteException
CAPsender, a colon, and the CAP
identifier to use as the "messageid".
For example: user@123.org:#1234 Any leading or trailing white space will be removed.
If the "messageid" does not correspond to a CAP Alert in the DMIS system, an error will be returned.
getCAPAlert in interface CAPmessageid - (cap sender):(cap identifier)
java.rmi.RemoteException - A remote exception occurred
public org.cmis.interopserver.beans.cap.Alert[] getCAPAlerts(java.lang.String[] searchTerms)
throws java.rmi.RemoteException
CAP
getCAPAlerts in interface CAPsearchTerms -
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap.Alert[] getCAPAlerts(java.util.Calendar lastupdate)
throws java.rmi.RemoteException
CAP
getCAPAlerts in interface CAPlastupdate - a date-time cutoff for retrieving posted events
java.rmi.RemoteException - A remote exception occurred
public void postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList,
org.cmis.interopserver.beans.cap.CAPAttachmentDescriptor[] attachments)
throws java.rmi.RemoteException
CAP
postCAPAlert in interface CAPcap - mailList - attachments -
java.rmi.RemoteExceptionpostCAPAlert
public void postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList)
throws java.rmi.RemoteException
CAPCAP.postCAPAlert(Alert) with COG ids specified in the address
field as described above. This method will ignore the address and scope fields of the
Alert and post it only to the COGs specified in the array of SimpleCOG objects supplied.
If any of the COGs specified in the COG array are invalid, an error will be returned and no
posting will take place. The same is true if there are duplicates in the COG array, or if
the sender's COG is specified in the COG array. This method does not return anything; if
no error is returned then the posting has succeeded.
postCAPAlert in interface CAPcap - Alert to be posted.mailList - Array of SimpleCOGs to receive the alert.
java.rmi.RemoteException - A remote exception occurred
public void postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap,
org.cmis.interopserver.beans.cap.CAPAttachmentDescriptor[] attachments)
throws java.rmi.RemoteException
CAP
postCAPAlert in interface CAPcap - attachments -
java.rmi.RemoteExceptionpostCAPAlert
public void postCAPAlert(org.cmis.interopserver.beans.cap.Alert cap)
throws java.rmi.RemoteException
CAP
postCAPAlert in interface CAPjava.rmi.RemoteException - A remote exception occurred
public java.util.Calendar getServerTime()
throws java.rmi.RemoteException
CAP
getServerTime in interface CAPjava.rmi.RemoteException
protected org.cmis.interopserver.beans.cap.Alert XMLToAlert(java.lang.String string)
throws java.io.IOException
string -
java.io.IOException
protected java.lang.String AlertToXML(org.cmis.interopserver.beans.cap.Alert cap)
throws java.io.IOException
cap -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||