|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.dictionary.StiDictionary
public class StiDictionary
Class describes the dictionary data.
Field Summary | |
---|---|
StiDataSourcesCollection |
dataSources
|
StiVariablesCollection |
variables
|
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiDictionary()
Creates a new object of the type StiDictionary. |
|
StiDictionary(StiReport report)
Creates a new object of the type StiDictionary. |
Method Summary | |
---|---|
void |
clear()
Clears data dictionary. |
void |
clearAllStates()
Clear all states. |
void |
ClearAllStates()
Clears all earlier saved object states. |
void |
connect()
Connects all Data Sources to data. |
void |
connect(boolean loadData,
java.util.List<StiDataSource> dataSources)
Connects all Data Sources to data. |
void |
ConnectCrossTabDataSources()
|
void |
ConnectVirtualDataSources()
Intenal use only. |
void |
Disconnect()
|
static void |
DoAutoSynchronize(StiReport report)
Synchronizes DataStore and Dictionary. |
boolean |
existRelation(java.lang.String dataRelationName)
|
static StiAutoSynchronizeMode |
getAutoSynchronize()
Gets or sets Synchronization mode of the Dictionary. |
StiBusinessObjectsCollection |
getBusinessObjects()
Gets or sets collection of the business objects. |
DataSet |
getCacheDataSet()
|
static java.util.Hashtable |
getCacheUserNamesAndPasswords()
|
StiDatabaseCollection |
getDatabases()
Gets or sets collection of the databases. |
StiDataSourcesCollection |
getDataSources()
Gets or sets collection of the data sources. |
StiDataCollection |
getDataStore()
Gets or sets DataStore. |
boolean |
getisRequestFromUserVariablesPresent()
|
StiDataRelation |
getRelation(java.lang.String dataRelationName)
|
StiDataRelationsCollection |
getRelations()
Gets or sets collection of relations. |
StiReport |
getReport()
Gets or sets report in which given dictionary is placed. |
StiResourcesCollection |
getResources()
|
StiRestrictions |
getRestrictions()
Gets or sets collections of dictionary restrictions. |
boolean |
getShowOnlyAliasForVariable()
|
boolean |
getUseInternalData()
If the property is true then all data sources (including SQL sources) connect only with DataSet data, which were passed using RegData method. |
StiVariablesCollection |
getVariables()
Gets or sets collection of variables. |
void |
LoadFromJsonObject(JSONObject jObject)
|
void |
RegRelations(boolean b)
|
void |
restoreState(java.lang.String stateName)
Restores the earlier saved object state. |
void |
RestoreState(java.lang.String stateName)
Restores the earlier saved object state. |
void |
RetrievalData(java.util.Hashtable usedRelations,
java.util.Hashtable usedDataSources,
java.util.Hashtable usedColumns)
Returns Hashtables with the used relations, data sources and columns. |
void |
saveState(java.lang.String stateName)
Saves the current state of an object. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
static void |
setAutoSynchronize(StiAutoSynchronizeMode value)
|
void |
setBusinessObjects(StiBusinessObjectsCollection value)
|
void |
setCacheDataSet(DataSet value)
|
static void |
setCacheUserNamesAndPasswords(java.util.Hashtable value)
|
void |
setDatabases(StiDatabaseCollection value)
|
void |
setDataSources(StiDataSourcesCollection value)
|
void |
setDataStore(StiDataCollection value)
|
void |
setRelations(StiDataRelationsCollection value)
|
void |
setReport(StiReport value)
|
void |
setResources(StiResourcesCollection resources)
|
void |
setRestrictions(StiRestrictions value)
|
void |
setUseInternalData(boolean value)
|
void |
setVariables(StiVariablesCollection value)
|
boolean |
showOnlyAliasForBusinessObject()
|
boolean |
ShowOnlyAliasForDatabase()
|
boolean |
ShowOnlyAliasForDataColumn()
|
boolean |
ShowOnlyAliasForDataRelation()
|
void |
SortItems()
Sorts the DataSources collection and columns in each DataSource. |
void |
SortItems(StiSortOrder order)
Sorts the DataSources collection and columns in each DataSource. |
void |
SynchronizeBusinessObjects(int maxLevel)
Synchronizes the business objects with report dictionary. |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public StiVariablesCollection variables
public StiDataSourcesCollection dataSources
Constructor Detail |
---|
public StiDictionary()
public StiDictionary(StiReport report)
report
- Specifies Report contaning dictionary.Method Detail |
---|
public void saveState(java.lang.String stateName)
saveState
in interface IStiStateSaveRestore
stateName
- A name of the state being saved.public void RestoreState(java.lang.String stateName)
stateName
- A name of the state being restored.public void ClearAllStates()
public static java.util.Hashtable getCacheUserNamesAndPasswords()
public static void setCacheUserNamesAndPasswords(java.util.Hashtable value)
public final boolean getUseInternalData()
public final void setUseInternalData(boolean value)
public final StiRestrictions getRestrictions()
public final void setRestrictions(StiRestrictions value)
public static StiAutoSynchronizeMode getAutoSynchronize()
public static void setAutoSynchronize(StiAutoSynchronizeMode value)
public static void DoAutoSynchronize(StiReport report)
report
- Report for Synchronization of the data.public final StiReport getReport()
public final void setReport(StiReport value)
public final StiDataCollection getDataStore()
public final void setDataStore(StiDataCollection value)
public final StiVariablesCollection getVariables()
public final void setVariables(StiVariablesCollection value)
public StiResourcesCollection getResources()
public void setResources(StiResourcesCollection resources)
resources
- the resources to setpublic final StiDataSourcesCollection getDataSources()
public final void setDataSources(StiDataSourcesCollection value)
public final StiDatabaseCollection getDatabases()
public final void setDatabases(StiDatabaseCollection value)
public final StiBusinessObjectsCollection getBusinessObjects()
public final void setBusinessObjects(StiBusinessObjectsCollection value)
public StiDataRelationsCollection getRelations()
public void setRelations(StiDataRelationsCollection value)
public final boolean getisRequestFromUserVariablesPresent()
public final void SortItems()
public final void SortItems(StiSortOrder order)
order
- Specifies order of sorting items.public final void RetrievalData(java.util.Hashtable usedRelations, java.util.Hashtable usedDataSources, java.util.Hashtable usedColumns)
usedRelations
- Used relations.usedDataSources
- Used data sources.usedColumns
- Used columns.public final void clear()
public final void SynchronizeBusinessObjects(int maxLevel)
maxLevel
- Maximum level of nested business objects which will be checked.public final void connect()
StiException
public final void connect(boolean loadData, java.util.List<StiDataSource> dataSources)
StiException
public final void ConnectVirtualDataSources()
public final void ConnectCrossTabDataSources()
public boolean ShowOnlyAliasForDataRelation()
public void restoreState(java.lang.String stateName)
IStiStateSaveRestore
restoreState
in interface IStiStateSaveRestore
stateName
- A name of the state being restored.public void clearAllStates()
IStiStateSaveRestore
clearAllStates
in interface IStiStateSaveRestore
public StiDataRelation getRelation(java.lang.String dataRelationName)
public boolean existRelation(java.lang.String dataRelationName)
public boolean getShowOnlyAliasForVariable()
public boolean showOnlyAliasForBusinessObject()
public boolean ShowOnlyAliasForDatabase()
public boolean ShowOnlyAliasForDataColumn()
public void RegRelations(boolean b)
public void Disconnect()
public final DataSet getCacheDataSet()
public final void setCacheDataSet(DataSet value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |