public class

RWSecondaryDataProviderHelperImpl

extends Object
implements RWSecondaryDataProviderHelper
java.lang.Object
   ↳ com.microstrategy.web.objects.RWSecondaryDataProviderHelperImpl

Summary

Public Methods
Set extraKeys(RWControl ctl)
List getAvailableSecondaryProviders(RWUnitDef unit)
Returns a list all the RWUnitDef objects that are available as secondary providers of the selected unit
List getSelectedSecondaryProviders(RWUnitDef unit, List available)
Returns the list of RWUnitDef objects that have been selected as secondary providers for the current unit.
boolean haveSelectedSecondaryProvidersChanged(RWUnitDef unit, List selected)
Whether the secondary data sources have changed for the selected unit.
void setProviders(RWUnitDef unit, String keys)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.objects.rw.RWSecondaryDataProviderHelper

Public Methods

public Set extraKeys (RWControl ctl)

public 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 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 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 void setProviders (RWUnitDef unit, String keys)