com.liferay.portlet.documentlibrary.service
Class DLFileEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil
- public class DLFileEntryLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.documentlibrary.service.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.
com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFileEntryLocalService
,
DLFileEntryLocalServiceFactory
Method Summary |
static DLFileEntry |
addDLFileEntry(DLFileEntry model)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
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[] tagsEntries,
java.lang.String extraSettings,
java.io.InputStream is,
long size,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFileEntryResources(long folderId,
java.lang.String name,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFileEntryResources(long folderId,
java.lang.String name,
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[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
afterPropertiesSet()
|
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.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getCompanyFileEntries(long companyId,
int begin,
int end)
|
static java.util.List |
getCompanyFileEntries(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getCompanyFileEntriesCount(long companyId)
|
static DLFileEntryAndShortcutFinder |
getDLFileEntryAndShortcutFinder()
|
static DLFileEntryFinder |
getDLFileEntryFinder()
|
static DLFileEntryPersistence |
getDLFileEntryPersistence()
|
static DLFileRankFinder |
getDLFileRankFinder()
|
static DLFileRankPersistence |
getDLFileRankPersistence()
|
static DLFileShortcutFinder |
getDLFileShortcutFinder()
|
static DLFileShortcutPersistence |
getDLFileShortcutPersistence()
|
static DLFileVersionPersistence |
getDLFileVersionPersistence()
|
static DLFolderPersistence |
getDLFolderPersistence()
|
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 |
getFileEntries(long folderId)
|
static java.util.List |
getFileEntries(long folderId,
int begin,
int end)
|
static java.util.List |
getFileEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
getFileEntriesAndShortcuts(java.util.List folderIds,
int begin,
int end)
|
static java.util.List |
getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
|
static int |
getFileEntriesAndShortcutsCount(java.util.List folderIds)
|
static int |
getFileEntriesAndShortcutsCount(long folderId)
|
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 folderIds)
|
static java.util.List |
getGroupFileEntries(long groupId,
int begin,
int end)
|
static java.util.List |
getGroupFileEntries(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
|
static java.util.List |
getGroupFileEntries(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupFileEntriesCount(long groupId)
|
static int |
getGroupFileEntriesCount(long groupId,
long userId)
|
static MBMessageFinder |
getMBMessageFinder()
|
static MBMessagePersistence |
getMBMessagePersistence()
|
static java.util.List |
getNoAssetFileEntries()
|
static RatingsStatsPersistence |
getRatingsStatsPersistence()
|
static ResourceFinder |
getResourceFinder()
|
static ResourcePersistence |
getResourcePersistence()
|
static TagsAssetFinder |
getTagsAssetFinder()
|
static TagsAssetPersistence |
getTagsAssetPersistence()
|
static UserFinder |
getUserFinder()
|
static UserPersistence |
getUserPersistence()
|
static WebDAVPropsPersistence |
getWebDAVPropsPersistence()
|
static void |
setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
|
static void |
setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
|
static void |
setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
|
static void |
setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
|
static void |
setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
|
static void |
setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
|
static void |
setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
|
static void |
setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
|
static void |
setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
|
static void |
setMBMessageFinder(MBMessageFinder mbMessageFinder)
|
static void |
setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
|
static void |
setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
|
static void |
setResourceFinder(ResourceFinder resourceFinder)
|
static void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
static void |
setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
|
static void |
setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
|
static void |
setUserFinder(UserFinder userFinder)
|
static void |
setUserPersistence(UserPersistence userPersistence)
|
static void |
setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
|
static DLFileEntry |
updateDLFileEntry(DLFileEntry model)
|
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray)
|
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[] tagsEntries,
java.lang.String extraSettings,
java.io.File file)
|
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[] tagsEntries,
java.lang.String extraSettings,
java.io.InputStream is,
long size)
|
static void |
updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryLocalServiceUtil
public DLFileEntryLocalServiceUtil()
addDLFileEntry
public static DLFileEntry addDLFileEntry(DLFileEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFileEntry
public static DLFileEntry updateDLFileEntry(DLFileEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileEntryPersistence
public static DLFileEntryPersistence getDLFileEntryPersistence()
setDLFileEntryPersistence
public static void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
getDLFileEntryFinder
public static DLFileEntryFinder getDLFileEntryFinder()
setDLFileEntryFinder
public static void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
getDLFileEntryAndShortcutFinder
public static DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder()
setDLFileEntryAndShortcutFinder
public static void setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
getDLFileRankPersistence
public static DLFileRankPersistence getDLFileRankPersistence()
setDLFileRankPersistence
public static void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
getDLFileRankFinder
public static DLFileRankFinder getDLFileRankFinder()
setDLFileRankFinder
public static void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
getDLFileShortcutPersistence
public static DLFileShortcutPersistence getDLFileShortcutPersistence()
setDLFileShortcutPersistence
public static void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
getDLFileShortcutFinder
public static DLFileShortcutFinder getDLFileShortcutFinder()
setDLFileShortcutFinder
public static void setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
getDLFileVersionPersistence
public static DLFileVersionPersistence getDLFileVersionPersistence()
setDLFileVersionPersistence
public static void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
getDLFolderPersistence
public static DLFolderPersistence getDLFolderPersistence()
setDLFolderPersistence
public static void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
getResourcePersistence
public static ResourcePersistence getResourcePersistence()
setResourcePersistence
public static void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public static ResourceFinder getResourceFinder()
setResourceFinder
public static void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
getWebDAVPropsPersistence
public static WebDAVPropsPersistence getWebDAVPropsPersistence()
setWebDAVPropsPersistence
public static void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
getMBMessagePersistence
public static MBMessagePersistence getMBMessagePersistence()
setMBMessagePersistence
public static void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
getMBMessageFinder
public static MBMessageFinder getMBMessageFinder()
setMBMessageFinder
public static void setMBMessageFinder(MBMessageFinder mbMessageFinder)
getRatingsStatsPersistence
public static RatingsStatsPersistence getRatingsStatsPersistence()
setRatingsStatsPersistence
public static void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
getTagsAssetPersistence
public static TagsAssetPersistence getTagsAssetPersistence()
setTagsAssetPersistence
public static void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
getTagsAssetFinder
public static TagsAssetFinder getTagsAssetFinder()
setTagsAssetFinder
public static void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
afterPropertiesSet
public static void afterPropertiesSet()
addFileEntry
public static DLFileEntry addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public static DLFileEntry addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public static DLFileEntry addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public static DLFileEntry addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public static DLFileEntry addFileEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
java.io.InputStream is,
long size,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntryResources
public static void addFileEntryResources(long folderId,
java.lang.String name,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntryResources
public static void addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntryResources
public static void addFileEntryResources(long folderId,
java.lang.String name,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntryResources
public static void addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addOrOverwriteFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
java.io.File file,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntries
public static void deleteFileEntries(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntry
public static void deleteFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntry
public static void deleteFileEntry(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntry
public static void deleteFileEntry(DLFileEntry fileEntry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyFileEntries
public static java.util.List getCompanyFileEntries(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyFileEntries
public static java.util.List getCompanyFileEntries(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyFileEntriesCount
public static int getCompanyFileEntriesCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileAsStream
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileAsStream
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntries
public static java.util.List getFileEntries(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
public static java.util.List getFileEntries(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
public static java.util.List getFileEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcuts
public static java.util.List getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcuts
public static java.util.List getFileEntriesAndShortcuts(java.util.List folderIds,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
public static int getFileEntriesAndShortcutsCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
public static int getFileEntriesAndShortcutsCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesCount
public static int getFileEntriesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntry
public static DLFileEntry getFileEntry(long fileEntryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntry
public static DLFileEntry getFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntryByUuidAndGroupId
public static DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntryByTitle
public static DLFileEntry getFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFoldersFileEntriesCount
public static int getFoldersFileEntriesCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public static java.util.List getGroupFileEntries(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public static java.util.List getGroupFileEntries(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public static java.util.List getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public static java.util.List getGroupFileEntries(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntriesCount
public static int getGroupFileEntriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntriesCount
public static int getGroupFileEntriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetFileEntries
public static java.util.List getNoAssetFileEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
byte[] byteArray)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFileEntry
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[] tagsEntries,
java.lang.String extraSettings,
java.io.InputStream is,
long size)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public static void updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException