com.microstrategy.web.objects.rw.RWGroupBys |
A collection of GroupBy objects
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract RWGroupBy |
add(String objectId, int objectType, String key, String beforeKey)
Adds new group by before specified key.
| ||||||||||
abstract RWGroupBy | add(WebObjectInfo obj, String key, String beforeKey, String headerKey, String headerSubsectionKey, String footerKey, String footerSubsectionKey) | ||||||||||
abstract RWGroupBy |
add(WebObjectInfo obj, String key, String beforeKey)
Adds new group by before specified key.
| ||||||||||
abstract boolean |
contains(WebObjectInfo ob)
Returns true if specified object already present in the group by collection
| ||||||||||
abstract RWGroupBy |
get(int i)
Gets i-th group by
| ||||||||||
abstract RWGroupBy |
getByKey(String key)
Returns group by with specified key
| ||||||||||
abstract RWGroupBy |
getByLevel(int level)
Returns a group by with specified level
| ||||||||||
abstract RWDefinition |
getRwDefinition()
Returns parent RW Document definition
| ||||||||||
abstract boolean |
hasInvalidUnits()
Returns true if there's group by not having associate section in definition.
| ||||||||||
abstract int |
indexOf(RWGroupBy groupBy)
Returns an index of the group by in the group by collection
| ||||||||||
abstract boolean |
isFirstPage()
Returns true if current data represent first group by page
| ||||||||||
abstract boolean |
isLastPage()
Returns true if current data represent last group by page
| ||||||||||
abstract void |
moveByKey(String key, String beforeKey)
Moves a group by in the group by collection.
| ||||||||||
abstract RWGroupBy |
removeByKey(String key)
Removes group by with specified key.
| ||||||||||
abstract int |
size()
Returns grup by collection size
|
Adds new group by before specified key. The group by will be initialized with passed object. This method also creates corresponding group by section.
objectId | an id of target object for new group by |
---|---|
objectType | the type of target object for new group by |
key | group by key |
beforeKey | the key of group by object before which a new on shall be added |
IllegalArgumentException | if specified object does not belong to the default data set or if specified group by object already present in the collection |
---|
Adds new group by before specified key. The group by will be initialized with passed object. This method also creates corresponding group by section.
obj | group by object |
---|---|
key | group by key |
beforeKey | the key of group by object before which a new on shall be added |
IllegalArgumentException | if specified object does not belong to the default data set or if specified group by object already present in the collection |
---|
Returns true if specified object already present in the group by collection
ob | object |
---|
Returns group by with specified key
key | grpup by object key |
---|
Returns a group by with specified level
level | groupby level |
---|
Returns parent RW Document definition
Returns true if there's group by not having associate section in definition.
Returns an index of the group by in the group by collection
groupBy | group by object |
---|
Returns true if current data represent first group by page
Returns true if current data represent last group by page
Moves a group by in the group by collection. Layout hierarchy is adjusted accordingly.
key | group by key |
---|---|
beforeKey | the key of group by before which it shall be moved. |
Removes group by with specified key. This method also modify layout hierarchy accordingly. Namely the child of the group by section is reattached to its parent, then the group by section is removed
key | the group by key |
---|
Returns grup by collection size