Interface DocumentManagerRemote
-
- All Known Subinterfaces:
DocumentManagerLocal
public interface DocumentManagerRemoteInterface for Kernel Document Manager.Methods are deliberately undocumented.
Do not use this interface in plug-ins.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcopy(javax.jcr.Session session, java.lang.String source, java.lang.String destination)voidcreateFolder(java.lang.String path)java.lang.StringcreateOrUpdate(DocumentContent document)java.lang.StringcreateOrUpdate(javax.jcr.Session session, DocumentContent document)intdeleteNode(java.lang.String path)intdeleteNodeByFlag(java.lang.String path)intdeleteNodeByFlag(javax.jcr.Session session, java.lang.String path)voidemptyTrash()voidemptyTrash(java.lang.String trashPath)Deprecated.booleanexist(java.lang.String path)booleanexist(javax.jcr.Session session, java.lang.String path)DocumentContentget(java.lang.String path)DocumentContentget(java.lang.String path, java.lang.String version)DocumentContentget(javax.jcr.Session session, java.lang.String path, java.lang.String version)DocumentgetChildFileNode(java.lang.String filePath)java.util.List<Document>getChildFileNodes(java.lang.String folderPath)java.util.List<Document>getChildFileNodesRecursively(java.lang.String path)java.util.List<Document>getChildFileNodesWithVersion(java.lang.String folderPath)java.util.List<Document>getChildFileNodesWithVersionRecursively(java.lang.String path)java.util.List<Document>getChildNodes(java.lang.String folderPath)java.lang.StringgetCurrentVersion(java.lang.String path)java.lang.StringgetCurrentVersion(java.lang.String path, javax.jcr.Session jcrSession)java.util.List<java.lang.String>getFilesOfFolderAndSubfolders(java.lang.String folder, java.util.List<java.lang.String> files)java.util.List<Document>getMatchingChildFileNodesRecusively(java.lang.String path, java.lang.String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues)java.util.List<Document>getMatchingPlaceholderNodesRecusively(java.lang.String path, java.lang.String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues, CometPlaceholder.PlaceholderType placeholderType)java.util.Map<Document.DocumentProperties,java.lang.String>getProperties(java.lang.String path)java.util.Map<Document.DocumentProperties,java.lang.String>getProperties(javax.jcr.Session session, java.lang.String path)java.util.List<Document>getRecentChildFileNodesRecusively(java.lang.String path, int maxCount)java.util.List<Document>getRecentChildFileNodesRecusivelyByUser(java.lang.String path, int maxCount, java.lang.String user)java.util.List<java.lang.String>getSubFolders(java.lang.String folderPath)java.util.List<java.lang.String>isFileLockedinFolderAndSubFolders(java.lang.String folder, java.util.List<java.lang.String> locked)booleanisFolder(java.lang.String path)java.util.Map<java.lang.String,java.lang.String>list(java.lang.String folderPath)voidmove(java.lang.String sourcePath, java.lang.String destinationPath)voidmoveToTrash(javax.jcr.Session session, java.lang.String docPath, java.lang.String trashcan)voidquery(java.lang.String sql)intsetActive(java.lang.String path, boolean active)voidsetDocumentProperty(java.lang.String path, Document.DocumentProperties key, java.lang.String value)java.util.List<Document>versions(java.lang.String path)
-
-
-
Method Detail
-
getProperties
java.util.Map<Document.DocumentProperties,java.lang.String> getProperties(java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getProperties
java.util.Map<Document.DocumentProperties,java.lang.String> getProperties(javax.jcr.Session session, java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
get
DocumentContent get(java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
isFolder
boolean isFolder(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
list
java.util.Map<java.lang.String,java.lang.String> list(java.lang.String folderPath) throws DocumentManagerException- Throws:
DocumentManagerException
-
getChildFileNode
Document getChildFileNode(java.lang.String filePath) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getChildFileNodes
java.util.List<Document> getChildFileNodes(java.lang.String folderPath) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getChildFileNodesWithVersion
java.util.List<Document> getChildFileNodesWithVersion(java.lang.String folderPath) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getChildFileNodesRecursively
java.util.List<Document> getChildFileNodesRecursively(java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getChildFileNodesWithVersionRecursively
java.util.List<Document> getChildFileNodesWithVersionRecursively(java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getMatchingChildFileNodesRecusively
java.util.List<Document> getMatchingChildFileNodesRecusively(java.lang.String path, java.lang.String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getMatchingPlaceholderNodesRecusively
java.util.List<Document> getMatchingPlaceholderNodesRecusively(java.lang.String path, java.lang.String regex, boolean caseSensitive, boolean searchForWords, boolean searchInValues, CometPlaceholder.PlaceholderType placeholderType) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getRecentChildFileNodesRecusively
java.util.List<Document> getRecentChildFileNodesRecusively(java.lang.String path, int maxCount) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getRecentChildFileNodesRecusivelyByUser
java.util.List<Document> getRecentChildFileNodesRecusivelyByUser(java.lang.String path, int maxCount, java.lang.String user) throws DocumentManagerException
- Throws:
DocumentManagerException
-
exist
boolean exist(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
getSubFolders
java.util.List<java.lang.String> getSubFolders(java.lang.String folderPath) throws DocumentManagerException- Throws:
DocumentManagerException
-
createOrUpdate
java.lang.String createOrUpdate(javax.jcr.Session session, DocumentContent document) throws DocumentManagerException- Throws:
DocumentManagerException
-
getChildNodes
java.util.List<Document> getChildNodes(java.lang.String folderPath) throws DocumentManagerException
- Throws:
DocumentManagerException
-
createOrUpdate
java.lang.String createOrUpdate(DocumentContent document) throws DocumentManagerException
- Throws:
DocumentManagerException
-
versions
java.util.List<Document> versions(java.lang.String path) throws DocumentManagerException
- Throws:
DocumentManagerException
-
getCurrentVersion
java.lang.String getCurrentVersion(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
getCurrentVersion
java.lang.String getCurrentVersion(java.lang.String path, javax.jcr.Session jcrSession) throws DocumentManagerException- Throws:
DocumentManagerException
-
deleteNode
int deleteNode(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
deleteNodeByFlag
int deleteNodeByFlag(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
deleteNodeByFlag
int deleteNodeByFlag(javax.jcr.Session session, java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
setActive
int setActive(java.lang.String path, boolean active) throws DocumentManagerException- Throws:
DocumentManagerException
-
exist
boolean exist(javax.jcr.Session session, java.lang.String path)
-
isFileLockedinFolderAndSubFolders
java.util.List<java.lang.String> isFileLockedinFolderAndSubFolders(java.lang.String folder, java.util.List<java.lang.String> locked) throws DocumentManagerException- Throws:
DocumentManagerException
-
query
void query(java.lang.String sql) throws DocumentManagerException- Throws:
DocumentManagerException
-
get
DocumentContent get(java.lang.String path, java.lang.String version) throws DocumentManagerException
- Throws:
DocumentManagerException
-
get
DocumentContent get(javax.jcr.Session session, java.lang.String path, java.lang.String version) throws DocumentManagerException
- Throws:
DocumentManagerException
-
createFolder
void createFolder(java.lang.String path) throws DocumentManagerException- Throws:
DocumentManagerException
-
moveToTrash
void moveToTrash(javax.jcr.Session session, java.lang.String docPath, java.lang.String trashcan)
-
copy
void copy(javax.jcr.Session session, java.lang.String source, java.lang.String destination)
-
getFilesOfFolderAndSubfolders
java.util.List<java.lang.String> getFilesOfFolderAndSubfolders(java.lang.String folder, java.util.List<java.lang.String> files) throws DocumentManagerException- Throws:
DocumentManagerException
-
emptyTrash
void emptyTrash() throws DocumentManagerException- Throws:
DocumentManagerException
-
emptyTrash
@Deprecated void emptyTrash(java.lang.String trashPath) throws DocumentManagerExceptionDeprecated.- Throws:
DocumentManagerException
-
move
void move(java.lang.String sourcePath, java.lang.String destinationPath) throws DocumentManagerException- Throws:
DocumentManagerException
-
setDocumentProperty
void setDocumentProperty(java.lang.String path, Document.DocumentProperties key, java.lang.String value) throws DocumentManagerException- Throws:
DocumentManagerException
-
-