| java.lang.Object com.liferay.portlet.documentlibrary.service.http.DLFileEntryServiceHttp
DLFileEntryServiceHttp | public class DLFileEntryServiceHttp (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP utility for the
com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil service
utility. The static methods of this class calls the same methods of the
service utility. However, the signatures are different because it requires an
additional com.liferay.portal.security.auth.HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in
portal.properties to configure security.
The HTTP utility is only generated for remote services.
author: Brian Wing Shun Chan See Also: com.liferay.portal.security.auth.HttpPrincipal See Also: com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil See Also: com.liferay.portlet.documentlibrary.service.http.DLFileEntryServiceSoap |
Method Summary | |
public static com.liferay.portlet.documentlibrary.model.DLFileEntry | addFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.documentlibrary.model.DLFileEntry | addFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static void | deleteFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name) | public static void | deleteFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name, double version) | public static void | deleteFileEntryByTitle(HttpPrincipal httpPrincipal, long folderId, java.lang.String titleWithExtension) | public static com.liferay.portlet.documentlibrary.model.DLFileEntry | getFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name) | public static com.liferay.portlet.documentlibrary.model.DLFileEntry | getFileEntryByTitle(HttpPrincipal httpPrincipal, long folderId, java.lang.String titleWithExtension) | public static void | lockFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name) | public static void | unlockFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name) | public static com.liferay.portlet.documentlibrary.model.DLFileEntry | updateFileEntry(HttpPrincipal httpPrincipal, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray) |
addFileEntry | public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addFileEntry | public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(HttpPrincipal httpPrincipal, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateFileEntry | public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(HttpPrincipal httpPrincipal, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] byteArray) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException, java.rmi.RemoteException(Code) | | |
|
|