1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
51 public interface DLFileEntryService {
52 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
53 long folderId, java.lang.String name, java.lang.String title,
54 java.lang.String description, java.lang.String[] tagsEntries,
55 java.lang.String extraSettings, byte[] byteArray,
56 boolean addCommunityPermissions, boolean addGuestPermissions)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException, java.rmi.RemoteException;
59
60 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
61 long folderId, java.lang.String name, java.lang.String title,
62 java.lang.String description, java.lang.String[] tagsEntries,
63 java.lang.String extraSettings, byte[] byteArray,
64 java.lang.String[] communityPermissions,
65 java.lang.String[] guestPermissions)
66 throws com.liferay.portal.SystemException,
67 com.liferay.portal.PortalException, java.rmi.RemoteException;
68
69 public void deleteFileEntry(long folderId, java.lang.String name)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portal.PortalException, java.rmi.RemoteException;
72
73 public void deleteFileEntry(long folderId, java.lang.String name,
74 double version)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException, java.rmi.RemoteException;
77
78 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
79 long folderId, java.lang.String name)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portal.PortalException, java.rmi.RemoteException;
82
83 public void lockFileEntry(long folderId, java.lang.String name)
84 throws com.liferay.portal.SystemException,
85 com.liferay.portal.PortalException, java.rmi.RemoteException;
86
87 public void unlockFileEntry(long folderId, java.lang.String name)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portal.PortalException, java.rmi.RemoteException;
90
91 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
92 long folderId, long newFolderId, java.lang.String name,
93 java.lang.String sourceFileName, java.lang.String title,
94 java.lang.String description, java.lang.String[] tagsEntries,
95 java.lang.String extraSettings, byte[] byteArray)
96 throws com.liferay.portal.SystemException,
97 com.liferay.portal.PortalException, java.rmi.RemoteException;
98 }