Class StiODataSource

java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.dictionary.dataSources.StiDataSource
com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
cronapi.report.odata.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.ICloneable, com.stimulsoft.report.IStiAlias, 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, connectionOrder, connectOnStart, detailRows, initForSubreport, RowToLevel

    Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef

    REFERENCE_EMPTY, REFERENCE_REPORT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends com.stimulsoft.report.dictionary.databases.StiDatabase>
     
     
    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, clone, First, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, 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, 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 class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef

    getReference, setReference
  • Constructor Details

    • StiODataSource

      public StiODataSource()
  • Method Details

    • 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