com.ibm.rfid.print.profile.api
Class LabelPrintProfile

java.lang.Object
  extended by com.ibm.rfid.print.profile.api.LabelPrintProfile

public abstract class LabelPrintProfile
extends java.lang.Object

LabelPrintProfile is the class used to develop new print profile for IBM WebSphere Sensor Events Server. This is abstract class, new profile developer will extend this class and implement the abstract methods. Publich method will be implemented by IBM and it will publish tag or job status to SI-BUS.


Field Summary
static java.lang.String CANCEL_PRINT_TOPIC_NAME
          Topic name to publish cancel command to the SI-BUS
static java.lang.String IBMSENSOREVENT_BUS_NAME
          IBM WebSphere Sensor Events Server SI-BUS name.
static java.lang.String IBMSENSOREVENT_TOPIC_SPACE_NAME
          IBM WebSphere Sensor Events Server Topic space name.
static java.lang.String INBOUND_PRINT_JOBID_TOPIC_NAME
          Topic name to publish print job status to the SI-BUS
static java.lang.String INBOUND_PRINT_TAGID_TOPIC_NAME
          Topic name to publish tag status to the SI-BUS
static java.lang.String PRINT_TOPIC_NAME
          Topic name to publish print command to the SI-BUS
static java.lang.String REPRINT_TOPIC_NAME
          Topic name to publish reprint command to the SI-BUS
 
Constructor Summary
LabelPrintProfile()
           
 
Method Summary
abstract  void labelprintjob_cancel(java.lang.String print_job_id)
          Cancel the label print job for the given job id.
abstract  void labelprintjob_reprint(java.lang.String print_job_id, java.util.Map metadata, java.lang.String XML)
          Reprints the RFID label as XML.
abstract  void labelprintjob(java.lang.String print_job_id, java.util.Map metadata, java.lang.String XML)
          Prints the RFID label as XML.
 void publish_labelprint_job_status(java.lang.String printer_id, java.lang.String print_job_id, java.lang.String status)
          Publish the print job status to IBM WebSphere Sensor Events Server SI-BUS.
 void publish_labelprint_tag_status(java.lang.String printer_id, java.lang.String print_job_id, java.lang.String tag_id, java.lang.String status)
          Publish the print tag status to IBM WebSphere Sensor Events Server SI-BUS.
 java.lang.String transform(java.lang.String xml, java.lang.String xslUrl)
          Transforms the given XML with help of provided XSL file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IBMSENSOREVENT_BUS_NAME

public static final java.lang.String IBMSENSOREVENT_BUS_NAME
IBM WebSphere Sensor Events Server SI-BUS name.

See Also:
Constant Field Values

IBMSENSOREVENT_TOPIC_SPACE_NAME

public static final java.lang.String IBMSENSOREVENT_TOPIC_SPACE_NAME
IBM WebSphere Sensor Events Server Topic space name.

See Also:
Constant Field Values

INBOUND_PRINT_TAGID_TOPIC_NAME

public static final java.lang.String INBOUND_PRINT_TAGID_TOPIC_NAME
Topic name to publish tag status to the SI-BUS

See Also:
Constant Field Values

INBOUND_PRINT_JOBID_TOPIC_NAME

public static final java.lang.String INBOUND_PRINT_JOBID_TOPIC_NAME
Topic name to publish print job status to the SI-BUS

See Also:
Constant Field Values

PRINT_TOPIC_NAME

public static final java.lang.String PRINT_TOPIC_NAME
Topic name to publish print command to the SI-BUS

See Also:
Constant Field Values

REPRINT_TOPIC_NAME

public static final java.lang.String REPRINT_TOPIC_NAME
Topic name to publish reprint command to the SI-BUS

See Also:
Constant Field Values

CANCEL_PRINT_TOPIC_NAME

public static final java.lang.String CANCEL_PRINT_TOPIC_NAME
Topic name to publish cancel command to the SI-BUS

See Also:
Constant Field Values
Constructor Detail

LabelPrintProfile

public LabelPrintProfile()
Method Detail

labelprintjob

public abstract void labelprintjob(java.lang.String print_job_id,
                                   java.util.Map metadata,
                                   java.lang.String XML)
Prints the RFID label as XML.


labelprintjob_cancel

public abstract void labelprintjob_cancel(java.lang.String print_job_id)
Cancel the label print job for the given job id.


labelprintjob_reprint

public abstract void labelprintjob_reprint(java.lang.String print_job_id,
                                           java.util.Map metadata,
                                           java.lang.String XML)
Reprints the RFID label as XML.


publish_labelprint_job_status

public void publish_labelprint_job_status(java.lang.String printer_id,
                                          java.lang.String print_job_id,
                                          java.lang.String status)
Publish the print job status to IBM WebSphere Sensor Events Server SI-BUS.


publish_labelprint_tag_status

public void publish_labelprint_tag_status(java.lang.String printer_id,
                                          java.lang.String print_job_id,
                                          java.lang.String tag_id,
                                          java.lang.String status)
Publish the print tag status to IBM WebSphere Sensor Events Server SI-BUS.


transform

public java.lang.String transform(java.lang.String xml,
                                  java.lang.String xslUrl)
Transforms the given XML with help of provided XSL file.



Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.