com.ibm.rfid.premises.app.entities.printing
Class Printer

java.lang.Object
  extended by com.ibm.rfid.premises.app.entities.Device
      extended by com.ibm.rfid.premises.app.entities.printing.Printer

public class Printer
extends Device

A Printer object represents an rfid printer that has been defined on the IBM WebSphere Sensor Events Server.

To define a printer, go to the IBM WebSphere Sensor Events Server Admin Console


Constructor Summary
Printer(BasePrinter bp)
          Base Constructor, used by PremisesAccess
 
Method Summary
 java.lang.String getChannelId()
          Gets the channel ID of the Printer
 java.lang.String getIpAddress()
          Gets the IP address of the Printer
 java.lang.String getIpPort()
          Gets the IP port of the Printer
 PrinterType getPrinterType()
          Gets the Printer type
 java.lang.String getPrinterTypeId()
          Gets the Printer type ID
 java.lang.String getUserName()
          Gets the user name of the Printer
 java.lang.String submit(PrintDetails sp)
          Submits a PrintDetails for this particular Printer object
 
Methods inherited from class com.ibm.rfid.premises.app.entities.Device
getDeviceId, getLocationId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Printer

public Printer(BasePrinter bp)
Base Constructor, used by PremisesAccess

Method Detail

submit

public java.lang.String submit(PrintDetails sp)
                        throws PremisesAccessException
Submits a PrintDetails for this particular Printer object

Parameters:
sp - PrintDetails to be submitted
Returns:
String
Throws:
PremisesAccessException

getUserName

public java.lang.String getUserName()
Gets the user name of the Printer

Returns:
user name of Printer

getChannelId

public java.lang.String getChannelId()
Gets the channel ID of the Printer

Returns:
channel ID of Printer

getIpAddress

public java.lang.String getIpAddress()
Gets the IP address of the Printer

Returns:
IP address of Printer

getIpPort

public java.lang.String getIpPort()
Gets the IP port of the Printer

Returns:
IP port of Printer

getPrinterTypeId

public java.lang.String getPrinterTypeId()
Gets the Printer type ID

Returns:
ID of printer type for Printer

getPrinterType

public PrinterType getPrinterType()
                           throws PremisesAccessException
Gets the Printer type

Returns:
PrinterType object for this Printer
Throws:
PremisesAccessException


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