|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.utilities.SpagoBIAccessUtils
public class SpagoBIAccessUtils
This class has been created to provide SpagoBI Access Utils, in order to customize operations with clients.
Constructor Summary | |
---|---|
SpagoBIAccessUtils()
|
Method Summary | |
---|---|
byte[] |
getContent(java.lang.String spagoBIBaseUrl,
java.lang.String path)
Starting from the base url and the path as input, gets content information (response body). |
byte[] |
getSubObjectContent(java.lang.String spagoBIBaseUrl,
java.lang.String path,
java.lang.String nameSubObj,
java.lang.String user)
Gets the content of a subObject of the principal object |
byte[] |
saveObjectTemplate(java.lang.String spagoBIBaseUrl,
java.lang.String path,
java.lang.String templateName,
java.lang.String content)
Save the object template into SpagoBI Repository |
byte[] |
saveSubObject(java.lang.String spagoBIBaseUrl,
java.lang.String path,
java.lang.String nameSubObj,
java.lang.String description,
java.lang.String user,
boolean visibility,
java.lang.String content)
Save the content of a subObject into SpagoBI Repository |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpagoBIAccessUtils()
Method Detail |
---|
public byte[] getContent(java.lang.String spagoBIBaseUrl, java.lang.String path)
spagoBIBaseUrl
- The SpagoBI input base URLpath
- The input path
public byte[] getSubObjectContent(java.lang.String spagoBIBaseUrl, java.lang.String path, java.lang.String nameSubObj, java.lang.String user)
spagoBIBaseUrl
- The SpagoBI service URLpath
- The cms pathnameSubObject
- the name of the subObject
public byte[] saveSubObject(java.lang.String spagoBIBaseUrl, java.lang.String path, java.lang.String nameSubObj, java.lang.String description, java.lang.String user, boolean visibility, java.lang.String content) throws GenericSavingException
spagoBIBaseUrl
- The SpagoBI service URLpath
- The cms pathnameSubObject
- the name of the subObjectvisibility
- if true the object is public, else if false is visible only to current usercontent
- byte array of the suobject content
GenericSavingException
public byte[] saveObjectTemplate(java.lang.String spagoBIBaseUrl, java.lang.String path, java.lang.String templateName, java.lang.String content) throws GenericSavingException
spagoBIBaseUrl:
- The SpagoBI service URLpath:
- The cms path of the documentcontent:
- the template contenttemplateName:
- the template name
GenericSavingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |