Interface DocumentManagerRemote
- All Known Subinterfaces:
DocumentManagerLocal
public interface DocumentManagerRemote
Interface for Kernel Document Manager.
Methods are deliberately undocumented.
Do not use this interface in plug-ins.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreateFolder(String path) createOrUpdate(DocumentContent document) createOrUpdate(javax.jcr.Session session, DocumentContent document) intdeleteNode(String path) intdeleteNodeByFlag(String path) intdeleteNodeByFlag(javax.jcr.Session session, String path) voidvoidemptyTrash(String trashPath) Deprecated.booleanbooleangetChildFileNode(String filePath) getChildFileNodes(String folderPath) getChildFileNodesWithVersion(String folderPath) getChildNodes(String folderPath) getCurrentVersion(String path) getCurrentVersion(String path, javax.jcr.Session jcrSession) getFilesOfFolderAndSubfolders(String folder, List<String> files) getMatchingChildFileNodesRecusively(String path, String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues) getMatchingPlaceholderNodesRecusively(String path, String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues, CometPlaceholder.PlaceholderType placeholderType) getProperties(String path) getProperties(javax.jcr.Session session, String path) getRecentChildFileNodesRecusively(String path, int maxCount) getRecentChildFileNodesRecusivelyByUser(String path, int maxCount, String user) getSubFolders(String folderPath) isFileLockedinFolderAndSubFolders(String folder, List<String> locked) booleanvoidvoidmoveToTrash(javax.jcr.Session session, String docPath, String trashcan) voidintvoidsetDocumentProperty(String path, Document.DocumentProperties key, String value)
-
Method Details
-
getProperties
- Throws:
DocumentManagerException
-
getProperties
Map<Document.DocumentProperties,String> getProperties(javax.jcr.Session session, String path) throws DocumentManagerException - Throws:
DocumentManagerException
-
get
- Throws:
DocumentManagerException
-
isFolder
- Throws:
DocumentManagerException
-
list
- Throws:
DocumentManagerException
-
getChildFileNode
- Throws:
DocumentManagerException
-
getChildFileNodes
- Throws:
DocumentManagerException
-
getChildFileNodesWithVersion
- Throws:
DocumentManagerException
-
getChildFileNodesRecursively
- Throws:
DocumentManagerException
-
getChildFileNodesWithVersionRecursively
- Throws:
DocumentManagerException
-
getMatchingChildFileNodesRecusively
List<Document> getMatchingChildFileNodesRecusively(String path, String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues) throws DocumentManagerException - Throws:
DocumentManagerException
-
getMatchingPlaceholderNodesRecusively
List<Document> getMatchingPlaceholderNodesRecusively(String path, String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues, CometPlaceholder.PlaceholderType placeholderType) throws DocumentManagerException - Throws:
DocumentManagerException
-
getRecentChildFileNodesRecusively
List<Document> getRecentChildFileNodesRecusively(String path, int maxCount) throws DocumentManagerException - Throws:
DocumentManagerException
-
getRecentChildFileNodesRecusivelyByUser
List<Document> getRecentChildFileNodesRecusivelyByUser(String path, int maxCount, String user) throws DocumentManagerException - Throws:
DocumentManagerException
-
exist
- Throws:
DocumentManagerException
-
getSubFolders
- Throws:
DocumentManagerException
-
createOrUpdate
String createOrUpdate(javax.jcr.Session session, DocumentContent document) throws DocumentManagerException - Throws:
DocumentManagerException
-
getChildNodes
- Throws:
DocumentManagerException
-
createOrUpdate
- Throws:
DocumentManagerException
-
versions
- Throws:
DocumentManagerException
-
getCurrentVersion
- Throws:
DocumentManagerException
-
getCurrentVersion
- Throws:
DocumentManagerException
-
deleteNode
- Throws:
DocumentManagerException
-
deleteNodeByFlag
- Throws:
DocumentManagerException
-
deleteNodeByFlag
- Throws:
DocumentManagerException
-
setActive
- Throws:
DocumentManagerException
-
exist
-
isFileLockedinFolderAndSubFolders
List<String> isFileLockedinFolderAndSubFolders(String folder, List<String> locked) throws DocumentManagerException - Throws:
DocumentManagerException
-
query
- Throws:
DocumentManagerException
-
get
- Throws:
DocumentManagerException
-
get
DocumentContent get(javax.jcr.Session session, String path, String version) throws DocumentManagerException - Throws:
DocumentManagerException
-
createFolder
- Throws:
DocumentManagerException
-
moveToTrash
-
copy
-
getFilesOfFolderAndSubfolders
List<String> getFilesOfFolderAndSubfolders(String folder, List<String> files) throws DocumentManagerException - Throws:
DocumentManagerException
-
emptyTrash
- Throws:
DocumentManagerException
-
emptyTrash
Deprecated.- Throws:
DocumentManagerException
-
move
- Throws:
DocumentManagerException
-
setDocumentProperty
void setDocumentProperty(String path, Document.DocumentProperties key, String value) throws DocumentManagerException - Throws:
DocumentManagerException
-