|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cmis.interopserver.services.base.InteropDmisProxyObject org.cmis.interopserver.services.base.BaseSoapBindingImpl org.cmis.interopserver.services.cap1_1.CAP1_1SoapBindingImpl
public class CAP1_1SoapBindingImpl
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 | |
---|---|
CAP1_1SoapBindingImpl()
|
Method Summary | |
---|---|
static java.lang.String |
AlertToXML(org.cmis.interopserver.beans.cap1_1.Alert cap)
|
org.cmis.interopserver.beans.cap1_1.Alert[] |
getAlertsSentByPostedDate(java.util.Calendar lastupdate)
Gets all Alerts sent by the caller since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getAlertsSentBySentDate(java.util.Calendar lastupdate)
Gets all Alerts sent by the caller since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap1_1.Alert |
getCAPAlert(java.lang.String messageid)
Gets the Alert that corresponds to this identifier. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getCAPAlerts(java.util.Calendar lastupdate)
Gets all Alerts since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getCAPAlerts(java.lang.String[] searchTerms)
|
org.cmis.interopserver.beans.cap1_1.Alert[] |
getCAPAlertsByPostedDate(java.util.Calendar lastupdate)
Gets all Alerts since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getCAPAlertsGlobalByPostedDate(java.util.Calendar lastupdate)
Gets all Alerts globally posted across the system since the given date-time, exclusive.. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getCAPAlertsGlobalBySentDate(java.util.Calendar lastupdate)
Gets all Alerts globally posted across the system since the given date-time, exclusive.. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getMyCogsAlertsByPostedDate(java.util.Calendar lastupdate)
Gets all Alerts posted to the caller since the given date-time, exclusive. |
org.cmis.interopserver.beans.cap1_1.Alert[] |
getMyCogsAlertsBySentDate(java.util.Calendar lastupdate)
Gets all Alerts posted to the caller since the given date-time, exclusive. |
java.util.Calendar |
getServerTime()
Retrieves the current time on the server; useful for time-synching to ensure that getCAPAlertsByPostedDate() is accurate. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap)
Posts this Alert globally across the system. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap,
org.cmis.interopserver.beans.cap1_1.CAPAttachmentDescriptor[] attachments)
|
void |
postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList)
Posts this Alert to the specified list of COGs. |
void |
postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap,
org.cmis.interopserver.beans.SimpleCOG[] mailList,
org.cmis.interopserver.beans.cap1_1.CAPAttachmentDescriptor[] attachments)
|
void |
postCAPAlertGlobal(org.cmis.interopserver.beans.cap1_1.Alert cap)
5-3-2006 post to global cog |
protected org.cmis.interopserver.beans.cap1_1.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.cap1_1.CAP1_1 |
---|
getCogs, getMyCog, ping |
Field Detail |
---|
public static final java.lang.String PARSE_ERROR
Constructor Detail |
---|
public CAP1_1SoapBindingImpl()
Method Detail |
---|
public org.cmis.interopserver.beans.cap1_1.Alert getCAPAlert(java.lang.String messageid) throws java.rmi.RemoteException
CAP1_1
sender
, a colon,
and the CAP identifier
to use as the "messageId".
If the "messageid" does not correspond to a CAP Alert in the DMIS system,
an empty value (NULL), will be returned.
getCAPAlert
in interface CAP1_1
messageid
- String -> messageId (cap sender):(cap identifier)
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getCAPAlerts(java.lang.String[] searchTerms) throws java.rmi.RemoteException
searchTerms
-
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getCAPAlerts(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getCAPAlerts
in interface CAP1_1
lastupdate
- Calendar -> a date-time cutoff for retrieving posted events, please
note this value is being compared to the Sent field in the Alert
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getCAPAlertsByPostedDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
CAP1_1.getCAPAlerts(Calendar)
except that the date-time value
is being compared to the actual time that Alert is posted to the DMIS server
instead of the sent field in the Alert.
getCAPAlertsByPostedDate
in interface CAP1_1
lastupdate
- Calendar --> a date-time cutoff for retrieving posted events,
please note this value is being compared to the actual time that Alert is
posted to the DMIS server.
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getMyCogsAlertsByPostedDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getMyCogsAlertsByPostedDate
in interface CAP1_1
lastupdate
- Calendar --> date-time value being compared to the time each
Alert is being posted to the DMIS system.
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getMyCogsAlertsBySentDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getMyCogsAlertsBySentDate
in interface CAP1_1
lastupdate
- Calendar --> date-time value being compared to the Alert's sent
field
Alert is being posted to the DMIS system.
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsSentBySentDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getAlertsSentBySentDate
in interface CAP1_1
lastupdate
- Calendar --> date-time value being compared to each Alert's
sent filed
of each Alert
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsSentByPostedDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getAlertsSentByPostedDate
in interface CAP1_1
lastupdate
- Calendar --> date-time value being compared to the time each
Alert is being posted to the DMIS system.
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getCAPAlertsGlobalByPostedDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getCAPAlertsGlobalByPostedDate
in interface CAP1_1
lastupdate
- Calendar --> value being compared to the actual time Alert is being
posted to DMIS.
java.rmi.RemoteException
public org.cmis.interopserver.beans.cap1_1.Alert[] getCAPAlertsGlobalBySentDate(java.util.Calendar lastupdate) throws java.rmi.RemoteException
CAP1_1
getCAPAlertsGlobalBySentDate
in interface CAP1_1
lastupdate
- Calendar --> value being compared to the sent field
java.rmi.RemoteException
public void postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap, org.cmis.interopserver.beans.SimpleCOG[] mailList, org.cmis.interopserver.beans.cap1_1.CAPAttachmentDescriptor[] attachments) throws java.rmi.RemoteException
cap
- mailList
- attachments
-
java.rmi.RemoteException
public void postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap, org.cmis.interopserver.beans.SimpleCOG[] mailList) throws java.rmi.RemoteException
CAP1_1
CAP1_1.postCAPAlert(Alert)
with a Private scope and 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 CAP1_1
cap
- Alert -> CAP Alert to be postedmailList
- SimpleCOG[] -> a list of COGs to post the CAP Alert
java.rmi.RemoteException
public void postCAPAlertGlobal(org.cmis.interopserver.beans.cap1_1.Alert cap) throws java.rmi.RemoteException
java.rmi.RemoteException
public void postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap, org.cmis.interopserver.beans.cap1_1.CAPAttachmentDescriptor[] attachments) throws java.rmi.RemoteException
cap
- attachments
-
java.rmi.RemoteException
public void postCAPAlert(org.cmis.interopserver.beans.cap1_1.Alert cap) throws java.rmi.RemoteException
CAP1_1
Alert.scope
field is "Private" and the org.cmis.interopserver.beans.cap.Alert#address
field contains a space-delimited series COGs in the form "COGx" where x is a
valid COG SimpleCOG.id
(for example,
COG1737 COG1000 COG2
) then the Alert will be posted to only
those specified COGs. If any of the COG ids are invalid, an error will be
returned and no posting will take place. In any other case, the Alert will be
posted globally across the DMIS system (to all COGs). This method does
not return anything; if no error is returned then the posting has succeeded.
postCAPAlert
in interface CAP1_1
cap
- Alert to be posted.
java.rmi.RemoteException
- A remote exception occurredpublic java.util.Calendar getServerTime() throws java.rmi.RemoteException
CAP1_1
getServerTime
in interface CAP1_1
java.rmi.RemoteException
protected org.cmis.interopserver.beans.cap1_1.Alert XMLToAlert(java.lang.String string) throws java.io.IOException
string
-
java.io.IOException
public static java.lang.String AlertToXML(org.cmis.interopserver.beans.cap1_1.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 |