|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DrillBar
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
TheDrillBar
interface represents a collection of drill objects.
The drill bar can be customized by the developer by adding or removing universe objects.
By default, the DrillBar
is initialized with the report filters.
This means that the filtered objects are automatically added to the drill bar.
All modifications on the DrillBar will be commuted on the server side only after
DrillInfo.executeDrill
is called.
Method Summary | |
---|---|
void |
add(java.lang.String ObjectID)
Adds the DrillBarObject by its universe object identifier. |
int |
getCount()
Gets the number of objects in this drill bar. |
DrillBarObject |
getItem(int index)
Returns the DrillBarObject at the specified position in the drill bar. |
DrillBarObject |
getItem(java.lang.String ID)
Returns the DrillBarObject by specifying the object ID. |
DrillBarObject |
getItemByName(java.lang.String name)
Returns the DrillBarObject by specifying the object name. |
void |
remove(int index)
Removes the DrillBarObject at the specified position in the drill bar (0 based). |
void |
remove(java.lang.String objectID)
Removes the DrillBarObject by its universe object identifier from the list and also remove it's filter. |
void |
removeAll()
Removes all DrillBarObject s. |
Method Detail |
---|
int getCount()
DrillBarObject getItem(int index)
DrillBarObject
at the specified position in the drill bar.
index
- the index of the object to return (0 based).
java.lang.ArrayIndexOutOfBoundsException
- if index
is out of range
(index < 0 || index >= getCount()
)DrillBarObject getItem(java.lang.String ID) throws REException
DrillBarObject
by specifying the object ID.
ID
- the object ID to return.
null
when no object in this collection
has a ID corresponding to ID
java.lang.ArrayIndexOutOfBoundsException
- if index
is out of range
(index < 0 || index >= getCount()
)
REException
- if the object ID is invalidDrillBarObject getItemByName(java.lang.String name) throws REException
DrillBarObject
by specifying the object name.
name
- the object name to return.
null
when no object in this collection
has a name corresponding to name
.
java.lang.ArrayIndexOutOfBoundsException
- if index
is out of range
(index < 0 || index >= getCount()
)
REException
- if the object name is invalidvoid add(java.lang.String ObjectID)
DrillBarObject
by its universe object identifier.
ObjectID
- the universe object identifier to add.void remove(int index)
DrillBarObject
at the specified position in the drill bar (0 based).
index
- the index of the object to remove (0 based).void remove(java.lang.String objectID)
DrillBarObject
by its universe object identifier from the list and also remove it's filter.
executeDrill
must be called to set the information.
objectID
- the universe object identifier to remove.void removeAll()
DrillBarObject
s.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |