|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.server.api.crd.CubeUsage
public class CubeUsage
Represents a web report/component which using a cube
| Field Summary | |
|---|---|
static int |
TYPE_COMPONENT
Indicates component using the cube (value=2). |
static int |
TYPE_WEB_REPORT
Indicates web report using the cube (value=1). |
| Constructor Summary | |
|---|---|
CubeUsage(CubeInfoKey cubeKey,
java.lang.String resourceName,
int type,
java.lang.String dashboardName,
java.lang.String user)
construct a CubeUsage object. |
|
| Method Summary | |
|---|---|
CubeInfoKey |
getCubeKey()
get CubeInfoKey of this cube usage. |
java.lang.String |
getDashboardName()
get dashboard name that the using component belongs to. |
java.lang.String |
getResourceName()
get resource name which using this cube. |
int |
getType()
get using resource type. |
java.lang.String |
getUser()
get user name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_WEB_REPORT
public static final int TYPE_COMPONENT
| Constructor Detail |
|---|
public CubeUsage(CubeInfoKey cubeKey,
java.lang.String resourceName,
int type,
java.lang.String dashboardName,
java.lang.String user)
CubeUsage object.
cubeKey - the cube key indicates the cube is usedresourcename - report or lc name which uses the cube.dashboardName - the dashboard name which lc belongs touser - the user name who open the report or dashboard.| Method Detail |
|---|
public CubeInfoKey getCubeKey()
CubeInfoKey of this cube usage.
CubeInfoKey instanceCubeInfoKeypublic java.lang.String getResourceName()
getType()'s value is TYPE_WEB_REPORT,
if getType()'s value is TYPE_COMPONENT, return value is component name. If the using resource is a new created
web report, return null.public int getType()
TYPE_WEB_REPORT or TYPE_COMPONENT.public java.lang.String getDashboardName()
null
if getType()'s value is TYPE_WEB_REPORT or the using component belongs to a new create dashboard.public java.lang.String getUser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||