|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestService
| Method Summary | |
|---|---|
XmlEnterpriseObject |
create(ActionableEnterpriseObject theObject)
Create message production. |
XmlEnterpriseObject |
delete(java.lang.String deleteAction,
ActionableEnterpriseObject theObject)
Delete message production. |
java.util.List |
generate(XmlEnterpriseObject keyObject,
ActionableEnterpriseObject theObject)
Generate message production. |
ProducerId |
getProducerId(java.lang.String dummyParm)
|
int |
incrementMessageSequence()
|
org.jdom.Document |
produceRequest(ActionableEnterpriseObject theObject,
org.jdom.Document doc)
|
java.util.List |
query(XmlEnterpriseObject keyObject,
ActionableEnterpriseObject theObject)
Query message production. |
void |
setProducerId(ProducerId producerId)
|
XmlEnterpriseObject |
update(ActionableEnterpriseObject theObject)
Update message production. |
| Method Detail |
|---|
java.util.List query(XmlEnterpriseObject keyObject,
ActionableEnterpriseObject theObject)
throws TransportException
keyObject - XmlEnterpriseObject to use as retreival arguments in the Query.
The contents of this object are inserted into the Query document prior to
sending the query request. Under normal conditions, this object is
actually a LightweightPerson object since that's the most common query object used.
NOTE: This method should be over-ridden by lower level classes if the keyObject isn't a LightweightPerson.
producer - PointToPointProducer a pre-configured and started PointToPointProducer
which will be used to send the update-request message to the appropriate destination
and return the reply to this method (via the PointToPointProducer.produceRequest method).
EnterpriseObjectQueryException - if any errors occur when validating
the contents of the object, if any errors occur while producing the request
or if the object doesn't support the create action. This exception will also
be thrown if the contents of the reply document contains an error. That is, if
the consuming application had errors processing the request. This exception will
include the Result information containing the error that occurred.
TransportException
XmlEnterpriseObject create(ActionableEnterpriseObject theObject)
throws TransportException
producer - PointToPointProducer a pre-configured and started PointToPointProducer
which will be used to send the create-request message to the appropriate destination
and return the reply to this method (via the PointToPointProducer.produceRequest method).
EnterpriseObjectCreateException - if any errors occur when validating
the contents of the object, if any errors occur while producing the request
or if the object doesn't support the create action. This exception will also
be thrown if the contents of the reply document contains an error. That is, if
the consuming application had errors processing the request. This exception will
include the Result information containing the error that occurred.
TransportException
XmlEnterpriseObject delete(java.lang.String deleteAction,
ActionableEnterpriseObject theObject)
throws TransportException
deleteAction - String the delete action ('delete' or 'purge')
producer - PointToPointProducer a pre-configured and started PointToPointProducer
which will be used to send the delete-request message to the appropriate destination
and return the reply to this method (via the PointToPointProducer.produceRequest method).
EnterpriseObjectDeleteException - if any errors occur when validating
the contents of the object, if any errors occur while producing the request
or if the object doesn't support the create action. This exception will also
be thrown if the contents of the reply document contains an error. That is, if
the consuming application had errors processing the request. This exception will
include the Result information containing the error that occurred.
TransportException
java.util.List generate(XmlEnterpriseObject keyObject,
ActionableEnterpriseObject theObject)
throws TransportException
producer - PointToPointProducer a pre-configured and started PointToPointProducer
which will be used to send the update-request message to the appropriate destination
and return the reply to this method (via the PointToPointProducer.produceRequest method).
keyObject - XmlEnterpriseObject to use as generation "seed" data
(like an UnknownPerson for an InstitutionalIdentity-Generate-Request).
EnterpriseObjectGenerateException - if any errors occur when validating
the contents of the object, if any errors occur while producing the request
or if the object doesn't support the create action. This exception will also
be thrown if the contents of the reply document contains an error. That is, if
the consuming application had errors processing the request. This exception will
include the Result information containing the error that occurred.
TransportException
XmlEnterpriseObject update(ActionableEnterpriseObject theObject)
throws TransportException
producer - PointToPointProducer a pre-configured and started PointToPointProducer
which will be used to send the update-request message to the appropriate destination
and return the reply to this method (via the PointToPointProducer.produceRequest method).
EnterpriseObjectUpdateException - if any errors occur when validating
the contents of the object, if any errors occur while producing the request
or if the object doesn't support the create action. This exception will also
be thrown if the contents of the reply document contains an error. That is, if
the consuming application had errors processing the request. This exception will
include the Result information containing the error that occurred.
TransportException
org.jdom.Document produceRequest(ActionableEnterpriseObject theObject,
org.jdom.Document doc)
throws TransportException
TransportExceptionProducerId getProducerId(java.lang.String dummyParm)
void setProducerId(ProducerId producerId)
int incrementMessageSequence()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||