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 Details

    • ElectronicJournalInterface

      public ElectronicJournalInterface 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

      public ElectronicJournalService(ElectronicJournalProperties props, JposDevice device)
      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 interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapErasableMedium

      public boolean getCapErasableMedium() throws jpos.JposException
      Specified by:
      getCapErasableMedium in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapInitializeMedium

      public boolean getCapInitializeMedium() throws jpos.JposException
      Specified by:
      getCapInitializeMedium in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapMediumIsAvailable

      public boolean getCapMediumIsAvailable() throws jpos.JposException
      Specified by:
      getCapMediumIsAvailable in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapPrintContent

      public boolean getCapPrintContent() throws jpos.JposException
      Specified by:
      getCapPrintContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapPrintContentFile

      public boolean getCapPrintContentFile() throws jpos.JposException
      Specified by:
      getCapPrintContentFile in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapRetrieveCurrentMarker

      public boolean getCapRetrieveCurrentMarker() throws jpos.JposException
      Specified by:
      getCapRetrieveCurrentMarker in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapRetrieveMarker

      public boolean getCapRetrieveMarker() throws jpos.JposException
      Specified by:
      getCapRetrieveMarker in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapRetrieveMarkerByDateTime

      public boolean getCapRetrieveMarkerByDateTime() throws jpos.JposException
      Specified by:
      getCapRetrieveMarkerByDateTime in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapRetrieveMarkersDateTime

      public boolean getCapRetrieveMarkersDateTime() throws jpos.JposException
      Specified by:
      getCapRetrieveMarkersDateTime in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapStation

      public int getCapStation() throws jpos.JposException
      Specified by:
      getCapStation in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapStorageEnabled

      public boolean getCapStorageEnabled() throws jpos.JposException
      Specified by:
      getCapStorageEnabled in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapSuspendPrintContent

      public boolean getCapSuspendPrintContent() throws jpos.JposException
      Specified by:
      getCapSuspendPrintContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapSuspendQueryContent

      public boolean getCapSuspendQueryContent() throws jpos.JposException
      Specified by:
      getCapSuspendQueryContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getCapWaterMark

      public boolean getCapWaterMark() throws jpos.JposException
      Specified by:
      getCapWaterMark in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getFlagWhenIdle

      public boolean getFlagWhenIdle() throws jpos.JposException
      Specified by:
      getFlagWhenIdle in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • setFlagWhenIdle

      public void setFlagWhenIdle(boolean flag) throws jpos.JposException
      Specified by:
      setFlagWhenIdle in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getMediumFreeSpace

      public long getMediumFreeSpace() throws jpos.JposException
      Specified by:
      getMediumFreeSpace in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getMediumID

      public String getMediumID() throws jpos.JposException
      Specified by:
      getMediumID in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getMediumIsAvailable

      public boolean getMediumIsAvailable() throws jpos.JposException
      Specified by:
      getMediumIsAvailable in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getMediumSize

      public long getMediumSize() throws jpos.JposException
      Specified by:
      getMediumSize in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getStation

      public int getStation() throws jpos.JposException
      Specified by:
      getStation in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • setStation

      public void setStation(int station) throws jpos.JposException
      Specified by:
      setStation in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getStorageEnabled

      public boolean getStorageEnabled() throws jpos.JposException
      Specified by:
      getStorageEnabled in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • setStorageEnabled

      public void setStorageEnabled(boolean flag) throws jpos.JposException
      Specified by:
      setStorageEnabled in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getSuspended

      public boolean getSuspended() throws jpos.JposException
      Specified by:
      getSuspended in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • getWaterMark

      public boolean getWaterMark() throws jpos.JposException
      Specified by:
      getWaterMark in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • setWaterMark

      public void setWaterMark(boolean flag) throws jpos.JposException
      Specified by:
      setWaterMark in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • addMarker

      public void addMarker(String marker) throws jpos.JposException
      Specified by:
      addMarker in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • cancelPrintContent

      public void cancelPrintContent() throws jpos.JposException
      Specified by:
      cancelPrintContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • cancelQueryContent

      public void cancelQueryContent() throws jpos.JposException
      Specified by:
      cancelQueryContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • eraseMedium

      public void eraseMedium() throws jpos.JposException
      Specified by:
      eraseMedium in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • initializeMedium

      public void initializeMedium(String mediumID) throws jpos.JposException
      Specified by:
      initializeMedium in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • printContent

      public void printContent(String fromMarker, String toMarker) throws jpos.JposException
      Specified by:
      printContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • printContentFile

      public void printContentFile(String fileName) throws jpos.JposException
      Specified by:
      printContentFile in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • queryContent

      public void queryContent(String fileName, String fromMarker, String toMarker) throws jpos.JposException
      Specified by:
      queryContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • resumePrintContent

      public void resumePrintContent() throws jpos.JposException
      Specified by:
      resumePrintContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • resumeQueryContent

      public void resumeQueryContent() throws jpos.JposException
      Specified by:
      resumeQueryContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • retrieveCurrentMarker

      public void retrieveCurrentMarker(int markerType, String[] marker) throws jpos.JposException
      Specified by:
      retrieveCurrentMarker in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • retrieveMarker

      public void retrieveMarker(int markerType, int sessionNumber, int documentNumber, String[] marker) throws jpos.JposException
      Specified by:
      retrieveMarker in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • retrieveMarkerByDateTime

      public void retrieveMarkerByDateTime(int markerType, String dateTime, String markerNumber, String[] marker) throws jpos.JposException
      Specified by:
      retrieveMarkerByDateTime in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • retrieveMarkersDateTime

      public void retrieveMarkersDateTime(String marker, String[] dateTime) throws jpos.JposException
      Specified by:
      retrieveMarkersDateTime in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • suspendPrintContent

      public void suspendPrintContent() throws jpos.JposException
      Specified by:
      suspendPrintContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException
    • suspendQueryContent

      public void suspendQueryContent() throws jpos.JposException
      Specified by:
      suspendQueryContent in interface jpos.services.ElectronicJournalService110
      Throws:
      jpos.JposException