|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil
public class DLFileEntryLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
This class provides static methods for the
DLFileEntryLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
DLFileEntryLocalService
Constructor Summary | |
---|---|
DLFileEntryLocalServiceUtil()
|
Method Summary | |
---|---|
static DLFileEntry |
addDLFileEntry(DLFileEntry dlFileEntry)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.InputStream is,
int size,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
addFileEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
addFileEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
addFileEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
static DLFileEntry |
addFileEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
static DLFileEntry |
addFileEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.InputStream is,
long size,
ServiceContext serviceContext)
|
static void |
addFileEntryResources(DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFileEntryResources(DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFileEntryResources(long fileEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFileEntryResources(long fileEntryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFileEntry |
addOrOverwriteFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String sourceName,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
static DLFileEntry |
createDLFileEntry(long fileEntryId)
|
static void |
deleteDLFileEntry(DLFileEntry dlFileEntry)
|
static void |
deleteDLFileEntry(long fileEntryId)
|
static void |
deleteFileEntries(long folderId)
|
static void |
deleteFileEntry(DLFileEntry fileEntry)
|
static void |
deleteFileEntry(long folderId,
java.lang.String name)
|
static void |
deleteFileEntry(long folderId,
java.lang.String name,
double version)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end)
|
static java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getCompanyFileEntriesCount(long companyId)
|
static java.util.List<DLFileEntry> |
getDLFileEntries(int start,
int end)
|
static int |
getDLFileEntriesCount()
|
static DLFileEntry |
getDLFileEntry(long fileEntryId)
|
static DLFileEntry |
getDLFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static java.io.InputStream |
getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name)
|
static java.io.InputStream |
getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name,
double version)
|
static java.util.List<DLFileEntry> |
getFileEntries(long folderId)
|
static java.util.List<DLFileEntry> |
getFileEntries(long folderId,
int start,
int end)
|
static java.util.List<DLFileEntry> |
getFileEntries(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getFileEntriesCount(long folderId)
|
static DLFileEntry |
getFileEntry(long fileEntryId)
|
static DLFileEntry |
getFileEntry(long folderId,
java.lang.String name)
|
static DLFileEntry |
getFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
|
static DLFileEntry |
getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static int |
getFoldersFileEntriesCount(java.util.List<java.lang.Long> folderIds)
|
static java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end)
|
static java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end)
|
static java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupFileEntriesCount(long groupId)
|
static int |
getGroupFileEntriesCount(long groupId,
long userId)
|
static java.util.List<DLFileEntry> |
getNoAssetFileEntries()
|
static DLFileEntryLocalService |
getService()
|
static void |
reIndex(long fileEntryId)
|
void |
setService(DLFileEntryLocalService service)
|
static DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry)
|
static DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry,
boolean merge)
|
static DLFileEntry |
updateFileEntry(long userId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
updateFileEntry(long userId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
Deprecated. |
static DLFileEntry |
updateFileEntry(long userId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
static DLFileEntry |
updateFileEntry(long userId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
static DLFileEntry |
updateFileEntry(long userId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.InputStream is,
long size,
ServiceContext serviceContext)
|
static void |
updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileEntryLocalServiceUtil()
Method Detail |
---|
public static DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry createDLFileEntry(long fileEntryId)
public static void deleteDLFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void deleteDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry getDLFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry getDLFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getDLFileEntries(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int getDLFileEntriesCount() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, java.io.InputStream is, int size, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.InputStream is, long size, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void addFileEntryResources(DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void addFileEntryResources(DLFileEntry fileEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void addFileEntryResources(long fileEntryId, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void addFileEntryResources(long fileEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry addOrOverwriteFileEntry(long userId, long folderId, java.lang.String name, java.lang.String sourceName, java.lang.String title, java.lang.String description, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void deleteFileEntries(long folderId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void deleteFileEntry(DLFileEntry fileEntry) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void deleteFileEntry(long folderId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void deleteFileEntry(long folderId, java.lang.String name, double version) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int getCompanyFileEntriesCount(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.io.InputStream getFileAsStream(long companyId, long userId, long folderId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static java.io.InputStream getFileAsStream(long companyId, long userId, long folderId, java.lang.String name, double version) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getFileEntries(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getFileEntries(long folderId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getFileEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int getFileEntriesCount(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry getFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry getFileEntry(long folderId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry getFileEntryByTitle(long folderId, java.lang.String titleWithExtension) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static int getFoldersFileEntriesCount(java.util.List<java.lang.Long> folderIds) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int getGroupFileEntriesCount(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static int getGroupFileEntriesCount(long groupId, long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static java.util.List<DLFileEntry> getNoAssetFileEntries() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static void reIndex(long fileEntryId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
public static DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.InputStream is, long size, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static void updateTagsAsset(long userId, DLFileEntry fileEntry, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
public static DLFileEntryLocalService getService()
public void setService(DLFileEntryLocalService service)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |