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:
DLFileEntryServiceFactory
,
DLFileEntryServiceUtil
Method Summary |
DLFileEntry |
addDLFileEntry(DLFileEntry model)
|
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.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,
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(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)
|
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 |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
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 |
getFileEntries(long folderId)
|
java.util.List |
getFileEntries(long folderId,
int begin,
int end)
|
java.util.List |
getFileEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
getFileEntriesAndShortcuts(java.util.List folderIds,
int begin,
int end)
|
java.util.List |
getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
|
int |
getFileEntriesAndShortcutsCount(java.util.List folderIds)
|
int |
getFileEntriesAndShortcutsCount(long folderId)
|
int |
getFileEntriesCount(long folderId)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long folderId,
java.lang.String name)
|
int |
getFoldersFileEntriesCount(java.util.List folderIds)
|
java.util.List |
getGroupFileEntries(long groupId,
int begin,
int end)
|
java.util.List |
getGroupFileEntries(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
|
java.util.List |
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 |
getNoAssetFileEntries()
|
DLFileEntry |
updateDLFileEntry(DLFileEntry model)
|
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
public DLFileEntry addDLFileEntry(DLFileEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public 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 DLFileEntry updateDLFileEntry(DLFileEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addFileEntry
public 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
public 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
public 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
public 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
public 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
public 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.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
public 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.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
public 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
public 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
public 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
public 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
deleteFileEntries
public void deleteFileEntries(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFileEntry
public 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
public 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
public void deleteFileEntry(DLFileEntry fileEntry)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileAsStream
public 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
public 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
getFileEntry
public DLFileEntry getFileEntry(long fileEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFileEntry
public 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
getFileEntries
public java.util.List getFileEntries(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
public java.util.List getFileEntries(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntries
public 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 java.util.List getFileEntriesAndShortcuts(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcuts
public java.util.List getFileEntriesAndShortcuts(java.util.List folderIds,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
public int getFileEntriesAndShortcutsCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndShortcutsCount
public int getFileEntriesAndShortcutsCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesCount
public int getFileEntriesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersFileEntriesCount
public int getFoldersFileEntriesCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public java.util.List getGroupFileEntries(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public 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 java.util.List getGroupFileEntries(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntries
public 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 int getGroupFileEntriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetFileEntries
public java.util.List getNoAssetFileEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFileEntry
public 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
public 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
public 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
public 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