com.ibm.rfid.premises.app.access
Class PremisesAccess

java.lang.Object
  extended by com.ibm.rfid.premises.app.access.PremisesAccess
Direct Known Subclasses:
PremisesAccessLocal, PremisesAccessRemote

Deprecated. As of IBM WebSphere Sensor Events v6.2, replaced by #SensorEventsAPIAccess

@Deprecated
public abstract class PremisesAccess
extends java.lang.Object


Constructor Summary
PremisesAccess()
          Deprecated.  
 
Method Summary
 void clearALEData(java.lang.String location)
          Deprecated. clears the ALE Data for a given location
 java.util.Map decodeEPCValue(java.lang.String epcVal)
          Deprecated. Decodes given EPC Hex value and retrun map for all the decoded values.
 void deleteControllerMetaData(java.lang.String controllerid, java.lang.String keyname)
          Deprecated. Deletes the metadata key and value for the given Controller object
 void deleteLocationMetaData(java.lang.String locationid, java.lang.String keyname)
          Deprecated. Deletes the metadata key and value for the given Location object
 ECReports[] getALEData(java.lang.String location)
          Deprecated. gets the ECReports for a given location/reader
 Controller[] getAllController()
          Deprecated. Gets all Controller objects defined in the IBM WebSphere Sensor Events Server
 Device[] getAllDevices()
          Deprecated. Gets all Device objects defined in the IBM WebSphere Sensor Events Server
 Device[] getAllDevicesByCategoryName(java.lang.String category)
          Deprecated. Gets all Device objects defined in the IBM WebSphere Sensor Events Server for given Device Category
 Location[] getAllLocation()
          Deprecated. Gets all Location objects defined in the IBM WebSphere Sensor Events Server
 Printer[] getAllPrinters()
          Deprecated. Gets all printers defined in the IBM WebSphere Sensor Events Server
 PrintTemplate[] getAllPrintTemplates()
          Deprecated. Gets all of the print templates
 Reader[] getAllReaders()
          Deprecated. see getAllDevice method
 Controller getController(java.lang.String controllerid)
          Deprecated. Gets the Controller object with the specified Controller ID
 java.util.HashMap getControllerMetaData(java.lang.String controllerid)
          Deprecated. Gets the metdadata values for given Controller
 Device getDevice(java.lang.String deviceid)
          Deprecated. Gets the Device with the specified device ID
protected abstract  DeviceCommandsAdmin getDeviceCommandsAdmin()
          Deprecated. Gets an object used to send device commands
protected abstract  DeviceConfigAdmin getDeviceConfigAdmin()
          Deprecated. Gets an object used to get device configuration
protected abstract  DeviceDataAdmin getDeviceDataAdmin()
          Deprecated. Gets an object used to get device data
 java.lang.String[] getDeviceIDByCategoryName(java.lang.String category)
          Deprecated. Gets all Device objects defined in the IBM WebSphere Sensor Events Server for given Device Category
 java.lang.String getDeviceStatus(java.lang.String locationId)
          Deprecated. Gets the device status
protected abstract  EPCCommands getEPCCommand()
          Deprecated.  
 java.lang.String getEpcEncodingfromUrn(java.lang.String urn)
          Deprecated. Parse an EPC tag URN of the form "urn:epc:tag:sgtin-64:0.1234567.200160.1" into its EPC encoding "sgtin-64"
 java.lang.String[] getEpcTagData(java.lang.String printJobId)
          Deprecated. Gets the EPC Tag Data for a specific print job
 java.lang.String[] getEpcTagDataByBusinessRef(java.lang.String businessRef)
          Deprecated. Gets the EPC Tag Data for a specific business reference
 HistoryForTagOutput[] getHistoryForTag(long startDateTime, java.lang.String tag)
          Deprecated.  
 java.lang.String getItemReferenceIdByUrn(java.lang.String urn)
          Deprecated. Gets an item reference from IBM WebSphere Sensor Events Server based on human readable epc urn e.g., "sgtin-64:0.1234567.100110.1" note: urns stored in IBM WebSphere Sensor Events Server are prepended with "urn:epc:tag:".
 Location getLocation(java.lang.String locationid)
          Deprecated. Gets the Location object with the specified Location ID or Location Alias
 java.util.HashMap getLocationMetaData(java.lang.String locationid)
          Deprecated. Gets the metadata values for given Location
 java.lang.String getPremisesPropertiesKeyValue(java.lang.String key)
          Deprecated. Gets the key value from premises.properties (default location is - IBM_RFID_HOME\premises\properties)
 PrintDetails getPrintDetails(java.lang.String printJobId)
          Deprecated. Gets the PrintDetails for a specific print job
 PrintDetails[] getPrintDetailsByBusinessRef(java.lang.String businessRefId)
          Deprecated. Gets the PrintDetails using a specified business reference ID
 Printer getPrinter(java.lang.String deviceid)
          Deprecated. Gets the printer with the specified device ID
 PrinterType getPrinterType(java.lang.String printerTypeId)
          Deprecated. Gets the PrinterType using the specified printer type ID
 PrintJob getPrintJob(java.lang.String printJobId)
          Deprecated. Get registered print job
 java.lang.String getPrintJobIdByUrn(java.lang.String urn)
          Deprecated. Gets a print job id from IBM WebSphere Sensor Events Server based on human readable epc urn e.g., "sgtin-64:0.1234567.100110.1" note: urns stored in IBM WebSphere Sensor Events Server are prepended with "urn:epc:tag:".
 PrintJob[] getPrintJobs()
          Deprecated. Get all of the print jobs that have been registered.
 java.lang.String getPrintJobStatus(java.lang.String printJobId)
          Deprecated.  
 PrintTemplate[] getPrintTemplatesOfType(java.lang.String printerTypeId)
          Deprecated. Gets the Print templates of the specified type
 Reader getReader(java.lang.String deviceid)
          Deprecated. see getDevice method
 java.lang.String getReaderStatus(java.lang.String locationId)
          Deprecated. see getDeviceStatus method
 ReaderType getReaderType(java.lang.String readerTypeId)
          Deprecated. Gets the ReaderType using the specified reader type ID
protected abstract  StatusAdmin getStatusAdmin()
          Deprecated. Gets an object used to get device and job status
 SupplyChainProfile getSupplyChainProfile(java.lang.String id)
          Deprecated. Gets the SupplyChainProfile with a specified ID
 SupplyChainProfile[] getSupplyChainProfiles()
          Deprecated. Gets all of the SupplyChainProfiles that are currently defined
protected abstract  TagApiAdmin getTagApiAdmin()
          Deprecated. Gets an object used to query the IBM WebSphere Sensor Events Server tag history
protected abstract  TagCommissioningAdmin getTagCommissioningAdmin()
          Deprecated. Gets an object used to interact with tag commissioning functions
 TagHistoriesForLocationOutput[] getTagHistoriesForLocation(long startDateTime, java.lang.String locationId)
          Deprecated.  
 TagHistoriesForReaderOutput[] getTagHistoriesForReader(long startDateTime, java.lang.String readerId)
          Deprecated.  
 java.lang.String printJob(java.lang.String locationid, java.lang.String printerid, PrintDetails pd)
          Deprecated. Sends a print job command to the IBM WebSphere Sensor Events
 void sendAcceptToLightStack(java.lang.String locationid)
          Deprecated. Sends an accept message to the light stack at the specified location
 void sendLocationMetaData(java.lang.String locationId, boolean isDelete, java.util.Map attributes)
          Deprecated. This API call will send IBMSensorEvent to the Data Capture Controller.
 void sendRejectToLightStack(java.lang.String locationid)
          Deprecated. Sends a reject message to the light stack at the specified location
 void setControllerMetaData(java.lang.String controllerid, java.util.HashMap metadata)
          Deprecated. Sets the Controller object with given metadata values
 void setLocationMetaData(java.lang.String locationid, java.util.HashMap metadata)
          Deprecated. Sets the Location object with given metadata values
 void setLocationMetaDataAndStartLocation(java.lang.String locationid, java.util.HashMap metadata)
          Deprecated. Sets metadata and starts the given location object
 void startLocation(java.lang.String locationid)
          Deprecated. Sends a start Location command to the given location ID
 void stopLocation(java.lang.String locationid)
          Deprecated. Sends a stop location command to the given Location
 void turnDeviceOff(java.lang.String locationid, java.lang.String deviceid)
          Deprecated. see stopLocation method
 void turnDeviceOn(java.lang.String locationid, java.lang.String deviceid)
          Deprecated. see startLocation method
 void turnReaderOff(java.lang.String locationid, java.lang.String deviceid)
          Deprecated. see stopLocation method
 void turnReaderOn(java.lang.String locationid, java.lang.String deviceid)
          Deprecated. see startLocation method
 void updateControllerMetaData(java.lang.String controllerid, java.util.HashMap metadata)
          Deprecated. Updates the Controller object with given metadata values
 void updateLocationMetaData(java.lang.String locationid, java.util.HashMap metadata)
          Deprecated. Updates the Location object with given metadata values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PremisesAccess

public PremisesAccess()
Deprecated. 
Method Detail

getDeviceConfigAdmin

protected abstract DeviceConfigAdmin getDeviceConfigAdmin()
Deprecated. 
Gets an object used to get device configuration

Returns:
DeviceConfigAdmin object

getEPCCommand

protected abstract EPCCommands getEPCCommand()
Deprecated. 

getDeviceDataAdmin

protected abstract DeviceDataAdmin getDeviceDataAdmin()
Deprecated. 
Gets an object used to get device data

Returns:
DeviceDataAdmin object

getStatusAdmin

protected abstract StatusAdmin getStatusAdmin()
Deprecated. 
Gets an object used to get device and job status

Returns:
StatusAdmin object

getDeviceCommandsAdmin

protected abstract DeviceCommandsAdmin getDeviceCommandsAdmin()
Deprecated. 
Gets an object used to send device commands

Returns:
DeviceCommandsAdmin object

getTagCommissioningAdmin

protected abstract TagCommissioningAdmin getTagCommissioningAdmin()
Deprecated. 
Gets an object used to interact with tag commissioning functions

Returns:
TagCommissioningAdmin object

getTagApiAdmin

protected abstract TagApiAdmin getTagApiAdmin()
Deprecated. 
Gets an object used to query the IBM WebSphere Sensor Events Server tag history

Returns:
TagApiAdmin object

getEpcEncodingfromUrn

public java.lang.String getEpcEncodingfromUrn(java.lang.String urn)
Deprecated. 
Parse an EPC tag URN of the form "urn:epc:tag:sgtin-64:0.1234567.200160.1" into its EPC encoding "sgtin-64"

Returns:
the EPC encoding string

getPrintJobIdByUrn

public java.lang.String getPrintJobIdByUrn(java.lang.String urn)
                                    throws PremisesAccessException
Deprecated. 
Gets a print job id from IBM WebSphere Sensor Events Server based on human readable epc urn e.g., "sgtin-64:0.1234567.100110.1" note: urns stored in IBM WebSphere Sensor Events Server are prepended with "urn:epc:tag:". This string is added to correctly query the database.

Parameters:
urn -
Returns:
Throws:
PremisesAccessException

getItemReferenceIdByUrn

public java.lang.String getItemReferenceIdByUrn(java.lang.String urn)
                                         throws PremisesAccessException
Deprecated. 
Gets an item reference from IBM WebSphere Sensor Events Server based on human readable epc urn e.g., "sgtin-64:0.1234567.100110.1" note: urns stored in IBM WebSphere Sensor Events Server are prepended with "urn:epc:tag:". This string is added to correctly query the database.

Parameters:
urn -
Returns:
Throws:
PremisesAccessException

sendAcceptToLightStack

public void sendAcceptToLightStack(java.lang.String locationid)
                            throws PremisesAccessException
Deprecated. 
Sends an accept message to the light stack at the specified location

Parameters:
locationid - location id of the light stack
Throws:
PremisesAccessException

sendRejectToLightStack

public void sendRejectToLightStack(java.lang.String locationid)
                            throws PremisesAccessException
Deprecated. 
Sends a reject message to the light stack at the specified location

Parameters:
locationid - location id of the light stack
Throws:
PremisesAccessException

turnReaderOn

public void turnReaderOn(java.lang.String locationid,
                         java.lang.String deviceid)
                  throws PremisesAccessException
Deprecated. see startLocation method

Sends a start reader command to a Reader

Parameters:
locationid - location ID of Reader
deviceid - device ID of Reader
Throws:
PremisesAccessException

turnDeviceOn

public void turnDeviceOn(java.lang.String locationid,
                         java.lang.String deviceid)
                  throws PremisesAccessException
Deprecated. see startLocation method

Sends a start Device command to a Device

Parameters:
locationid - location ID of Device
deviceid - device ID of Device
Throws:
PremisesAccessException

startLocation

public void startLocation(java.lang.String locationid)
                   throws PremisesAccessException
Deprecated. 
Sends a start Location command to the given location ID

Parameters:
locationid - location ID
Throws:
PremisesAccessException

turnReaderOff

public void turnReaderOff(java.lang.String locationid,
                          java.lang.String deviceid)
                   throws PremisesAccessException
Deprecated. see stopLocation method

Sends a stop reader command to a Reader

Parameters:
locationid - location ID of Reader
deviceid - Device ID of Reader
Throws:
PremisesAccessException

turnDeviceOff

public void turnDeviceOff(java.lang.String locationid,
                          java.lang.String deviceid)
                   throws PremisesAccessException
Deprecated. see stopLocation method

Sends a stop device command to the given Device

Parameters:
locationid - location ID for the Device
deviceid - Device ID
Throws:
PremisesAccessException

stopLocation

public void stopLocation(java.lang.String locationid)
                  throws PremisesAccessException
Deprecated. 
Sends a stop location command to the given Location

Parameters:
locationid - location ID
Throws:
PremisesAccessException

getReaderStatus

public java.lang.String getReaderStatus(java.lang.String locationId)
                                 throws PremisesAccessException
Deprecated. see getDeviceStatus method

Gets the reader status

Parameters:
locationId - location ID of Reader
Returns:
the status of a Reader
Throws:
PremisesAccessException

getDeviceStatus

public java.lang.String getDeviceStatus(java.lang.String locationId)
                                 throws PremisesAccessException
Deprecated. 
Gets the device status

Parameters:
locationId - location ID of device
Returns:
the status of a Device
Throws:
PremisesAccessException

printJob

public java.lang.String printJob(java.lang.String locationid,
                                 java.lang.String printerid,
                                 PrintDetails pd)
                          throws PremisesAccessException
Deprecated. 
Sends a print job command to the IBM WebSphere Sensor Events

Parameters:
locationid - location ID of Printer object
printerid - printer ID of Printer object
pd - PrintDetails object
Returns:
the print job id if successfully submitted, null if not
Throws:
PremisesAccessException

getPrintTemplatesOfType

public PrintTemplate[] getPrintTemplatesOfType(java.lang.String printerTypeId)
                                        throws PremisesAccessException
Deprecated. 
Gets the Print templates of the specified type

Parameters:
printerTypeId - the unique ID of the printer type
Returns:
and array of PrintTemplate objects for a printer type
Throws:
PremisesAccessException

getAllPrintTemplates

public PrintTemplate[] getAllPrintTemplates()
                                     throws PremisesAccessException
Deprecated. 
Gets all of the print templates

Returns:
an array of all print templates from the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getReader

public Reader getReader(java.lang.String deviceid)
                 throws PremisesAccessException
Deprecated. see getDevice method

Gets the reader with the specified device ID

Parameters:
deviceid - device ID of Reader
Returns:
Reader object on Premises Server
Throws:
PremisesAccessException

getPrinter

public Printer getPrinter(java.lang.String deviceid)
                   throws PremisesAccessException
Deprecated. 
Gets the printer with the specified device ID

Parameters:
deviceid - device ID of Printer
Returns:
Printer object on IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getAllPrinters

public Printer[] getAllPrinters()
                         throws PremisesAccessException
Deprecated. 
Gets all printers defined in the IBM WebSphere Sensor Events Server

Returns:
array of all Printer objects defined in the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getAllReaders

public Reader[] getAllReaders()
                       throws PremisesAccessException
Deprecated. see getAllDevice method

Gets all Reader objects defined in the IBM WebSphere Sensor Events Server

Returns:
array of all Reader objects defined in the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getAllDevices

public Device[] getAllDevices()
                       throws PremisesAccessException
Deprecated. 
Gets all Device objects defined in the IBM WebSphere Sensor Events Server

Returns:
array of all Device objects defined in the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getAllDevicesByCategoryName

public Device[] getAllDevicesByCategoryName(java.lang.String category)
                                     throws PremisesAccessException
Deprecated. 
Gets all Device objects defined in the IBM WebSphere Sensor Events Server for given Device Category

Parameters:
Device - Category Name
Returns:
array of all Device objects defined in the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getDeviceIDByCategoryName

public java.lang.String[] getDeviceIDByCategoryName(java.lang.String category)
                                             throws PremisesAccessException
Deprecated. 
Gets all Device objects defined in the IBM WebSphere Sensor Events Server for given Device Category

Parameters:
Device - Category Name
Returns:
String array of Device ID's defined in the IBM WebSphere Sensor Events Server for given Category.
Throws:
PremisesAccessException

getDevice

public Device getDevice(java.lang.String deviceid)
                 throws PremisesAccessException
Deprecated. 
Gets the Device with the specified device ID

Parameters:
deviceid - device ID of Reader
Returns:
Device object on IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getAllController

public Controller[] getAllController()
                              throws PremisesAccessException
Deprecated. 
Gets all Controller objects defined in the IBM WebSphere Sensor Events Server

Returns:
array of all Controller objects defined in the IBM WebSphere Sensor Events Server for the Data Capture Configuration
Throws:
PremisesAccessException

getController

public Controller getController(java.lang.String controllerid)
                         throws PremisesAccessException
Deprecated. 
Gets the Controller object with the specified Controller ID

Parameters:
controllerid - unique ID for Controller
Returns:
Controller object on IBM WebSphere Sensor Events Server for the Data Capture Configuration
Throws:
PremisesAccessException

getAllLocation

public Location[] getAllLocation()
                          throws PremisesAccessException
Deprecated. 
Gets all Location objects defined in the IBM WebSphere Sensor Events Server

Returns:
array of all Location objects defined in the IBM WebSphere Sensor Events Server for the Data Capture Configuration
Throws:
PremisesAccessException

getLocation

public Location getLocation(java.lang.String locationid)
                     throws PremisesAccessException
Deprecated. 
Gets the Location object with the specified Location ID or Location Alias

Parameters:
locationid - or location alias for the Location
Returns:
Location object on IBM WebSphere Sensor Events Server for the Data Capture Configuration
Throws:
PremisesAccessException

setLocationMetaData

public void setLocationMetaData(java.lang.String locationid,
                                java.util.HashMap metadata)
                         throws PremisesAccessException
Deprecated. 
Sets the Location object with given metadata values

Parameters:
locationid - for the Location
metadata - for the Location
Throws:
PremisesAccessException

getLocationMetaData

public java.util.HashMap getLocationMetaData(java.lang.String locationid)
                                      throws PremisesAccessException
Deprecated. 
Gets the metadata values for given Location

Parameters:
locationid - for the Location
Throws:
PremisesAccessException

updateLocationMetaData

public void updateLocationMetaData(java.lang.String locationid,
                                   java.util.HashMap metadata)
                            throws PremisesAccessException
Deprecated. 
Updates the Location object with given metadata values

Parameters:
locationid - for the Location
metadata - for the Location
Throws:
PremisesAccessException

deleteLocationMetaData

public void deleteLocationMetaData(java.lang.String locationid,
                                   java.lang.String keyname)
                            throws PremisesAccessException
Deprecated. 
Deletes the metadata key and value for the given Location object

Parameters:
locationid - for the Location
keyname - for the vlaue to be deleted from the Backend DataBase
Throws:
PremisesAccessException

setControllerMetaData

public void setControllerMetaData(java.lang.String controllerid,
                                  java.util.HashMap metadata)
                           throws PremisesAccessException
Deprecated. 
Sets the Controller object with given metadata values

Parameters:
controllerid - for the Contoller
metadata - for the Controller
Throws:
PremisesAccessException

getControllerMetaData

public java.util.HashMap getControllerMetaData(java.lang.String controllerid)
                                        throws PremisesAccessException
Deprecated. 
Gets the metdadata values for given Controller

Parameters:
controllerid - for the Contoller
Throws:
PremisesAccessException

updateControllerMetaData

public void updateControllerMetaData(java.lang.String controllerid,
                                     java.util.HashMap metadata)
                              throws PremisesAccessException
Deprecated. 
Updates the Controller object with given metadata values

Parameters:
controllerid - for the Contoller
metadata - for the Controller
Throws:
PremisesAccessException

deleteControllerMetaData

public void deleteControllerMetaData(java.lang.String controllerid,
                                     java.lang.String keyname)
                              throws PremisesAccessException
Deprecated. 
Deletes the metadata key and value for the given Controller object

Parameters:
controllerid - for the Contoller
keyname - for the vlaue to be deleted from the Backend DataBase
Throws:
PremisesAccessException

setLocationMetaDataAndStartLocation

public void setLocationMetaDataAndStartLocation(java.lang.String locationid,
                                                java.util.HashMap metadata)
                                         throws PremisesAccessException
Deprecated. 
Sets metadata and starts the given location object

Parameters:
locationid - for the Location
metadata - for the Location
Throws:
PremisesAccessException

getPremisesPropertiesKeyValue

public java.lang.String getPremisesPropertiesKeyValue(java.lang.String key)
                                               throws PremisesAccessException
Deprecated. 
Gets the key value from premises.properties (default location is - IBM_RFID_HOME\premises\properties)

Parameters:
key - properties key name
Returns:
value for the given key
Throws:
PremisesAccessException

getPrinterType

public PrinterType getPrinterType(java.lang.String printerTypeId)
                           throws PremisesAccessException
Deprecated. 
Gets the PrinterType using the specified printer type ID

Parameters:
printerTypeId - printer type unique ID
Returns:
PrinterType object for printerTypeId
Throws:
PremisesAccessException

getReaderType

public ReaderType getReaderType(java.lang.String readerTypeId)
                         throws PremisesAccessException
Deprecated. 
Gets the ReaderType using the specified reader type ID

Parameters:
readerTypeId - reader type unique ID
Returns:
ReaderType object for readerTypeId, returns null if not found
Throws:
PremisesAccessException

getPrintJobStatus

public java.lang.String getPrintJobStatus(java.lang.String printJobId)
                                   throws PremisesAccessException
Deprecated. 
Throws:
PremisesAccessException

getPrintJob

public PrintJob getPrintJob(java.lang.String printJobId)
                     throws PremisesAccessException
Deprecated. 
Get registered print job

Parameters:
printJobId - id of print job you are looking for
Returns:
PrintJob object if print job with id printJobId has been successfully registered.

note: "successfully registered" does not mean "successfully printed".

Throws:
PremisesAccessException

getPrintJobs

public PrintJob[] getPrintJobs()
                        throws PremisesAccessException
Deprecated. 
Get all of the print jobs that have been registered.

Returns:
an array of PrintJob objects representing all print jobs that have been successfully registered.

note: "successfully registered" does not mean "successfully printed".

Throws:
PremisesAccessException

getSupplyChainProfiles

public SupplyChainProfile[] getSupplyChainProfiles()
                                            throws PremisesAccessException
Deprecated. 
Gets all of the SupplyChainProfiles that are currently defined

Returns:
an array of SupplyChainProfile objects that are currently defined on the IBM WebSphere Sensor Events Server
Throws:
PremisesAccessException

getSupplyChainProfile

public SupplyChainProfile getSupplyChainProfile(java.lang.String id)
                                         throws PremisesAccessException
Deprecated. 
Gets the SupplyChainProfile with a specified ID

Parameters:
id - supply chain profile id
Returns:
SupplyChainProfile object
Throws:
PremisesAccessException

getPrintDetailsByBusinessRef

public PrintDetails[] getPrintDetailsByBusinessRef(java.lang.String businessRefId)
                                            throws PremisesAccessException
Deprecated. 
Gets the PrintDetails using a specified business reference ID

Parameters:
businessRefId -
Returns:
an array of PrintDetails objects that have been submitted to the IBM WebSphere Sensor Events Server to be printed (you can have multiple print job submissions per business reference)
Throws:
PremisesAccessException

getPrintDetails

public PrintDetails getPrintDetails(java.lang.String printJobId)
                             throws PremisesAccessException
Deprecated. 
Gets the PrintDetails for a specific print job

Parameters:
printJobId -
Returns:
PrintDetails object representing the print job that was submitted to the IBM WebSphere Sensor Events Server.
Throws:
PremisesAccessException

getEpcTagData

public java.lang.String[] getEpcTagData(java.lang.String printJobId)
                                 throws PremisesAccessException
Deprecated. 
Gets the EPC Tag Data for a specific print job

Parameters:
printJobId -
Returns:
an array of epc tag data Strings that were printed based on
Throws:
PremisesAccessException - the printJobId

getEpcTagDataByBusinessRef

public java.lang.String[] getEpcTagDataByBusinessRef(java.lang.String businessRef)
                                              throws PremisesAccessException
Deprecated. 
Gets the EPC Tag Data for a specific business reference

Parameters:
businessRef - business reference id
Returns:
an array of epc tag data strings for all labels printed for all print jobs that used businessRef as the business reference id.
Throws:
PremisesAccessException

clearALEData

public void clearALEData(java.lang.String location)
                  throws PremisesAccessException
Deprecated. 
clears the ALE Data for a given location

Parameters:
location - location id
Throws:
PremisesAccessException

getALEData

public ECReports[] getALEData(java.lang.String location)
                       throws PremisesAccessException
Deprecated. 
gets the ECReports for a given location/reader

Parameters:
location - location id of reader
Returns:
array of ECReports objects
Throws:
PremisesAccessException

getTagHistoriesForLocation

public TagHistoriesForLocationOutput[] getTagHistoriesForLocation(long startDateTime,
                                                                  java.lang.String locationId)
                                                           throws PremisesAccessException
Deprecated. 
Throws:
PremisesAccessException

getTagHistoriesForReader

public TagHistoriesForReaderOutput[] getTagHistoriesForReader(long startDateTime,
                                                              java.lang.String readerId)
                                                       throws PremisesAccessException
Deprecated. 
Throws:
PremisesAccessException

getHistoryForTag

public HistoryForTagOutput[] getHistoryForTag(long startDateTime,
                                              java.lang.String tag)
                                       throws PremisesAccessException
Deprecated. 
Throws:
PremisesAccessException

decodeEPCValue

public java.util.Map decodeEPCValue(java.lang.String epcVal)
                             throws PremisesAccessException
Deprecated. 
Decodes given EPC Hex value and retrun map for all the decoded values.

Parameters:
EPC - Hex value as String.
Returns:
map of EPC decoed values

Following are the map key names for the decoded EPC value.
TagType
CompanyPrefix
Filter
Partition
IndividualAssetReference
AssetType
SerialNumber
LocationReference
ExtensionComponent
GeneralManagerNumber
ObjectClass
CAGECode
SerialReference
TagHeader
If given tag does not have any of the mentioned values above in the tag, the map is not going to be populated with the certain key name and value.

Throws:
PremisesAccessException

sendLocationMetaData

public void sendLocationMetaData(java.lang.String locationId,
                                 boolean isDelete,
                                 java.util.Map attributes)
                          throws PremisesAccessException
Deprecated. 
This API call will send IBMSensorEvent to the Data Capture Controller. Payload for the IBMSensorEvent will contain key and value mention in the Map as attributes. Purpose of this method is to keep Data Capture Controller in sync with Location MetaData set on the IBM WebSphere Sensor Events Server.

Parameters:
Location - ID as String.
Ture/false - is API need to send Delete Event to Data Capture Device.
Attributes - as Map to set into the IBMSensorEvent Payload.
Throws:
PremisesAccessException


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