com.liferay.portlet.documentlibrary.service
Interface DLFileEntryLocalService
public interface DLFileEntryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFileEntryLocalServiceFactory
,
DLFileEntryLocalServiceUtil
Method Summary |
DLFileEntry |
addDLFileEntry(DLFileEntry dlFileEntry)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
void |
addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFileEntryResources(long folderId,
java.lang.String name,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(long folderId,
java.lang.String name,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
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)
|
void |
deleteDLFileEntry(DLFileEntry dlFileEntry)
|
void |
deleteDLFileEntry(long fileEntryId)
|
void |
deleteFileEntries(long folderId)
|
void |
deleteFileEntry(DLFileEntry fileEntry)
|
void |
deleteFileEntry(long folderId,
java.lang.String name)
|
void |
deleteFileEntry(long folderId,
java.lang.String name,
double version)
|
java.util.List<DLFileEntry> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<DLFileEntry> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyFileEntriesCount(long companyId)
|
java.io.InputStream |
getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name)
|
java.io.InputStream |
getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name,
double version)
|
java.util.List<DLFileEntry> |
getFileEntries(long folderId)
|
java.util.List<DLFileEntry> |
getFileEntries(long folderId,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getFileEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
getFileEntriesAndShortcuts(java.util.List<java.lang.Long> folderIds,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
|
int |
getFileEntriesAndShortcutsCount(java.util.List<java.lang.Long> folderIds)
|
int |
getFileEntriesAndShortcutsCount(long folderId)
|
int |
getFileEntriesCount(long folderId)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long folderId,
java.lang.String name)
|
DLFileEntry |
getFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
int |
getFoldersFileEntriesCount(java.util.List<java.lang.Long> folderIds)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
java.util.List<DLFileEntry> |
getNoAssetFileEntries()
|
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry)
|
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)
|
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)
|
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)
|
void |
updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsEntries)
|
addDLFileEntry
DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteDLFileEntry
void deleteDLFileEntry(long fileEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteDLFileEntry
void deleteDLFileEntry(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<DLFileEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<DLFileEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFileEntry
DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntryResources
void addFileEntryResources(long folderId,
java.lang.String name,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntryResources
void addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntryResources
void addFileEntryResources(long folderId,
java.lang.String name,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addFileEntryResources
void addFileEntryResources(DLFolder folder,
DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addOrOverwriteFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFileEntries
void deleteFileEntries(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFileEntry
void deleteFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFileEntry
void deleteFileEntry(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFileEntry
void deleteFileEntry(DLFileEntry fileEntry)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCompanyFileEntries
java.util.List<DLFileEntry> getCompanyFileEntries(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyFileEntries
java.util.List<DLFileEntry> 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
int getCompanyFileEntriesCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileAsStream
java.io.InputStream getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileAsStream
java.io.InputStream getFileAsStream(long companyId,
long userId,
long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileEntries
java.util.List<DLFileEntry> getFileEntries(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
java.util.List<DLFileEntry> getFileEntries(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
java.util.List<DLFileEntry> 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
java.util.List<DLFileEntry> getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcuts
java.util.List<DLFileEntry> getFileEntriesAndShortcuts(java.util.List<java.lang.Long> folderIds,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
int getFileEntriesAndShortcutsCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
int getFileEntriesAndShortcutsCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesCount
int getFileEntriesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntry
DLFileEntry getFileEntry(long fileEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileEntry
DLFileEntry getFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileEntryByUuidAndGroupId
DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileEntryByTitle
DLFileEntry getFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFoldersFileEntriesCount
int getFoldersFileEntriesCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
java.util.List<DLFileEntry> 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
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
java.util.List<DLFileEntry> 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
int getGroupFileEntriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntriesCount
int getGroupFileEntriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetFileEntries
java.util.List<DLFileEntry> getNoAssetFileEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateFileEntry
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateTagsAsset
void updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException