Class ElectronicJournalService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.electronicjournal.ElectronicJournalService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.ElectronicJournalService110
,jpos.services.ElectronicJournalService111
,jpos.services.ElectronicJournalService112
,jpos.services.ElectronicJournalService113
,jpos.services.ElectronicJournalService114
,jpos.services.ElectronicJournalService115
,jpos.services.ElectronicJournalService116
public class ElectronicJournalService
extends JposBase
implements jpos.services.ElectronicJournalService116
ElectronicJournal service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the ElectronicJournalInterface for electronic journal specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props
-
Constructor Summary
ConstructorsConstructorDescriptionElectronicJournalService(ElectronicJournalProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
boolean
boolean
boolean
boolean
boolean
long
boolean
long
int
boolean
boolean
boolean
void
initializeMedium(String mediumID)
void
printContent(String fromMarker, String toMarker)
void
printContentFile(String fileName)
void
queryContent(String fileName, String fromMarker, String toMarker)
void
void
void
retrieveCurrentMarker(int markerType, String[] marker)
void
retrieveMarker(int markerType, int sessionNumber, int documentNumber, String[] marker)
void
retrieveMarkerByDateTime(int markerType, String dateTime, String markerNumber, String[] marker)
void
retrieveMarkersDateTime(String marker, String[] dateTime)
void
setFlagWhenIdle(boolean flag)
void
setStation(int station)
void
setStorageEnabled(boolean flag)
void
setWaterMark(boolean flag)
void
void
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.services.ElectronicJournalService110
clearInput, clearOutput, compareFirmwareVersion, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getOutputID, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
ElectronicJournalInterface
Instance of a class implementing the ElectronicJournalInterface for electronic journal specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
ElectronicJournalService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapAddMarker
public boolean getCapAddMarker() throws jpos.JposException- Specified by:
getCapAddMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapErasableMedium
public boolean getCapErasableMedium() throws jpos.JposException- Specified by:
getCapErasableMedium
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapInitializeMedium
public boolean getCapInitializeMedium() throws jpos.JposException- Specified by:
getCapInitializeMedium
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapMediumIsAvailable
public boolean getCapMediumIsAvailable() throws jpos.JposException- Specified by:
getCapMediumIsAvailable
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapPrintContent
public boolean getCapPrintContent() throws jpos.JposException- Specified by:
getCapPrintContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapPrintContentFile
public boolean getCapPrintContentFile() throws jpos.JposException- Specified by:
getCapPrintContentFile
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapRetrieveCurrentMarker
public boolean getCapRetrieveCurrentMarker() throws jpos.JposException- Specified by:
getCapRetrieveCurrentMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapRetrieveMarker
public boolean getCapRetrieveMarker() throws jpos.JposException- Specified by:
getCapRetrieveMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapRetrieveMarkerByDateTime
public boolean getCapRetrieveMarkerByDateTime() throws jpos.JposException- Specified by:
getCapRetrieveMarkerByDateTime
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapRetrieveMarkersDateTime
public boolean getCapRetrieveMarkersDateTime() throws jpos.JposException- Specified by:
getCapRetrieveMarkersDateTime
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapStation
public int getCapStation() throws jpos.JposException- Specified by:
getCapStation
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapStorageEnabled
public boolean getCapStorageEnabled() throws jpos.JposException- Specified by:
getCapStorageEnabled
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapSuspendPrintContent
public boolean getCapSuspendPrintContent() throws jpos.JposException- Specified by:
getCapSuspendPrintContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapSuspendQueryContent
public boolean getCapSuspendQueryContent() throws jpos.JposException- Specified by:
getCapSuspendQueryContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getCapWaterMark
public boolean getCapWaterMark() throws jpos.JposException- Specified by:
getCapWaterMark
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getFlagWhenIdle
public boolean getFlagWhenIdle() throws jpos.JposException- Specified by:
getFlagWhenIdle
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
setFlagWhenIdle
public void setFlagWhenIdle(boolean flag) throws jpos.JposException- Specified by:
setFlagWhenIdle
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getMediumFreeSpace
public long getMediumFreeSpace() throws jpos.JposException- Specified by:
getMediumFreeSpace
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getMediumID
- Specified by:
getMediumID
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getMediumIsAvailable
public boolean getMediumIsAvailable() throws jpos.JposException- Specified by:
getMediumIsAvailable
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getMediumSize
public long getMediumSize() throws jpos.JposException- Specified by:
getMediumSize
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getStation
public int getStation() throws jpos.JposException- Specified by:
getStation
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
setStation
public void setStation(int station) throws jpos.JposException- Specified by:
setStation
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getStorageEnabled
public boolean getStorageEnabled() throws jpos.JposException- Specified by:
getStorageEnabled
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
setStorageEnabled
public void setStorageEnabled(boolean flag) throws jpos.JposException- Specified by:
setStorageEnabled
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getSuspended
public boolean getSuspended() throws jpos.JposException- Specified by:
getSuspended
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
getWaterMark
public boolean getWaterMark() throws jpos.JposException- Specified by:
getWaterMark
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
setWaterMark
public void setWaterMark(boolean flag) throws jpos.JposException- Specified by:
setWaterMark
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
addMarker
- Specified by:
addMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
cancelPrintContent
public void cancelPrintContent() throws jpos.JposException- Specified by:
cancelPrintContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
cancelQueryContent
public void cancelQueryContent() throws jpos.JposException- Specified by:
cancelQueryContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
eraseMedium
public void eraseMedium() throws jpos.JposException- Specified by:
eraseMedium
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
initializeMedium
- Specified by:
initializeMedium
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
printContent
- Specified by:
printContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
printContentFile
- Specified by:
printContentFile
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
queryContent
public void queryContent(String fileName, String fromMarker, String toMarker) throws jpos.JposException- Specified by:
queryContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
resumePrintContent
public void resumePrintContent() throws jpos.JposException- Specified by:
resumePrintContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
resumeQueryContent
public void resumeQueryContent() throws jpos.JposException- Specified by:
resumeQueryContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
retrieveCurrentMarker
- Specified by:
retrieveCurrentMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
retrieveMarker
public void retrieveMarker(int markerType, int sessionNumber, int documentNumber, String[] marker) throws jpos.JposException- Specified by:
retrieveMarker
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
retrieveMarkerByDateTime
public void retrieveMarkerByDateTime(int markerType, String dateTime, String markerNumber, String[] marker) throws jpos.JposException- Specified by:
retrieveMarkerByDateTime
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
retrieveMarkersDateTime
- Specified by:
retrieveMarkersDateTime
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
suspendPrintContent
public void suspendPrintContent() throws jpos.JposException- Specified by:
suspendPrintContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-
suspendQueryContent
public void suspendQueryContent() throws jpos.JposException- Specified by:
suspendQueryContent
in interfacejpos.services.ElectronicJournalService110
- Throws:
jpos.JposException
-