|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.BLCategoryInfo
jet.api.BusinessViewCategoryInfo
public class BusinessViewCategoryInfo
The BusinessViewCategoryInfo class defines the Category object of JReport Business View.
Categories are the main tools for organizing data. They are components which correspond to particular collections of data
in the data source. They are grouped in folders that are named to reflect information collections.
A category can contain any number of subcategories.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to understand the data. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
The BusinessViewCategoryInfo class contains the methods for adding Detail, Group and Aggregation objects into the Category. The normal workflow is to get a handle to the query node where you want to create the Business View meta-data, insert the Business View, add the Category then add the details, groups and aggregations you want in the category.
1. catalogAPI.getQueries(...)
2. String bvHandle = catalogAPI.insertBusinessView(...)
3. BusinessViewCategoryInfo bvc = new BusinessViewCategoryInfo(...)
4. bvc.addBVGroup(...), bvc.addBVAggregation(...), bvc.addBVDetail(...)
5. catalogAPI.insertBusinessViewCategory(bvHandle, bvc)
| Constructor Summary | |
|---|---|
BusinessViewCategoryInfo(java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addBVAggregation(BVAggregationInfo aggInfo)
Adds a JReport BusinessView Aggregation definition into the category. |
void |
addBVCategory(BusinessViewCategoryInfo categoryInfo)
Adds a JReport BusinessView Category definition into the category. |
void |
addBVDetail(BVDetailInfo detailInfo)
Adds a JReport BusinessView Detail definition into the category. |
void |
addBVGroup(BVGroupInfo bvGroupInfo)
Adds a JReport BusinessView Group into the category. |
void |
addCategory(BLCategoryInfo categoryInfo)
Deprecated. Since v10, replaced by addBVCategory. |
void |
addDetailInformation(BLDetailInfo detailInfo)
Deprecated. Since v10, replaced by addBVDetail. |
void |
addDimension(BLDimensionInfo dimensionInfo)
Deprecated. Since v10, replaced by addBVGroup. |
void |
addMeasure(BLMeasureInfo measureInfo)
Deprecated. Since v10, replaced by addBVAggregation. |
BVAggregationInfo[] |
getAggregation()
Gets Measure definitions in the Category. |
BusinessViewCategoryInfo[] |
getBVCategories()
Gets subcategory definitions in the Category. |
BVDetailInfo[] |
getBVDetailInfos()
Gets Detail definitions in the Category. |
BVGroupInfo[] |
getGroups()
Gets Group definitions in the Category. |
| Methods inherited from class jet.api.BLCategoryInfo |
|---|
getCategories, getDescription, getDetailInfos, getDimensions, getDisplayName, getMeasures, getName, setDescription, setDisplayName, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BusinessViewCategoryInfo(java.lang.String name)
name - Indicates the category name.| Method Detail |
|---|
public void addDimension(BLDimensionInfo dimensionInfo)
addBVGroup.
addDimension in class BLCategoryInfodimensionInfo - The dimension definition that will be created in the category.public void addBVGroup(BVGroupInfo bvGroupInfo)
bvGroupInfo - The Group definition that will be created in the category or the BusinessView.public BVGroupInfo[] getGroups()
public void addMeasure(BLMeasureInfo measureInfo)
addBVAggregation.
addMeasure in class BLCategoryInfomeasureInfo - The Measure definition that will be created in the category.public void addBVAggregation(BVAggregationInfo aggInfo)
aggInfo - The Aggregation definition that will be created in the category.public BVAggregationInfo[] getAggregation()
public void addDetailInformation(BLDetailInfo detailInfo)
addBVDetail.
addDetailInformation in class BLCategoryInfodetailInfo - The Detail definition that will be created in the category.public void addBVDetail(BVDetailInfo detailInfo)
detailInfo - The Detail definition that will be created in the category.public BVDetailInfo[] getBVDetailInfos()
public void addCategory(BLCategoryInfo categoryInfo)
addBVCategory.
addCategory in class BLCategoryInfocategoryInfo - The Category definition that will be created in the category.public void addBVCategory(BusinessViewCategoryInfo categoryInfo)
categoryInfo - The Category definition that will be created in the category.public BusinessViewCategoryInfo[] getBVCategories()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||