|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cmis.interopserver.services.capv2.CAPv2SoapBindingSkeleton
public class CAPv2SoapBindingSkeleton
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
CAPv2SoapBindingSkeleton()
|
|
CAPv2SoapBindingSkeleton(CAPv2 impl)
|
Method Summary | |
---|---|
org.cmis.interopserver.beans.capv2.Alert |
getCAPAlert(java.lang.String in0)
Gets the Alert that corresponds to this identifier. |
org.cmis.interopserver.beans.capv2.Alert[] |
getCAPAlerts(java.util.Calendar in0)
Gets all Alerts since the given date-time, exclusive. |
org.cmis.interopserver.beans.capv2.Alert[] |
getCAPAlerts(java.lang.String[] in0)
Gets all Alerts that are visible to the user that match ALL of the given search terms. |
org.cmis.interopserver.beans.SimpleCOG[] |
getCogs()
|
org.cmis.interopserver.beans.SimpleCOG |
getMyCog()
|
static java.util.List |
getOperationDescByName(java.lang.String methodName)
Returns List of OperationDesc objects with this name |
static java.util.Collection |
getOperationDescs()
Returns Collection of OperationDescs |
java.util.Calendar |
getServerTime()
Retrieves the current time on the server; useful for time-synching to ensure that getCAPAlerts(time) is accurate. |
java.lang.String |
ping()
|
void |
postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0)
Posts this Alert globally across the system. |
void |
postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0,
org.cmis.interopserver.beans.capv2.CAPAttachmentDescriptor[] in1)
This method is identitical to postCAPAlert(Alert), but also includes attachments. |
void |
postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0,
org.cmis.interopserver.beans.SimpleCOG[] in1)
Posts this Alert to the specified list of COGs. |
void |
postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0,
org.cmis.interopserver.beans.SimpleCOG[] in1,
org.cmis.interopserver.beans.capv2.CAPAttachmentDescriptor[] in2)
This is identitical to postCAPAlert(alert, mailList), above, but also includes attachments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.logging.Logger log
Constructor Detail |
---|
public CAPv2SoapBindingSkeleton()
public CAPv2SoapBindingSkeleton(CAPv2 impl)
Method Detail |
---|
public static java.util.List getOperationDescByName(java.lang.String methodName)
public static java.util.Collection getOperationDescs()
public org.cmis.interopserver.beans.capv2.Alert getCAPAlert(java.lang.String in0) throws java.rmi.RemoteException
CAPv2
sender
, 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 CAPv2
in0
- (cap sender):(cap identifier)
java.rmi.RemoteException
- A remote exception occurredpublic org.cmis.interopserver.beans.capv2.Alert[] getCAPAlerts(java.lang.String[] in0) throws java.rmi.RemoteException
CAPv2
getCAPAlerts
in interface CAPv2
RemoteException
- if there is some errorpublic org.cmis.interopserver.beans.capv2.Alert[] getCAPAlerts(java.util.Calendar in0) throws java.rmi.RemoteException
CAPv2
getCAPAlerts
in interface CAPv2
in0
- a date-time cutoff for retrieving posted events. This value
is being compared to the sent field of the Alert message.
java.rmi.RemoteException
- A remote exception occurredpublic java.util.Calendar getServerTime() throws java.rmi.RemoteException
CAPv2
getServerTime
in interface CAPv2
RemoteException
public void postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0, org.cmis.interopserver.beans.capv2.CAPAttachmentDescriptor[] in1) throws java.rmi.RemoteException
CAPv2
postCAPAlert
in interface CAPv2
in1
- Descriptions of the attachments that are added to this message via the
SOAP with Attachments specification. These must correspond, one-to-one, with attachments
in this message. The first attachment descriptor in the array describes the first attachment
in the message, and so on.
java.rmi.RemoteException
- A remote exception occurredpostCAPAlert
public void postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0, org.cmis.interopserver.beans.SimpleCOG[] in1) throws java.rmi.RemoteException
CAPv2
CAPv2.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 CAPv2
in0
- Alert to be posted.in1
- Array of SimpleCOGs to receive the alert.
java.rmi.RemoteException
- A remote exception occurredpublic void postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0) throws java.rmi.RemoteException
CAPv2
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 CAPv2
in0
- Alert to be posted.
java.rmi.RemoteException
- A remote exception occurredpublic void postCAPAlert(org.cmis.interopserver.beans.capv2.Alert in0, org.cmis.interopserver.beans.SimpleCOG[] in1, org.cmis.interopserver.beans.capv2.CAPAttachmentDescriptor[] in2) throws java.rmi.RemoteException
CAPv2
postCAPAlert
in interface CAPv2
java.rmi.RemoteException
- A remote exception occurredpostCAPAlert
public org.cmis.interopserver.beans.SimpleCOG[] getCogs() throws java.rmi.RemoteException
getCogs
in interface CAPv2
java.rmi.RemoteException
public org.cmis.interopserver.beans.SimpleCOG getMyCog() throws java.rmi.RemoteException
getMyCog
in interface CAPv2
java.rmi.RemoteException
public java.lang.String ping() throws java.rmi.RemoteException
ping
in interface CAPv2
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |