@ProviderType
public class DLFileEntryServiceHttp
extends Object
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
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.
DLFileEntryServiceSoap
,
HttpPrincipal
,
DLFileEntryServiceUtil
Constructor and Description |
---|
DLFileEntryServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.document.library.kernel.model.DLFileEntry |
addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
File file,
InputStream is,
long size,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileVersion |
cancelCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static void |
checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
boolean major,
String changeLog,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntry |
checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntry |
checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntry |
copyFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long repositoryId,
long fileEntryId,
long destFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static void |
deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String title) |
static void |
deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version) |
static com.liferay.document.library.kernel.model.DLFileEntry |
fetchFileEntryByImageId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long imageId) |
static InputStream |
getFileAsStream(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version) |
static InputStream |
getFileAsStream(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version,
boolean incrementCounter) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String[] mimeTypes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
int status) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
long fileEntryTypeId) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String[] mimeTypes) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String[] mimeTypes,
int status) |
static com.liferay.document.library.kernel.model.DLFileEntry |
getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static com.liferay.document.library.kernel.model.DLFileEntry |
getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String title) |
static com.liferay.document.library.kernel.model.DLFileEntry |
getFileEntryByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String uuid,
long groupId) |
static com.liferay.portal.kernel.lock.Lock |
getFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static int |
getFoldersFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
List<Long> folderIds,
int status) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static List<com.liferay.document.library.kernel.model.DLFileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
static boolean |
hasFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static boolean |
isFileEntryCheckedOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static boolean |
isKeepFileVersionLabel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
boolean majorVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static boolean |
isKeepFileVersionLabel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntry |
moveFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.lock.Lock |
refreshFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime) |
static void |
revertFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long creatorUserId,
int status,
int start,
int end) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end) |
static com.liferay.document.library.kernel.model.DLFileEntry |
updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
File file,
InputStream is,
long size,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntry |
updateStatus(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long userId,
long fileVersionId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
Map<String,Serializable> workflowContext) |
static boolean |
verifyFileEntryCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid) |
static boolean |
verifyFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid) |
public static com.liferay.document.library.kernel.model.DLFileEntry addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, long fileEntryTypeId, Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap, File file, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileVersion cancelCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, boolean major, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry copyFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long repositoryId, long fileEntryId, long destFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry fetchFileEntryByImageId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long imageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static InputStream getFileAsStream(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static InputStream getFileAsStream(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version, boolean incrementCounter) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String[] mimeTypes, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId)
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, int status)
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, long fileEntryTypeId)
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String[] mimeTypes)
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String[] mimeTypes, int status)
public static com.liferay.document.library.kernel.model.DLFileEntry getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry getFileEntryByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock getFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId)
public static int getFoldersFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, List<Long> folderIds, int status)
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean hasFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean isFileEntryCheckedOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean isKeepFileVersionLabel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, boolean majorVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean isKeepFileVersionLabel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry moveFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String lockUuid, long companyId, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void revertFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, long fileEntryTypeId, Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap, File file, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntry updateStatus(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, long fileVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean verifyFileEntryCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean verifyFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException