|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") public interface FilterAndRankModelInterface
This class defines the interface between the Filter and Rank Selector and an underlying filtering model. These methods are used by the selector and command classes to provide all functionality for the selector.
| Method Summary | |
|---|---|
abstract void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener to the model. |
abstract boolean |
applyChanges()
Applies any changes made to the selector model to the underlying native model. |
abstract boolean |
clearAllSteps()
Clears the step list for both COLUMN and ROW roles. |
abstract boolean |
clearStep(FilterAxisEnum role)
Clears the step list for the given role. |
abstract java.lang.Object |
createFilterStep(FilterOperatorEnum operator,
java.lang.String value)
Creates a new filter step using the current TupleElement and the given properties. |
abstract java.lang.Object |
createRankStep(RankOrderEnum rankOrder,
int value,
boolean includeTies,
RankTypeEnum rankType)
Creates a new rank step using the current TupleElement and the given properties. |
abstract java.lang.Object |
getBusinessQuery()
Returns the current BusinessQuery model. |
abstract FilterAxisEnum |
getFilterAxis()
Returns the FilterOnAxis constant corresponding to the axis the model is currently set to filter on. |
abstract java.lang.Object |
getStep(FilterAxisEnum role)
Returns the StepInterface at the requested Role. |
abstract java.lang.String |
getStepText(FilterAxisEnum role,
java.util.Locale locale)
Constructs and returns a text representation of the step at the given role. |
abstract TupleElementInterface |
getTupleElement()
Returns the current tuple element. |
abstract java.lang.String |
getTupleElementLabel()
Return a text representation for the current TupleElement. |
abstract void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener from the model. |
abstract boolean |
setStep(java.lang.Object step,
FilterAxisEnum role)
Sets the StepInterface at the specified Role. |
| Method Detail |
|---|
java.lang.Object getBusinessQuery()
TupleElementInterface getTupleElement()
FilterAxisEnum getFilterAxis()
throws OLAPException
OLAPException - if any problems occur while determining the axisjava.lang.String getTupleElementLabel()
java.lang.Object getStep(FilterAxisEnum role)
role - the Role to examine (must be either COLUMN or ROW)
java.lang.String getStepText(FilterAxisEnum role,
java.util.Locale locale)
role - the role to examine (COLUMN or ROW)locale - the locale to use when forming the text
boolean setStep(java.lang.Object step,
FilterAxisEnum role)
step - the step to assign to the modelrole - the role the step should take
boolean clearStep(FilterAxisEnum role)
role - the role to clear
boolean clearAllSteps()
java.lang.Object createFilterStep(FilterOperatorEnum operator,
java.lang.String value)
operator - the operator for the new filtervalue - the value to fulfill the condition
java.lang.Object createRankStep(RankOrderEnum rankOrder,
int value,
boolean includeTies,
RankTypeEnum rankType)
rankOrder - the order for the rankingvalue - the value applied to the rankingincludeTies - true if ties should be included, false otherwiserankType - the type of ranking to perform
boolean applyChanges()
throws com.sas.util.ChainedException
com.sas.util.ChainedException - if any problems occurred while updating
the native model.void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - the PropertyChangeListener to be notified when a PropertyChangeEvent occursvoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - the PropertyChangeListener to stop being notified when a PropertyChangeEvent occurs
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||