Class Tibet2DatabaseStorage

java.lang.Object
org.frankframework.jdbc.JdbcFacade
org.frankframework.ladybug.tibet2.Tibet2DatabaseStorage
All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasPhysicalDestination, IConfigurable, IScopeProvider, IXAEnabled, NameAware, ConfigurableLifecycle, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.wearefrank.ladybug.storage.CrudStorage, org.wearefrank.ladybug.storage.LogStorage, org.wearefrank.ladybug.storage.Storage

public class Tibet2DatabaseStorage extends JdbcFacade implements org.wearefrank.ladybug.storage.LogStorage, org.wearefrank.ladybug.storage.CrudStorage
Author:
Jaco de Groot
  • Constructor Details

    • Tibet2DatabaseStorage

      public Tibet2DatabaseStorage()
  • Method Details

    • setName

      public void setName(String name)
      Description copied from class: JdbcFacade
      Name of the sender or the listener
      Specified by:
      setName in interface NameAware
      Specified by:
      setName in interface org.wearefrank.ladybug.storage.Storage
      Overrides:
      setName in class JdbcFacade
    • getName

      public String getName()
      Specified by:
      getName in interface HasName
      Specified by:
      getName in interface org.wearefrank.ladybug.storage.Storage
    • setTable

      public void setTable(String table)
    • getTable

      public String getTable()
    • setReportColumnNames

      public void setReportColumnNames(List<String> reportColumnNames)
    • getReportColumnNames

      public List<String> getReportColumnNames()
    • setBigValueColumns

      public void setBigValueColumns(List<String> bigValueColumns)
    • getBigValueColumns

      public List<String> getBigValueColumns()
    • setIntegerColumns

      public void setIntegerColumns(List<String> integerColumns)
    • setFixedStringColumns

      public void setFixedStringColumns(List<String> fixedStringColumns)
    • setFixedStringTables

      public void setFixedStringTables(Map<String,String> fixedStringTables)
    • getIntegerColumns

      public List<String> getIntegerColumns()
    • setTimestampColumns

      public void setTimestampColumns(List<String> timestampColumns)
    • getTimestampColumns

      public List<String> getTimestampColumns()
    • setTestTool

      public void setTestTool(org.wearefrank.ladybug.TestTool testTool)
    • setIbisDebugger

      public void setIbisDebugger(LadybugDebugger ibisDebugger)
    • setSecurityContext

      public void setSecurityContext(org.wearefrank.ladybug.SecurityContext securityContext)
      Called by TibetView.initBean() (not by Spring)
    • init

      @PostConstruct public void init() throws JdbcException
      Throws:
      JdbcException
    • getSize

      public int getSize() throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      getSize in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • getStorageIds

      public List<Integer> getStorageIds() throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      getStorageIds in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • getMetadata

      public List<List<Object>> getMetadata(int maxNumberOfRecords, List<String> metadataNames, List<String> searchValues, int metadataValueType) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      getMetadata in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • getReport

      public org.wearefrank.ladybug.Report getReport(Integer storageId) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      getReport in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • close

      public void close()
      Specified by:
      close in interface org.wearefrank.ladybug.storage.Storage
    • getFilterType

      public int getFilterType(String column)
      Specified by:
      getFilterType in interface org.wearefrank.ladybug.storage.Storage
    • getFilterValues

      public List<Object> getFilterValues(String column) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      getFilterValues in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • getUserHelp

      public String getUserHelp(String column)
      Specified by:
      getUserHelp in interface org.wearefrank.ladybug.storage.Storage
    • store

      public void store(org.wearefrank.ladybug.Report report) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      store in interface org.wearefrank.ladybug.storage.CrudStorage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • update

      public void update(org.wearefrank.ladybug.Report report) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      update in interface org.wearefrank.ladybug.storage.CrudStorage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • delete

      public void delete(org.wearefrank.ladybug.Report report) throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      delete in interface org.wearefrank.ladybug.storage.CrudStorage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • clear

      public void clear() throws org.wearefrank.ladybug.storage.StorageException
      Specified by:
      clear in interface org.wearefrank.ladybug.storage.Storage
      Throws:
      org.wearefrank.ladybug.storage.StorageException
    • storeWithoutException

      public void storeWithoutException(org.wearefrank.ladybug.Report report)
      Specified by:
      storeWithoutException in interface org.wearefrank.ladybug.storage.LogStorage
    • getWarningsAndErrors

      public String getWarningsAndErrors()
      Specified by:
      getWarningsAndErrors in interface org.wearefrank.ladybug.storage.LogStorage