DLApp
Il n'y a aucun service assortissant cette expression.

/dlapp/check-out-file-entry

Méthode de HTTP
POST
com.liferay.portlet.documentlibrary.service.DLAppServiceUtil#checkOutFileEntry

Checks out the file entry. This method is primarily used by WebDAV.

When a file entry is checked out, a PWC (private working copy) is created and the original file entry is locked. A client can make as many changes to the PWC as he desires without those changes being visible to other users. If the user is satisfied with the changes, he may elect to check in his changes, resulting in a new file version based on the PWC; the PWC will be removed and the file entry will be unlocked. If the user is not satisfied with the changes, he may elect to cancel his check out; this results in the deletion of the PWC and unlocking of the file entry.

Paramètres

p_auth String

authentication token used to validate the request

fileEntryId long

the file entry to check out

owner java.lang.String

the owner string for the checkout (optionally null)

expirationTime long

the time in milliseconds before the lock expires. If the value is 0, the default expiration time will be used from portal.properties>.

serviceContext com.liferay.portal.service.ServiceContext

the service context to be applied

Type de retour

com.liferay.portal.kernel.repository.model.FileEntry

the file entry

Exception

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

Exécuter

String long java.lang.String long