1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
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, java.io.File file,
56 boolean addCommunityPermissions, boolean addGuestPermissions)
57 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
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 boolean addCommunityPermissions, boolean addGuestPermissions)
65 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
69 long folderId, java.lang.String name, java.lang.String title,
70 java.lang.String description, java.lang.String[] tagsEntries,
71 java.lang.String extraSettings, java.io.File file,
72 java.lang.String[] communityPermissions,
73 java.lang.String[] guestPermissions)
74 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
78 long folderId, java.lang.String name, java.lang.String title,
79 java.lang.String description, java.lang.String[] tagsEntries,
80 java.lang.String extraSettings, byte[] byteArray,
81 java.lang.String[] communityPermissions,
82 java.lang.String[] guestPermissions)
83 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 public void deleteFileEntry(long folderId, java.lang.String name)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portal.PortalException, java.rmi.RemoteException;
89
90 public void deleteFileEntry(long folderId, java.lang.String name,
91 double version)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portal.PortalException, java.rmi.RemoteException;
94
95 public void deleteFileEntryByTitle(long folderId,
96 java.lang.String titleWithExtension)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portal.PortalException, java.rmi.RemoteException;
99
100 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
101 long folderId)
102 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
103 com.liferay.portal.PortalException;
104
105 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
106 long folderId, java.lang.String name)
107 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
108 com.liferay.portal.PortalException;
109
110 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
111 long folderId, java.lang.String titleWithExtension)
112 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
113 com.liferay.portal.PortalException;
114
115 public void lockFileEntry(long folderId, java.lang.String name)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portal.PortalException, java.rmi.RemoteException;
118
119 public void unlockFileEntry(long folderId, java.lang.String name)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portal.PortalException, java.rmi.RemoteException;
122
123 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
124 long folderId, long newFolderId, java.lang.String name,
125 java.lang.String sourceFileName, java.lang.String title,
126 java.lang.String description, java.lang.String[] tagsEntries,
127 java.lang.String extraSettings, byte[] byteArray)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portal.PortalException, java.rmi.RemoteException;
130 }