|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cmis.interopserver.services.edxlde.EDXLDEService
public class EDXLDEService
| Field Summary |
|---|
| Fields inherited from interface org.cmis.common.service.CMISService |
|---|
STATUS_ERROR, STATUS_OK |
| Constructor Summary | |
|---|---|
EDXLDEService()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getAllEdxlDEMsgs(long cogId)
getAllEdxMsgs will return a String array containing all messages belonging to the cogId passed to this method. |
java.lang.String |
getEdxlDEMessage(java.lang.String messageId)
|
java.lang.String[] |
getEdxlDEMsgsByDate(long cogId,
java.lang.String sentDate,
java.lang.String dateType)
getAllEdxMsgs will return a String array containing all messages belonging to the cogId and after the sentDate. |
long |
getRecordId()
|
int |
getStatus()
Returns the current status of the Service, using one of the established STATUS_xxx constants. |
boolean |
isMessageRelevant(org.cmis.transport.msg.TransportMsg tm)
Invoked by ServiceManager when dispatching messages, this method tells ServiceManager whether this service class is designed to handle messages of the the given type. |
static void |
main(java.lang.String[] args)
|
boolean |
onMessageReceived(org.cmis.transport.msg.TransportMsg tm)
Invoked when a message is received from a client that may be processed by this Server. |
java.lang.String |
postEdxlDEMessage(long[] aRecipientCOGIds,
org.cmis.interopserver.services.edxlde.beans.EDXLDistribution edxlDistribution)
|
void |
start(org.cmis.common.service.CMISServiceHelper rh,
java.util.logging.Logger log)
Starts the service, making it ready to receive operator requests. |
void |
stop()
Stops the service and takes it out of the messaging chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EDXLDEService()
| Method Detail |
|---|
public void start(org.cmis.common.service.CMISServiceHelper rh,
java.util.logging.Logger log)
throws java.lang.Exception
org.cmis.common.service.CMISService
start in interface org.cmis.common.service.CMISServicerh - ServiceHelper which offers basic transport services.log - Logger where error/info/debug messages can be written.
java.lang.Exception
public void stop()
throws java.lang.Exception
org.cmis.common.service.CMISService
stop in interface org.cmis.common.service.CMISServicejava.lang.Exceptionpublic int getStatus()
org.cmis.common.service.CMISService
getStatus in interface org.cmis.common.service.CMISServicepublic boolean isMessageRelevant(org.cmis.transport.msg.TransportMsg tm)
org.cmis.common.service.CMISService
isMessageRelevant in interface org.cmis.common.service.CMISServicetm - Message in question.
public boolean onMessageReceived(org.cmis.transport.msg.TransportMsg tm)
throws java.lang.Exception
org.cmis.common.service.CMISService
onMessageReceived in interface org.cmis.common.service.CMISServicetm - Message that was received and is ready to be processed.
java.lang.Exception - When unchecked any exception occurs while
processing the message. An uncaught exception is automatically wrapped into a
TransportExceptionMessage (which correlates the error to the original message)
and sent back to the requesting operator.
public java.lang.String postEdxlDEMessage(long[] aRecipientCOGIds,
org.cmis.interopserver.services.edxlde.beans.EDXLDistribution edxlDistribution)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String getEdxlDEMessage(java.lang.String messageId)
public java.lang.String[] getEdxlDEMsgsByDate(long cogId,
java.lang.String sentDate,
java.lang.String dateType)
throws java.lang.Exception
cogId - long, sentDate String
java.lang.Exception
public java.lang.String[] getAllEdxlDEMsgs(long cogId)
throws java.lang.Exception
cogId - long
java.lang.Exceptionpublic long getRecordId()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||