|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl
public class SolutionRepositoryServiceImpl
| Constructor Summary | |
|---|---|
SolutionRepositoryServiceImpl()
|
|
| 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)
Gets ACLs based on a solution repository file. |
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)
Sets the ACL Xml for a particular file in the solution repository |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolutionRepositoryServiceImpl()
| Method Detail |
|---|
public boolean delete(IPentahoSession userSession,
String solution,
String path,
String name)
throws IOException
delete in interface ISolutionRepositoryServiceuserSession - 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
public boolean createFolder(IPentahoSession userSession,
String solution,
String path,
String name,
String desc)
throws IOException
createFolder in interface ISolutionRepositoryServiceuserSession - the current usersolution - the solution pathpath - the folder pathname - the name of the new folderdesc - the description of the new folder
IOException
public Document getSolutionRepositoryDoc(IPentahoSession session,
String[] filters)
throws ParserConfigurationException
getSolutionRepositoryDoc in interface ISolutionRepositoryServiceParserConfigurationException
public Document getSolutionRepositoryFileDetails(IPentahoSession session,
String fullPath)
throws ParserConfigurationException
file element. The file element is the same
as would have been returned by getSolutionRepositoryDoc.
getSolutionRepositoryFileDetails in interface ISolutionRepositoryServicesession - current session
ParserConfigurationException
public void setAcl(String solution,
String path,
String filename,
String strAclXml,
IPentahoSession userSession)
throws SolutionRepositoryServiceException,
IOException,
PentahoAccessControlException
setAcl in interface ISolutionRepositoryServicesolution - path - filename - strAclXml - userSession -
SolutionRepositoryServiceException
IOException
PentahoAccessControlException
public String getAclXml(String solution,
String path,
String filename,
IPentahoSession userSession)
throws SolutionRepositoryServiceException,
IOException
getAclXml in interface ISolutionRepositoryServiceparameterProvider - outputStream - userSession -
SolutionRepositoryServiceException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||