Package fr.becpg.repo.olap.data
Class OlapChart
java.lang.Object
fr.becpg.repo.olap.data.OlapChart
Store Chart infos
- Version:
- $Id: $Id
- Author:
- "Matthieu Laborie"
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCube()Getter for the fieldcube.getMdx()Getter for the fieldmdx.org.alfresco.service.cmr.repository.NodeRefGetter for the fieldnodeRef.Getter for the fieldqueryId.Getter for the fieldqueryName.getType()Getter for the fieldtype.getXml()Getter for the fieldxml.voidParse Xml responsevoidsetQueryId(String queryId) Setter for the fieldqueryId.org.json.JSONObjecttoJSONObject.
-
Field Details
-
nodeRef
private org.alfresco.service.cmr.repository.NodeRef nodeRef -
queryName
-
queryId
-
mdx
-
cube
-
type
-
xml
-
logger
private static final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
OlapChart
public OlapChart(org.alfresco.service.cmr.model.FileInfo fileInfo) Constructor for OlapChart.
- Parameters:
fileInfo- aFileInfoobject.
-
OlapChart
Constructor for OlapChart.
- Parameters:
queryName- aStringobject.
-
-
Method Details
-
getQueryName
Getter for the field
queryName.- Returns:
- a
Stringobject.
-
getQueryId
Getter for the field
queryId.- Returns:
- a
Stringobject.
-
getMdx
Getter for the field
mdx.- Returns:
- a
Stringobject.
-
getCube
Getter for the field
cube.- Returns:
- a
Stringobject.
-
getType
Getter for the field
type.- Returns:
- a
Stringobject.
-
getXml
Getter for the field
xml.- Returns:
- a
Stringobject.
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()Getter for the field
nodeRef.- Returns:
- a
NodeRefobject.
-
load
public void load(String xml) throws MalformedURLException, SAXException, IOException, ParserConfigurationException, FactoryConfigurationError, TransformerException, org.json.JSONException Parse Xml response- Parameters:
xml- aStringobject.- Throws:
MalformedURLException- if any.SAXException- if any.IOException- if any.ParserConfigurationException- if any.FactoryConfigurationError- if any.TransformerException- if any.org.json.JSONException- if any.
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONExceptiontoJSONObject.
- Returns:
- a
JSONObjectobject. - Throws:
org.json.JSONException- if any.
-
setQueryId
Setter for the field
queryId.- Parameters:
queryId- aStringobject.
-