Class StiDataStoreSource
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.dictionary.dataSources.StiDataSource
com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiEnumerator,ICloneable,IStiAlias,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiCsvSource,StiDataTableSource,StiDbUserSource,StiUserSource
Describes the base class for access to data in DataStore.
-
Field Summary
Fields inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
columns, columnsIndexs, connectionOrder, connectOnStart, detailRows, initForSubreport, RowToLevelFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiDataStoreSource.StiDataStoreSource(String nameInSource, String name) Creates a new object of the type StiDataTableSource.StiDataStoreSource(String nameInSource, String name, String alias) Creates a new object of the type StiDataStoreSource. -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()voidvoidReturns the name to categories of the Data Source.Deprecated.Gets or sets the name of Data Source in source of data.Returns the name to categories of the Data Source.getQuery()voidLoadFromJsonObject(JSONObject jObject) voidsetDataName(String value) Deprecated.voidsetNameInSource(String value) Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
CheckColumnsIndexs, clearAllStates, ClearAllStates, clone, fetchParentRelations, First, get, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectOnStart, getCount, getData, GetData, GetData, getDatabase, getDatabaseClass, 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, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiDataStoreSource
public StiDataStoreSource()Creates a new object of the type StiDataStoreSource. -
StiDataStoreSource
Creates a new object of the type StiDataTableSource.- Parameters:
name- Data Source name.dataName- Name of data in the DataStore.
-
StiDataStoreSource
Creates a new object of the type StiDataStoreSource.- Parameters:
name- Data Source name.alias- Data Source alias.dataName- Name of data in the DataStore.
-
-
Method Details
-
GetCategoryName
Returns the name to categories of the Data Source.- Overrides:
GetCategoryNamein classStiDataSource
-
getNameInSource
Gets or sets the name of Data Source in source of data. -
setNameInSource
-
connect
- Specified by:
connectin classStiDataSource- Throws:
StiException
-
connect
- Specified by:
connectin classStiDataSource- Throws:
StiException
-
disconnect
public void disconnect()- Overrides:
disconnectin classStiDataSource
-
getNameTableInSource
Returns the name to categories of the Data Source. -
getDataName
Deprecated.Gets or sets the name of Data Source in source of data. -
setDataName
Deprecated. -
createNewTable
-
getQuery
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiDataSource- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiDataSource- Throws:
JSONException
-