public interface

RWSecondaryDataProviderHelper

com.microstrategy.web.objects.rw.RWSecondaryDataProviderHelper
Known Indirect Subclasses

Summary

Public Methods
abstract Set extraKeys(RWControl ctl)
abstract List getAvailableSecondaryProviders(RWUnitDef unit)
Returns a list all the RWUnitDef objects that are available as secondary providers of the selected unit
abstract List getSelectedSecondaryProviders(RWUnitDef unit, List available)
Returns the list of RWUnitDef objects that have been selected as secondary providers for the current unit.
abstract boolean haveSelectedSecondaryProvidersChanged(RWUnitDef unit, List selected)
Whether the secondary data sources have changed for the selected unit.
abstract void setProviders(RWUnitDef unit, String keys)

Public Methods

public abstract Set extraKeys (RWControl ctl)

public abstract List getAvailableSecondaryProviders (RWUnitDef unit)

Returns a list all the RWUnitDef objects that are available as secondary providers of the selected unit

Parameters
unit the selected unit
Returns
  • a list of all the RWUnitDef objects that are available as secondary providers of the selected unit

public abstract List getSelectedSecondaryProviders (RWUnitDef unit, List available)

Returns the list of RWUnitDef objects that have been selected as secondary providers for the current unit.
Units on the list are validated so that they still exist on the document and have not been moved to a lower section on the group by.

Parameters
unit the selected unit
available the list of available providers
Returns
  • the list of RWUnitDef objects that have been selected as secondary providers for the current unit.

public abstract boolean haveSelectedSecondaryProvidersChanged (RWUnitDef unit, List selected)

Whether the secondary data sources have changed for the selected unit.
This happens when one (or more) of the secondary providers for the unit become unavailable because it was removed or moved to a lower section on the group by.

Parameters
unit The primary unit that is being edited
selected The list of selected secondary data sources
Returns
  • Whether the secondary data sources have changed for the selected unit

public abstract void setProviders (RWUnitDef unit, String keys)