|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PercentCalculationsSelectorDataSourceInterface
Defines the model-type-specific methods and properties required by the adapter of the PercentCalculationsSelector.
The PercentCalculationsSelectorInterface adapter implements the logic related to the business rules for the selector and delegates all the model based operations to its dataSource object
PercentCalculationsSelectorInterface
,
PercentCalculationsSelector
,
PercentCalculationsSelectorPanel
Method Summary | |
---|---|
void |
addItem(FractionalItemInfo itemInfo)
Adds a new fractional item with the information specified by the FractionalItemInfo argument. |
void |
commit()
Commits the new set of fractional items to the model. |
java.util.Map |
getDenominators()
Returns a map where the keys are the denominator ids and the the values are the denominator labels. |
java.util.List |
getFractionalItems()
Returns a list of FractionalItemInfo
objects representing the current set of fractional items. |
java.util.Locale |
getLocale()
Returns the locale |
java.util.Map |
getNumerators()
Returns a map where the keys are the numerator ids and the the values are the numerator labels. |
boolean |
isOLAP()
Returns true if this data source is OLAP based. |
void |
removeAllItems()
Removes all the fractional items from the datasource. |
void |
removeItem(FractionalItemInfo itemInfo)
Removes the item associated with the specified FractionalItemInfo. |
void |
setLocale(java.util.Locale locale)
Sets the locale |
void |
updateItem(FractionalItemInfo existingItemInfo,
FractionalItemInfo newItemInfo)
Updates the item associated with the existingItemInfo argument with information from the newItemInfo argument. |
Method Detail |
---|
boolean isOLAP()
java.util.Map getNumerators()
java.util.Map getDenominators()
java.util.List getFractionalItems()
Returns a list of FractionalItemInfo
objects representing the current set of fractional items.
void removeItem(FractionalItemInfo itemInfo)
Removes the item associated with the specified FractionalItemInfo.
itemInfo
- the information about the item to be removed.
Throws
- RuntimeException
if operation fails.void addItem(FractionalItemInfo itemInfo)
Adds a new fractional item with the information specified by the FractionalItemInfo argument.
itemInfo
- the information about the new fractional item.
Throws
- RuntimeException
if operation fails.void updateItem(FractionalItemInfo existingItemInfo, FractionalItemInfo newItemInfo)
Updates the item associated with the existingItemInfo argument with information from the newItemInfo argument.
existingItemInfo
- information about the existing item.newItemInfo
- information to apply to the updated version
of the item.
Throws
- RuntimeException
if operation fails.void removeAllItems()
Removes all the fractional items from the datasource.
Throws
- RuntimeException
if operation fails.void commit()
Commits the new set of fractional items to the model.
Throws
- RuntimeException
if operation fails.void setLocale(java.util.Locale locale)
locale
- The locale.java.util.Locale getLocale()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |