ilog.server.jsds
Class IlsDataSourceContainerSupport

java.lang.Object
  |
  +--ilog.server.jsds.IlsDataSourceContainerSupport
All Implemented Interfaces:
IlsDataSourceContainer

public class IlsDataSourceContainerSupport
extends java.lang.Object
implements IlsDataSourceContainer

Class supporting IlsDataSourceContainer

See Also:
IlsDataSourceContainer

Inner classes inherited from class ilog.server.jsds.IlsDataSourceContainer
IlsDataSourceContainer.Finder
 
Constructor Summary
IlsDataSourceContainerSupport()
          Instantiate a new IlsDataSourceContainerSupport.
 
Method Summary
 void addDataSource(IlsDataSource ds)
          Add a data source to the container.
 void addDSRepresentationListener(DSRepresentationListener l)
           
 void close(IlsDSRepresentation repres)
          Close the view represented by this container.
protected  boolean containsDSRepresentationListener(DSRepresentationListener l)
           
 java.util.Iterator dataSources()
           
 void dsClose()
          Close the view represented by this container.
 void fireRepresentationChanged(DSRepresentationEvent e)
           
 void fireRepresentationClosed(DSRepresentationEvent e)
           
 void fireRepresentationOpened(DSRepresentationEvent e)
           
 IlsDataSource getDataSource(IlsDataSourceContainer.Finder finder)
          Retreive a data source on the container.
 void open(IlsDSRepresentation repres, java.util.Map map)
          Deprecated. But still called by fireRepresentationOpened
 void propertiesChange(IlsDSRepresentation repres, java.util.Map map)
          Deprecated. But still called by fireRepresentationChanged
 void removeDataSource(IlsDataSource ds)
          Remove a data source from the container.
 void removeDSRepresentationListener(DSRepresentationListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlsDataSourceContainerSupport

public IlsDataSourceContainerSupport()
Instantiate a new IlsDataSourceContainerSupport.
Method Detail

addDataSource

public void addDataSource(IlsDataSource ds)
Add a data source to the container.
Specified by:
addDataSource in interface IlsDataSourceContainer
Parameters:
ds - the data source.
See Also:
IlsDataSource

removeDataSource

public void removeDataSource(IlsDataSource ds)
Remove a data source from the container.
Specified by:
removeDataSource in interface IlsDataSourceContainer
Parameters:
ds - The data source
See Also:
IlsDataSource

dataSources

public java.util.Iterator dataSources()
Specified by:
dataSources in interface IlsDataSourceContainer
Returns:
all the data source contained in the container.
See Also:
IlsDataSource

getDataSource

public IlsDataSource getDataSource(IlsDataSourceContainer.Finder finder)
Retreive a data source on the container.
Specified by:
getDataSource in interface IlsDataSourceContainer
Parameters:
finder - the finder to retrieve the data source
See Also:
IlsDataSource, IlsDataSourceContainer.Finder

open

public void open(IlsDSRepresentation repres,
                 java.util.Map map)
Deprecated. But still called by fireRepresentationOpened

Invoked by the component when opening a view.
Specified by:
open in interface IlsDataSourceContainer
Parameters:
map - All the properties of the view.

propertiesChange

public void propertiesChange(IlsDSRepresentation repres,
                             java.util.Map map)
Deprecated. But still called by fireRepresentationChanged

This method is invoked by the server to notify that properties (attributes) on the representation object associated to the container IlsDSRepresentation have changed.
Specified by:
propertiesChange in interface IlsDataSourceContainer
Parameters:
The - properties.

close

public void close(IlsDSRepresentation repres)
Close the view represented by this container.
Specified by:
close in interface IlsDataSourceContainer
Following copied from interface: ilog.server.jsds.IlsDataSourceContainer
Parameters:
repres - The representation target of the event
properties - The properties to initialize the IlsDataSourceContainer.

dsClose

public void dsClose()
Close the view represented by this container.
Specified by:
dsClose in interface IlsDataSourceContainer

containsDSRepresentationListener

protected boolean containsDSRepresentationListener(DSRepresentationListener l)

addDSRepresentationListener

public void addDSRepresentationListener(DSRepresentationListener l)
Specified by:
addDSRepresentationListener in interface IlsDataSourceContainer

removeDSRepresentationListener

public void removeDSRepresentationListener(DSRepresentationListener l)
Specified by:
removeDSRepresentationListener in interface IlsDataSourceContainer

fireRepresentationOpened

public void fireRepresentationOpened(DSRepresentationEvent e)

fireRepresentationClosed

public void fireRepresentationClosed(DSRepresentationEvent e)

fireRepresentationChanged

public void fireRepresentationChanged(DSRepresentationEvent e)