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 TypeMethodDescriptionvoidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintbooleanbooleanbooleanbooleanbooleanlongbooleanlongintbooleanbooleanbooleanvoidinitializeMedium(String mediumID)voidprintContent(String fromMarker, String toMarker)voidprintContentFile(String fileName)voidqueryContent(String fileName, String fromMarker, String toMarker)voidvoidvoidretrieveCurrentMarker(int markerType, String[] marker)voidretrieveMarker(int markerType, int sessionNumber, int documentNumber, String[] marker)voidretrieveMarkerByDateTime(int markerType, String dateTime, String markerNumber, String[] marker)voidretrieveMarkersDateTime(String marker, String[] dateTime)voidsetFlagWhenIdle(boolean flag)voidsetStation(int station)voidsetStorageEnabled(boolean flag)voidsetWaterMark(boolean flag)voidvoidMethods 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, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods 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, updateStatisticsMethods 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:
getCapAddMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapErasableMedium
public boolean getCapErasableMedium() throws jpos.JposException- Specified by:
getCapErasableMediumin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapInitializeMedium
public boolean getCapInitializeMedium() throws jpos.JposException- Specified by:
getCapInitializeMediumin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapMediumIsAvailable
public boolean getCapMediumIsAvailable() throws jpos.JposException- Specified by:
getCapMediumIsAvailablein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapPrintContent
public boolean getCapPrintContent() throws jpos.JposException- Specified by:
getCapPrintContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapPrintContentFile
public boolean getCapPrintContentFile() throws jpos.JposException- Specified by:
getCapPrintContentFilein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapRetrieveCurrentMarker
public boolean getCapRetrieveCurrentMarker() throws jpos.JposException- Specified by:
getCapRetrieveCurrentMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapRetrieveMarker
public boolean getCapRetrieveMarker() throws jpos.JposException- Specified by:
getCapRetrieveMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapRetrieveMarkerByDateTime
public boolean getCapRetrieveMarkerByDateTime() throws jpos.JposException- Specified by:
getCapRetrieveMarkerByDateTimein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapRetrieveMarkersDateTime
public boolean getCapRetrieveMarkersDateTime() throws jpos.JposException- Specified by:
getCapRetrieveMarkersDateTimein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapStation
public int getCapStation() throws jpos.JposException- Specified by:
getCapStationin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapStorageEnabled
public boolean getCapStorageEnabled() throws jpos.JposException- Specified by:
getCapStorageEnabledin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapSuspendPrintContent
public boolean getCapSuspendPrintContent() throws jpos.JposException- Specified by:
getCapSuspendPrintContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapSuspendQueryContent
public boolean getCapSuspendQueryContent() throws jpos.JposException- Specified by:
getCapSuspendQueryContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getCapWaterMark
public boolean getCapWaterMark() throws jpos.JposException- Specified by:
getCapWaterMarkin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getFlagWhenIdle
public boolean getFlagWhenIdle() throws jpos.JposException- Specified by:
getFlagWhenIdlein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
setFlagWhenIdle
public void setFlagWhenIdle(boolean flag) throws jpos.JposException- Specified by:
setFlagWhenIdlein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getMediumFreeSpace
public long getMediumFreeSpace() throws jpos.JposException- Specified by:
getMediumFreeSpacein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getMediumID
- Specified by:
getMediumIDin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getMediumIsAvailable
public boolean getMediumIsAvailable() throws jpos.JposException- Specified by:
getMediumIsAvailablein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getMediumSize
public long getMediumSize() throws jpos.JposException- Specified by:
getMediumSizein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getStation
public int getStation() throws jpos.JposException- Specified by:
getStationin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
setStation
public void setStation(int station) throws jpos.JposException- Specified by:
setStationin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getStorageEnabled
public boolean getStorageEnabled() throws jpos.JposException- Specified by:
getStorageEnabledin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
setStorageEnabled
public void setStorageEnabled(boolean flag) throws jpos.JposException- Specified by:
setStorageEnabledin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getSuspended
public boolean getSuspended() throws jpos.JposException- Specified by:
getSuspendedin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
getWaterMark
public boolean getWaterMark() throws jpos.JposException- Specified by:
getWaterMarkin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
setWaterMark
public void setWaterMark(boolean flag) throws jpos.JposException- Specified by:
setWaterMarkin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
addMarker
- Specified by:
addMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
cancelPrintContent
public void cancelPrintContent() throws jpos.JposException- Specified by:
cancelPrintContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
cancelQueryContent
public void cancelQueryContent() throws jpos.JposException- Specified by:
cancelQueryContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
eraseMedium
public void eraseMedium() throws jpos.JposException- Specified by:
eraseMediumin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
initializeMedium
- Specified by:
initializeMediumin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
printContent
- Specified by:
printContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
printContentFile
- Specified by:
printContentFilein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
queryContent
public void queryContent(String fileName, String fromMarker, String toMarker) throws jpos.JposException- Specified by:
queryContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
resumePrintContent
public void resumePrintContent() throws jpos.JposException- Specified by:
resumePrintContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
resumeQueryContent
public void resumeQueryContent() throws jpos.JposException- Specified by:
resumeQueryContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
retrieveCurrentMarker
- Specified by:
retrieveCurrentMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
retrieveMarker
public void retrieveMarker(int markerType, int sessionNumber, int documentNumber, String[] marker) throws jpos.JposException- Specified by:
retrieveMarkerin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
retrieveMarkerByDateTime
public void retrieveMarkerByDateTime(int markerType, String dateTime, String markerNumber, String[] marker) throws jpos.JposException- Specified by:
retrieveMarkerByDateTimein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
retrieveMarkersDateTime
- Specified by:
retrieveMarkersDateTimein interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
suspendPrintContent
public void suspendPrintContent() throws jpos.JposException- Specified by:
suspendPrintContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-
suspendQueryContent
public void suspendQueryContent() throws jpos.JposException- Specified by:
suspendQueryContentin interfacejpos.services.ElectronicJournalService110- Throws:
jpos.JposException
-