|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.dss.selection.SortSpec
Defines the Sorting specification for a selection, as a set of ConditonSortSteps and MemberSortSteps.
Constructor Summary | |
SortSpec() Constructor |
Method Summary | |
void |
addConditionSortStep(ConditionSortStep step) Adds the given ConditionSortStep to the Sort specification. |
void |
addMemberSortStep(MemberSortStep step) Adds the given MemberSortStep to the Sort specification. |
java.lang.Object |
clone() Implement Cloneable interface |
boolean |
equals(java.lang.Object obj) Tests this SortSpec for true equality |
ConditionSortStep |
getConditionSortStepAt(int pos) Retrieves a ConditionSortStep from the given position in the Sort specification. |
int |
getConditionSortStepCount() Retrieves the number of the Condition Sort Steps from the Sort specification. |
int |
getConditionSortStepPos(ConditionSortStep step) Retrieves the position of the given ConditionSortStep in the Sort specification. |
ConditionSortStep |
getHierarchicalSortStep() Retrieves the hierarchical ConditionSortStep in the Sort specification. |
MemberSortStep |
getMemberSortStepAt(int pos) Retrieves a MemberSortStep from the given position in the Sort specification. |
int |
getMemberSortStepCount() Retrieves the number of the Member Sort Steps from the Sort specification. |
int |
getMemberSortStepPos(MemberSortStep step) Retrieves the position of the given MemberSortStep in the Sort specification. |
java.lang.String |
getTagName() Retrieves the name used for persisting the SortSpec in XML |
java.lang.Object |
getXML( controls) Returns the Sort Specification representation in XML in context of the Persistence framework |
void |
insertConditionSortStepAt(ConditionSortStep step, int pos) Inserts the given ConditionSortStep into the Sort specification. |
void |
insertMemberSortStepAt(MemberSortStep step, int pos) Inserts the given MemberSortStep into the Sort specification. |
void |
removeAllConditionSortSteps() Removes all the ConditionSortSteps from the Sort specification. |
void |
removeAllMemberSortSteps() Removes all the MemberSortSteps from the Sort specification. |
boolean |
removeConditionSortStep(ConditionSortStep step) Removes the given ConditionSortStep from the Sort specification. |
boolean |
removeMemberSortStep(MemberSortStep step) Removes the given MemberSortStep from the Sort specification. |
void |
setHierarchicalSortStep(ConditionSortStep step) Adds the given hierarchical ConditionSortStep to the Sort specification. |
void |
setXML( context, java.lang.Object node) Restores the Sort Specification data from the given persistence object tree |
Constructor Detail |
public SortSpec()
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- SortSpec to compare it totrue
if completely internally equalpublic int getConditionSortStepCount()
public ConditionSortStep getConditionSortStepAt(int pos)
position
- from which the Step is to be retrievedpublic int getConditionSortStepPos(ConditionSortStep step)
ConditionSortStep
- for which the index should be retrievedpublic ConditionSortStep getHierarchicalSortStep()
public void setHierarchicalSortStep(ConditionSortStep step)
ConditionSortStep
- object to be added to the SortSpecpublic void addConditionSortStep(ConditionSortStep step)
ConditionSortStep
- object to be added to the SortSpecpublic void insertConditionSortStepAt(ConditionSortStep step, int pos)
ConditionSortStep
- object to be added to the ConditionSortStep collection in the SortSpecpos
- position where the step should be insertedpublic boolean removeConditionSortStep(ConditionSortStep step)
ConditionSortStep
- object to be removed from the ConditionSortStep collection in the SortSpecpublic void removeAllConditionSortSteps()
public int getMemberSortStepCount()
public MemberSortStep getMemberSortStepAt(int pos)
position
- from which the Step is to be retrievedpublic int getMemberSortStepPos(MemberSortStep step)
MemberSortStep
- for which the index should be retrievedpublic void addMemberSortStep(MemberSortStep step)
MemberSortStep
- object to be added to the SortSpecpublic void insertMemberSortStepAt(MemberSortStep step, int pos)
MemberSortStep
- object to be added to the MemberSortStep collection in the SortSpecpos
- position where the step should be insertedpublic boolean removeMemberSortStep(MemberSortStep step)
MemberSortStep
- object to be removed from the MemberSortStep collection in the SortSpecpublic void removeAllMemberSortSteps()
public java.lang.Object getXML( controls)
public void setXML( context, java.lang.Object node)
the
- root ObjectNode of the persistence object treepublic java.lang.String getTagName()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |