| java.lang.Object com.liferay.documentlibrary.util.BaseHook com.liferay.documentlibrary.util.JCRHook
Method Summary | |
public void | addDirectory(long companyId, long repositoryId, String dirName) | public void | addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, InputStream is) | public void | checkRoot(long companyId) | public void | deleteDirectory(long companyId, String portletId, long repositoryId, String dirName) | protected void | deleteDirectory(long companyId, String portletId, long repositoryId, Node dirNode) | public void | deleteFile(long companyId, String portletId, long repositoryId, String fileName) | public void | deleteFile(long companyId, String portletId, long repositoryId, String fileName, double versionNumber) | public InputStream | getFileAsStream(long companyId, long repositoryId, String fileName, double versionNumber) | protected Node | getFileContentNode(long companyId, long repositoryId, String fileName, double versionNumber) | protected Node | getFileContentNode(Session session, long companyId, long repositoryId, String fileName, double versionNumber) | public String[] | getFileNames(long companyId, long repositoryId, String dirName) | public long | getFileSize(long companyId, long repositoryId, String fileName) | protected Node | getFolderNode(Node node, long name) | protected Node | getFolderNode(Node node, String name) | protected Node | getRootNode(Session session, long companyId) | public boolean | hasFile(long companyId, long repositoryId, String fileName, double versionNumber) | public void | move(String srcDir, String destDir) | public void | reIndex(String[] ids) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, InputStream is) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, long newRepositoryId, String fileName) |
deleteDirectory | protected void deleteDirectory(long companyId, String portletId, long repositoryId, Node dirNode) throws IOException(Code) | | |
getFolderNode | protected Node getFolderNode(Node node, long name) throws RepositoryException(Code) | | |
getFolderNode | protected Node getFolderNode(Node node, String name) throws RepositoryException(Code) | | |
getRootNode | protected Node getRootNode(Session session, long companyId) throws RepositoryException(Code) | | |
updateFile | public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, InputStream is) throws PortalException, SystemException(Code) | | |
Methods inherited from com.liferay.documentlibrary.util.BaseHook | abstract public void addDirectory(long companyId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, File file) throws PortalException, SystemException(Code)(Java Doc) public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, byte[] byteArray) throws PortalException, SystemException(Code)(Java Doc) abstract public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, InputStream is) throws PortalException, SystemException(Code)(Java Doc) abstract public void checkRoot(long companyId) throws SystemException(Code)(Java Doc) abstract public void deleteDirectory(long companyId, String portletId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) abstract public void deleteFile(long companyId, String portletId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public void deleteFile(long companyId, String portletId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) public byte[] getFile(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) public byte[] getFile(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) public InputStream getFileAsStream(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public InputStream getFileAsStream(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) abstract public String[] getFileNames(long companyId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) abstract public long getFileSize(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public boolean hasFile(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) abstract public void move(String srcDir, String destDir) throws SystemException(Code)(Java Doc) abstract public void reIndex(String[] ids) throws SearchException(Code)(Java Doc) public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, File file) throws PortalException, SystemException(Code)(Java Doc) public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, byte[] byteArray) throws PortalException, SystemException(Code)(Java Doc) abstract public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, InputStream is) throws PortalException, SystemException(Code)(Java Doc) abstract public void updateFile(long companyId, String portletId, long groupId, long repositoryId, long newRepositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc)
|
|
|