Class StiODataSource

  • All Implemented Interfaces:
    com.stimulsoft.base.IStiJsonReportObject, com.stimulsoft.base.serializing.interfaceobject.IStiSerializable, com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef, com.stimulsoft.lib.commoninterface.IStiName, com.stimulsoft.report.dictionary.IStiEnumerator, com.stimulsoft.report.IStiInherited, com.stimulsoft.report.IStiStateSaveRestore, Cloneable

    public class StiODataSource
    extends com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
    • Field Summary

      • Fields inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource

        columns, columnsIndexs, connectOnStart, detailRows, initForSubreport, RowToLevel
      • Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef

        REFERENCE_EMPTY, REFERENCE_REPORT
    • Constructor Summary

      Constructors 
      Constructor Description
      StiODataSource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Class<? extends com.stimulsoft.report.dictionary.databases.StiDatabase> getDatabaseClass()  
      String getQuery()  
      void LoadFromJsonObject​(com.stimulsoft.base.json.JSONObject jObject)  
      com.stimulsoft.base.json.JSONObject SaveToJsonObject​(com.stimulsoft.base.StiJsonSaveMode mode)  
      void setQuery​(String sqlCommand)  
      • Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataTableSource

        GetCategoryName
      • Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource

        connect, connect, createNewTable, disconnect, getDataName, getNameInSource, setDataName, setNameInSource
      • Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource

        CheckColumnsIndexs, clearAllStates, ClearAllStates, First, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectionOrder, getConnectOnStart, getCount, getData, GetData, GetData, getDatabase, GetDataRow, getDataTable, getDictionary, getInherited, getIsBof, getIsConnected, getIsEmpty, getIsEof, getItem, getKey, GetLevel, getName, getParameters, GetParentData, GetParentDataSource, GetParentRelations, getPosition, getPositionValue, getRealCount, getRelations, getRows, getStates, getVariableParameterByName, getVariableParameters, InvokeConnecting, InvokeDisconnecting, isEmpty, Last, Next, prepareData, Prior, ResetData, ResetDetailsRows, restoreState, RestoreState, saveState, setAlias, setColumns, setConnectionOrder, setConnectOnStart, setCorrectName, SetData, setDataTable, SetDetails, setDictionary, SetFilter, setInherited, setIsBof, setIsEof, setKey, setName, setParameters, setPosition, setPositionValue, setRows, SetSort, setVariableParameters, size, toString
      • Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject

        cleanReference, getReference, setReference
      • Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef

        getReference, setReference
    • Constructor Detail

      • StiODataSource

        public StiODataSource()
    • Method Detail

      • getQuery

        public String getQuery()
        Overrides:
        getQuery in class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
      • setQuery

        public void setQuery​(String sqlCommand)
      • getDatabaseClass

        public Class<? extends com.stimulsoft.report.dictionary.databases.StiDatabase> getDatabaseClass()
        Overrides:
        getDatabaseClass in class com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
      • SaveToJsonObject

        public com.stimulsoft.base.json.JSONObject SaveToJsonObject​(com.stimulsoft.base.StiJsonSaveMode mode)
                                                             throws com.stimulsoft.base.json.JSONException
        Specified by:
        SaveToJsonObject in interface com.stimulsoft.base.IStiJsonReportObject
        Overrides:
        SaveToJsonObject in class com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
        Throws:
        com.stimulsoft.base.json.JSONException
      • LoadFromJsonObject

        public void LoadFromJsonObject​(com.stimulsoft.base.json.JSONObject jObject)
                                throws com.stimulsoft.base.json.JSONException
        Specified by:
        LoadFromJsonObject in interface com.stimulsoft.base.IStiJsonReportObject
        Overrides:
        LoadFromJsonObject in class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
        Throws:
        com.stimulsoft.base.json.JSONException