AnnouncementsDelivery
DLApp
FlagsEntry
LayoutRevision
PollsVote
There are no services matching that phrase.

/dlapp/revert-file-entry

HTTP Method
POST
com.liferay.portlet.documentlibrary.service.DLAppServiceUtil#revertFileEntry

Reverts the file entry to a previous version. A new version will be created based on the previous version and metadata.

Parameters

p_auth String

authentication token used to validate the request

fileEntryId long

the primary key of the file entry

version java.lang.String

the version to revert back to

serviceContext com.liferay.portal.service.ServiceContext

the service context to be applied

Return Type

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the file entry or version could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long java.lang.String