com.sas.dataselectors.memberproperties
Interface MemberPropertiesSelectorDataSourceInterface

All Known Implementing Classes:
MemberPropertiesSelectorOLAPDataSource

public interface MemberPropertiesSelectorDataSourceInterface

Defines 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

Since:
3.1.4
See Also:
MemberPropertiesSelectorInterface, MemberPropertiesSelector, MemberPropertiesSelectorPanel

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
 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
 

Method Detail

getAvailableProperties

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.

Returns:
the list of NodeInfo objects.
See Also:
NodeInfo

getProperties

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.

Returns:
the list of NodeInfo objects.
See Also:
NodeInfo

commit

void commit()

Commits the new set of member properties to the model.

Throws:
Throws - RuntimeException if operation fails.

addItem

void addItem(MemberPropertyItem itemInfo)

Adds a member property with the information specified by the MemberPropertyItem argument.

Parameters:
itemInfo - the information about the new fractional item.
Throws:
Throws - RuntimeException if operation fails.

removeAllItems

void removeAllItems()

Removes all the member properties currently applied on the datasource.

Throws:
Throws - RuntimeException if operation fails.

setLocale

void setLocale(java.util.Locale locale)
Sets the locale

Parameters:
locale - The locale.

getLocale

java.util.Locale getLocale()
Returns the locale

Returns:
The locale.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.