|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDeleteHelper
Handles delete, undelete, and permanent delete. Handles listing deleted files and purging some or all deleted files.
Method Summary | |
---|---|
void |
deleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it can be recovered. |
List<RepositoryFile> |
getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants)
Lists deleted files for this user. |
List<RepositoryFile> |
getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable folderId,
String filter)
Lists deleted files for this folder and user. |
Serializable |
getOriginalParentFolderId(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Returns the ID of the original parent folder. |
void |
permanentlyDeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it cannot be recovered. |
void |
undeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Recovers a deleted file to its original location. |
Method Detail |
---|
void deleteFile(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants, Serializable fileId) throws javax.jcr.RepositoryException
fileId
-
javax.jcr.RepositoryException
void undeleteFile(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants, Serializable fileId) throws javax.jcr.RepositoryException
fileId
-
javax.jcr.RepositoryException
void permanentlyDeleteFile(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants, Serializable fileId) throws javax.jcr.RepositoryException
fileId
-
javax.jcr.RepositoryException
List<RepositoryFile> getDeletedFiles(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants, Serializable folderId, String filter) throws javax.jcr.RepositoryException
folderId
- filter
- filter may be a full name or a partial name with one or more wildcard characters ("*")
javax.jcr.RepositoryException
List<RepositoryFile> getDeletedFiles(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Serializable getOriginalParentFolderId(javax.jcr.Session session, PentahoJcrConstants pentahoJcrConstants, Serializable fileId) throws javax.jcr.RepositoryException
undeleteFile(Session, PentahoJcrConstants, Serializable)
.
fileId
- file id of deleted file
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |