com.stimulsoft.report.dictionary.dataSources
Class StiDataSourcesCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<E>
              extended by com.stimulsoft.base.system.StiCollection<StiDataSource>
                  extended by com.stimulsoft.report.dictionary.dataSources.StiDataSourcesCollection
All Implemented Interfaces:
IStiJsonReportObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<StiDataSource>, java.util.Collection<StiDataSource>, java.util.List<StiDataSource>, java.util.RandomAccess

public class StiDataSourcesCollection
extends StiCollection<StiDataSource>
implements IStiJsonReportObject

Copyright Stimulsoft

See Also:
Serialized Form

Constructor Summary
StiDataSourcesCollection()
           
StiDataSourcesCollection(StiDictionary dictionary)
           
 
Method Summary
 void connect()
           
 void connect(boolean fillTable)
           
 void disconnect()
           
 boolean exist(java.lang.String dataSourceName)
           
 StiDataSource get(java.lang.String dataSourceName)
           
 int getIndexByName(java.lang.String dataSourceName)
           
 void LoadFromJsonObject(JSONObject jObject)
           
 void prepareData()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void sort(StiSortOrder order)
           
 
Methods inherited from class com.stimulsoft.base.system.StiCollection
add, addAll, addAll, set
 
Methods inherited from class java.util.ArrayList
add, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

StiDataSourcesCollection

public StiDataSourcesCollection()

StiDataSourcesCollection

public StiDataSourcesCollection(StiDictionary dictionary)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException

sort

public void sort(StiSortOrder order)

exist

public boolean exist(java.lang.String dataSourceName)

getIndexByName

public int getIndexByName(java.lang.String dataSourceName)

get

public StiDataSource get(java.lang.String dataSourceName)

prepareData

public void prepareData()

connect

public void connect()
             throws StiException
Throws:
StiException

connect

public void connect(boolean fillTable)
             throws StiException
Throws:
StiException

disconnect

public void disconnect()