Package com.microstrategy.web.objects
Class RWSecondaryDataProviderHelperImpl
- java.lang.Object
 - 
- com.microstrategy.web.objects.RWSecondaryDataProviderHelperImpl
 
 
- 
- All Implemented Interfaces:
 RWSecondaryDataProviderHelper
public class RWSecondaryDataProviderHelperImpl extends java.lang.Object implements RWSecondaryDataProviderHelper
- Since:
 - MicroStrategy Web 8.1.1
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.SetextraKeys(RWControl ctl)java.util.ListgetAvailableSecondaryProviders(RWUnitDef unit)Returns a list all theRWUnitDefobjects that are available as secondary providers of the selected unitjava.util.ListgetSelectedSecondaryProviders(RWUnitDef unit, java.util.List available)Returns the list ofRWUnitDefobjects that have been selected as secondary providers for the current unit.booleanhaveSelectedSecondaryProvidersChanged(RWUnitDef unit, java.util.List selected)Whether the secondary data sources have changed for the selected unit.voidsetProviders(RWUnitDef unit, java.lang.String keys) 
 - 
 
- 
- 
Method Detail
- 
setProviders
public void setProviders(RWUnitDef unit, java.lang.String keys) throws WebObjectsException
- Specified by:
 setProvidersin interfaceRWSecondaryDataProviderHelper- Throws:
 WebObjectsException
 
- 
extraKeys
public java.util.Set extraKeys(RWControl ctl) throws WebObjectsException
- Specified by:
 extraKeysin interfaceRWSecondaryDataProviderHelper- Throws:
 WebObjectsException
 
- 
haveSelectedSecondaryProvidersChanged
public boolean haveSelectedSecondaryProvidersChanged(RWUnitDef unit, java.util.List selected) throws WebBeanException
Description copied from interface:RWSecondaryDataProviderHelperWhether 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.- Specified by:
 haveSelectedSecondaryProvidersChangedin interfaceRWSecondaryDataProviderHelper- Parameters:
 unit- The primary unit that is being editedselected- The list of selected secondary data sources- Returns:
 - Whether the secondary data sources have changed for the selected unit
 - Throws:
 WebBeanException
 
- 
getAvailableSecondaryProviders
public java.util.List getAvailableSecondaryProviders(RWUnitDef unit) throws WebBeanException
Description copied from interface:RWSecondaryDataProviderHelperReturns a list all theRWUnitDefobjects that are available as secondary providers of the selected unit- Specified by:
 getAvailableSecondaryProvidersin interfaceRWSecondaryDataProviderHelper- Parameters:
 unit- the selected unit- Returns:
 - a list of all the 
RWUnitDefobjects that are available as secondary providers of the selected unit - Throws:
 WebBeanException
 
- 
getSelectedSecondaryProviders
public java.util.List getSelectedSecondaryProviders(RWUnitDef unit, java.util.List available) throws WebBeanException
Description copied from interface:RWSecondaryDataProviderHelperReturns the list ofRWUnitDefobjects 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.- Specified by:
 getSelectedSecondaryProvidersin interfaceRWSecondaryDataProviderHelper- Parameters:
 unit- the selected unitavailable- the list of available providers- Returns:
 - the list of 
RWUnitDefobjects that have been selected as secondary providers for the current unit. - Throws:
 WebBeanException
 
 - 
 
 -