|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.memberproperties.MemberPropertiesSelectorOLAPDataSource
public class MemberPropertiesSelectorOLAPDataSource
Implements the model-type-specific methods and properties required by the adapter of the MemberPropertiesSelector.
The MemberPropertiesSelectorInterface adapter implements the logic related to the business rules for the selector and delegates all the model based operations to its dataSource object
MemberPropertiesSelectorInterface
,
MemberPropertiesSelector
,
MemberPropertiesSelectorPanel
Field Summary | |
---|---|
protected com.sas.iquery.intelligentquery.BusinessQueryProviderInterface |
model
The BusinessQueryProviderInterface used by the dataSource. |
Constructor Summary | |
---|---|
MemberPropertiesSelectorOLAPDataSource()
Default constructor. |
|
MemberPropertiesSelectorOLAPDataSource(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
BusinessQueryProviderInterface Constructor. |
Method Summary | |
---|---|
void |
addItem(MemberPropertyItem itemInfo)
Adds a member property with the information specified by the MemberPropertyItem argument. |
void |
commit()
Commits the new set of member properties to the model. |
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. |
java.util.Locale |
getLocale()
Returns the locale |
protected com.sas.iquery.intelligentquery.BusinessQueryProviderInterface |
getModel()
Returns the BusinessQueryProviderInterface that contains the data. |
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. |
void |
removeAllItems()
Removes all the member properties currently applied on the datasource. |
void |
setLocale(java.util.Locale locale)
Sets the locale |
protected void |
setModel(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
Sets the BusinessQueryProviderInterface that contains the data. |
Field Detail |
---|
protected com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model
Constructor Detail |
---|
public MemberPropertiesSelectorOLAPDataSource()
public MemberPropertiesSelectorOLAPDataSource(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
Method Detail |
---|
protected void setModel(com.sas.iquery.intelligentquery.BusinessQueryProviderInterface model)
model
- the BusinessQueryProviderInterfaceprotected com.sas.iquery.intelligentquery.BusinessQueryProviderInterface getModel()
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 MemberPropertiesSelectorDataSourceInterface
Throws
- RuntimeException
if operation fails.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 MemberPropertiesSelectorDataSourceInterface
Throws
- RuntimeException
if operation fails.NodeInfo
public void commit()
Commits the new set of member properties to the model.
commit
in interface MemberPropertiesSelectorDataSourceInterface
Throws
- RuntimeException
if operation fails.public void addItem(MemberPropertyItem itemInfo)
Adds a member property with the information specified by the MemberPropertyItem argument.
addItem
in interface MemberPropertiesSelectorDataSourceInterface
itemInfo
- the information about the new fractional item.
Throws
- RuntimeException
if operation fails.public void removeAllItems()
Removes all the member properties currently applied on the datasource.
removeAllItems
in interface MemberPropertiesSelectorDataSourceInterface
Throws
- RuntimeException
if operation fails.public void setLocale(java.util.Locale locale)
setLocale
in interface MemberPropertiesSelectorDataSourceInterface
locale
- The locale.public java.util.Locale getLocale()
getLocale
in interface MemberPropertiesSelectorDataSourceInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |