java.lang.Object
com.k_int.OpenRequest.helpers.ISOForwardNotificationMessageFactory
- public class ISOForwardNotificationMessageFactory
- extends java.lang.Object
Create an ISO ILL Shipped Message.
This class will construct an iso ill shipped message in a variety of different
situations according to the supplied parameters.
- Version:
- $Id: ISOForwardNotificationMessageFactory.java,v 1.1.1.1 2002/10/20 10:24:01 ianibbo Exp $
|
Field Summary |
private static LoggingContext |
cat
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
private static LoggingContext cat
ISOForwardNotificationMessageFactory
public ISOForwardNotificationMessageFactory()
create
public static com.k_int.OpenRequest.isoill.gen.ISO_10161_ILL_1.ILL_APDU_type create(Session database_session,
com.k_int.OpenRequest.db.ILLTransaction transaction,
com.k_int.OpenRequest.db.Location.LocationSymbol new_responder,
java.lang.String notification_note,
ISOExtensionFactory[] extens)
throws java.sql.SQLException,
cirrus.hibernate.HibernateException
- create a Shipped message.
Requires: An ILL Transaction in a state for which FWDreq is a valid action
Provides: A completed ILL Forward Notificatoin message with data derived as follows:
N.B where a member could be set from the transaction store, speak with k-int
about defaulting that member in, it's better than starting to track transaction data
in databases outside the transaction store.
element name/type M/O Source
retval : ILL_APDU_type (Choice of pdu) M Filled in by factory
.which : int M Filled in by factory
.o : Shipped_type M Filled in by factory
.protocol_version_num
.transaction_id M Constructed field, populated by this method
.initial_requester_id M
.person_or_institution_symbol O Set by factory from database
.name_of_person_or_institution O Not set
.tgq M Set by factory from database
.tq M Set by factory from database
.stq O Set by factory from database
.service_date_time M Constructed by factory
.date_time_of_this_service M Constructed by factory
.date M Set by factory from system clock
.time O Set by factory from system clock
.date_time_of_original_service M Constructed by factory
.date M Set by factory from system clock
.time O Set by factory from system clock
.requester_id M Set by factory from database
.person_or_institution_symbol O Set by factory from database
.person_or_institution_name O Not set
.responder_id M Set from new_responder param of create method
.person_or_institution_symbol O Set from new_responder param of create method
.person_or_institution_name O Set from new_responder param of create method
-- End of common elements. Shipped specific follow --
.responder_address O Set from new_responder param of create method
.telecom_service_identifier O Set from new_responder param of create method
.telecom_service_address O Set from new_responder param of create method
.intermediary_id O Set to sending location (original resp id)
.person_or_institution_symbol O As above
.person_or_institution_name O As above
.notification_note O Not set
.forward_notification_extensions O Not set
Ends description of how forward notification PDU is populated by this factory method