|
||||||||||
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,
String solution,
String path,
String name,
String desc)
This method creates a folder along with it's index.xml file. |
boolean |
delete(IPentahoSession userSession,
String solution,
String path,
String name)
This method will delete a file from the ISolutionRepository and respects IPentahoAclEntry.PERM_DELETE. |
String |
getAclXml(String solution,
String path,
String filename,
IPentahoSession userSession)
|
Document |
getSolutionRepositoryDoc(IPentahoSession session,
String[] filters)
|
Document |
getSolutionRepositoryFileDetails(IPentahoSession session,
String fullPath)
Returns an XML snippet consisting of a single file element. |
void |
setAcl(String solution,
String path,
String filename,
String strAclXml,
IPentahoSession userSession)
|
Method Detail |
---|
Document getSolutionRepositoryDoc(IPentahoSession session, String[] filters) throws ParserConfigurationException
ParserConfigurationException
Document getSolutionRepositoryFileDetails(IPentahoSession session, String fullPath) throws ParserConfigurationException
file
element. The file
element is the same
as would have been returned by getSolutionRepositoryDoc
.
session
- current session
ParserConfigurationException
boolean createFolder(IPentahoSession userSession, String solution, String path, String name, String desc) throws IOException
userSession
- the current usersolution
- the solution pathpath
- the folder pathname
- the name of the new folderdesc
- the description of the new folder
IOException
boolean delete(IPentahoSession userSession, String solution, String path, String name) throws 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
IOException
void setAcl(String solution, String path, String filename, String strAclXml, IPentahoSession userSession) throws SolutionRepositoryServiceException, IOException, PentahoAccessControlException
SolutionRepositoryServiceException
IOException
PentahoAccessControlException
String getAclXml(String solution, String path, String filename, IPentahoSession userSession) throws SolutionRepositoryServiceException, IOException
SolutionRepositoryServiceException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |