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, byte[] byteArray,
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 java.lang.String[] communityPermissions,
65 java.lang.String[] guestPermissions)
66 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
67 com.liferay.portal.PortalException;
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 void deleteFileEntryByTitle(long folderId,
79 java.lang.String titleWithExtension)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portal.PortalException, java.rmi.RemoteException;
82
83 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
84 long folderId, java.lang.String name)
85 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
86 com.liferay.portal.PortalException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
89 long folderId, java.lang.String titleWithExtension)
90 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
91 com.liferay.portal.PortalException;
92
93 public void lockFileEntry(long folderId, java.lang.String name)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portal.PortalException, java.rmi.RemoteException;
96
97 public void unlockFileEntry(long folderId, java.lang.String name)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.PortalException, java.rmi.RemoteException;
100
101 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
102 long folderId, long newFolderId, java.lang.String name,
103 java.lang.String sourceFileName, java.lang.String title,
104 java.lang.String description, java.lang.String[] tagsEntries,
105 java.lang.String extraSettings, byte[] byteArray)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portal.PortalException, java.rmi.RemoteException;
108 }