dlFileEntry.getCompanyId(), dlFileEntry.getGroupId(),
dlFileEntry.getUserId(), DLFileEntry.class.getName(),
dlFileEntry.getFileEntryId(), groupPermissions, guestPermissions);
}
public void cancelCheckOut(long userId, long fileEntryId)
<BUG>throws PortalException, SystemException {
boolean hasLock = hasFileEntryLock(userId, fileEntryId);
boolean isCheckedOut = isFileEntryCheckedOut(fileEntryId);
if (!isCheckedOut) {</BUG>
return;

dlFileEntry.getCompanyId(), dlFileEntry.getGroupId(),
dlFileEntry.getUserId(), DLFileEntry.class.getName(),
dlFileEntry.getFileEntryId(), false, addGroupPermissions,
addGuestPermissions);
