|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISolutionRepositoryService
This interface provides access to high level information about the solution repository in XML format.
Method Summary | |
---|---|
boolean |
createFolder(IPentahoSession userSession,
java.lang.String solution,
java.lang.String path,
java.lang.String name,
java.lang.String desc)
This method creates a folder along with it's index.xml file. |
boolean |
delete(IPentahoSession userSession,
java.lang.String solution,
java.lang.String path,
java.lang.String name)
This method will delete a file from the ISolutionRepository and respects IPentahoAclEntry.PERM_DELETE. |
java.lang.String |
getAclXml(java.lang.String solution,
java.lang.String path,
java.lang.String filename,
IPentahoSession userSession)
|
org.w3c.dom.Document |
getSolutionRepositoryDoc(IPentahoSession session,
java.lang.String[] filters)
|
org.w3c.dom.Document |
getSolutionRepositoryFileDetails(IPentahoSession session,
java.lang.String fullPath)
Returns an XML snippet consisting of a single file element. |
void |
setAcl(java.lang.String solution,
java.lang.String path,
java.lang.String filename,
java.lang.String strAclXml,
IPentahoSession userSession)
|
Method Detail |
---|
org.w3c.dom.Document getSolutionRepositoryDoc(IPentahoSession session, java.lang.String[] filters) throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
org.w3c.dom.Document getSolutionRepositoryFileDetails(IPentahoSession session, java.lang.String fullPath) throws javax.xml.parsers.ParserConfigurationException
file
element. The file
element is the same
as would have been returned by getSolutionRepositoryDoc
.
session
- current session
javax.xml.parsers.ParserConfigurationException
boolean createFolder(IPentahoSession userSession, java.lang.String solution, java.lang.String path, java.lang.String name, java.lang.String desc) throws java.io.IOException
userSession
- the current usersolution
- the solution pathpath
- the folder pathname
- the name of the new folderdesc
- the description of the new folder
java.io.IOException
boolean delete(IPentahoSession userSession, java.lang.String solution, java.lang.String path, java.lang.String name) throws java.io.IOException
userSession
- An IPentahoSession for the user requesting the delete operationsolution
- The name of the solution, such as 'steel-wheels'path
- The path within the solution to the file/folder to be deleted (does not include the file/folder itself)name
- The name of the file or folder which will be deleted in the given solution/path
java.io.IOException
void setAcl(java.lang.String solution, java.lang.String path, java.lang.String filename, java.lang.String strAclXml, IPentahoSession userSession) throws SolutionRepositoryServiceException, java.io.IOException, PentahoAccessControlException
SolutionRepositoryServiceException
java.io.IOException
PentahoAccessControlException
java.lang.String getAclXml(java.lang.String solution, java.lang.String path, java.lang.String filename, IPentahoSession userSession) throws SolutionRepositoryServiceException, java.io.IOException
SolutionRepositoryServiceException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |