ilog.server.jsds
Interface IlsDataSourceContainer

All Known Implementing Classes:
IlsDataSourceContainerSupport, IlsDSJPanel, IlsDSJFrame

public interface IlsDataSourceContainer

Interface of IlsDataSourceContainer. Must be implemented in order to contains data sources. This interface represent a dynamic view and all the data sources contained in this view.


Inner Class Summary
static interface IlsDataSourceContainer.Finder
          Interface of Finder Must be implemented by IlsDataSourceContainer in order to find a data source.
 
Method Summary
abstract  void addDataSource(IlsDataSource dataSource)
          Add a data source to the conatiner.
abstract  void addDSRepresentationListener(DSRepresentationListener l)
           
abstract  void close(IlsDSRepresentation repres)
          This method is invoked by the representation when closing this view.
abstract  java.util.Iterator dataSources()
           
abstract  void dsClose()
          Close the view represented by this container.
abstract  IlsDataSource getDataSource(IlsDataSourceContainer.Finder finder)
           
abstract  void open(IlsDSRepresentation repres, java.util.Map properties)
          This method is invoked by the component when opening a view.
abstract  void propertiesChange(IlsDSRepresentation repres, java.util.Map properties)
          This method is invoked by the server to notify that properties (attributes) on the representation object IlsDSRepresentation have changed.
abstract  void removeDataSource(IlsDataSource dataSource)
          Remove a data source to the container.
abstract  void removeDSRepresentationListener(DSRepresentationListener l)
           
 

Method Detail

dataSources

public java.util.Iterator dataSources()
Returns:
an Iterator of data source owned by this container.

getDataSource

public IlsDataSource getDataSource(IlsDataSourceContainer.Finder finder)
Parameters:
finder - An implementation of Finder
Returns:
the data source found or null otherwise
See Also:
IlsDataSourceContainer.Finder

open

public void open(IlsDSRepresentation repres,
                 java.util.Map properties)
This method is invoked by the component when opening a view.
Parameters:
repres - The representation target of the event
properties - The properties to initialize the IlsDataSourceContainer.

close

public void close(IlsDSRepresentation repres)
This method is invoked by the representation when closing this view.
Parameters:
repres - The representation target of the event
properties - The properties to initialize the IlsDataSourceContainer.

propertiesChange

public void propertiesChange(IlsDSRepresentation repres,
                             java.util.Map properties)
This method is invoked by the server to notify that properties (attributes) on the representation object IlsDSRepresentation have changed.
Parameters:
repres - The representation target of the event
The - properties.

dsClose

public void dsClose()
Close the view represented by this container.

addDataSource

public void addDataSource(IlsDataSource dataSource)
Add a data source to the conatiner.

removeDataSource

public void removeDataSource(IlsDataSource dataSource)
Remove a data source to the container.

addDSRepresentationListener

public void addDSRepresentationListener(DSRepresentationListener l)

removeDSRepresentationListener

public void removeDSRepresentationListener(DSRepresentationListener l)