|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.memberproperties.MemberPropertiesSelectorOLAPAdapter
public class MemberPropertiesSelectorOLAPAdapter
Implements the methods and properties required for an adapter implementation of the MemberPropertiesSelector.
MemberPropertiesSelector
,
MemberPropertiesSelectorPanel
Field Summary | |
---|---|
protected MemberPropertiesSelectorDataSourceInterface |
dataSource
The MemberPropertiesSelectorDataSourceInterface used by the adapter. |
protected java.util.List |
properties
The list of MemberPropertyItems to be applied to this adapter's datasource during the commit. |
Fields inherited from interface com.sas.dataselectors.SelectorCommitInterface |
---|
EXCEPTION_OCCURRED |
Constructor Summary | |
---|---|
MemberPropertiesSelectorOLAPAdapter()
Default constructor. |
|
MemberPropertiesSelectorOLAPAdapter(MemberPropertiesSelectorDataSourceInterface dataSource)
MemberPropertiesSelectorDataSourceInterface Constructor. |
Method Summary | |
---|---|
java.util.Map |
commit()
Commits the new set of member properties to the model. |
static MemberPropertiesSelectorInterface |
createDefaultAdapter(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
Returns a MemberPropertiesSelectorInterface adapter based on the specified BusinessQueryProviderInterface. |
java.util.List |
getAvailableProperties()
Returns a list of NodeInfo objects corresponding to Dimensions that have member properties avaiable on at least one of their Levels. |
protected MemberPropertiesSelectorDataSourceInterface |
getDataSource()
Returns this adapter's dataSource object. |
java.lang.String |
getExpandedLevel()
Returns the uniqueLevelName that determines which level node should be expanded when the selector is launched. |
java.util.Locale |
getLocale()
Returns the locale |
java.util.List |
getProperties()
Returns a list of NodeInfo objects corresponding to Dimensions that have member properties currently applied on at least one of their Levels. |
java.lang.Object |
getPropertiesBean()
Not used. |
protected void |
setDataSource(MemberPropertiesSelectorDataSourceInterface dataSource)
Sets this adapter's dataSource object. |
void |
setExpandedLevel(java.lang.String expandedLevel)
Sets the uniqueLevelName that determines which level node should be expanded when the selector is launched. |
void |
setLocale(java.util.Locale locale)
Sets the locale |
void |
setProperties(java.util.List properties)
Sets the list of MemberPropertyItem objects that should be applied in the new state of the adapter. |
Field Detail |
---|
protected MemberPropertiesSelectorDataSourceInterface dataSource
protected java.util.List properties
Constructor Detail |
---|
public MemberPropertiesSelectorOLAPAdapter()
public MemberPropertiesSelectorOLAPAdapter(MemberPropertiesSelectorDataSourceInterface dataSource)
Method Detail |
---|
protected void setDataSource(MemberPropertiesSelectorDataSourceInterface dataSource)
dataSource
- the dataSource object.protected MemberPropertiesSelectorDataSourceInterface getDataSource()
public java.util.List getAvailableProperties()
Returns a list of NodeInfo objects corresponding to Dimensions that have member properties avaiable on at least one of their Levels.
getAvailableProperties
in interface MemberPropertiesSelectorInterface
{@link
- java.lang.IllegalStateException} if dataSource is null.NodeInfo
public java.util.List getProperties()
Returns a list of NodeInfo objects corresponding to Dimensions that have member properties currently applied on at least one of their Levels.
getProperties
in interface MemberPropertiesSelectorInterface
{@link
- java.lang.IllegalStateException} if dataSource is null.NodeInfo
public void setProperties(java.util.List properties)
Sets the list of MemberPropertyItem objects that should be applied in the new state of the adapter.
setProperties
in interface MemberPropertiesSelectorInterface
properties
- the list of MemberPropertyItem objects.
{@link
- java.lang.IllegalStateException} if dataSource is null.MemberPropertyItem
public void setExpandedLevel(java.lang.String expandedLevel)
setExpandedLevel
in interface MemberPropertiesSelectorInterface
public java.lang.String getExpandedLevel()
getExpandedLevel
in interface MemberPropertiesSelectorInterface
public java.util.Map commit()
Commits the new set of member properties to the model.
commit
in interface SelectorCommitInterface
{@link
- java.lang.IllegalStateException} if dataSource is null.public java.lang.Object getPropertiesBean()
This implementation always returns null.
getPropertiesBean
in interface SelectorCommitInterface
SelectorCommitInterface
public void setLocale(java.util.Locale locale)
setLocale
in interface MemberPropertiesSelectorInterface
locale
- The locale.public java.util.Locale getLocale()
getLocale
in interface MemberPropertiesSelectorInterface
public static MemberPropertiesSelectorInterface createDefaultAdapter(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
model
- The BusinessQueryProviderInterface to which the adapter will communicate.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |