|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class}) public interface DLFileEntryLocalService
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.
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 extraSettings,
byte[] bytes,
ServiceContext serviceContext)
Deprecated. |
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. |
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. |
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. |
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. |
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)
|
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)
|
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)
|
void |
addFileEntryResources(DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(DLFileEntry fileEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFileEntryResources(long fileEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(long fileEntryId,
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 extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
DLFileEntry |
createDLFileEntry(long fileEntryId)
|
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 |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end)
|
java.util.List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyFileEntriesCount(long companyId)
|
java.util.List<DLFileEntry> |
getDLFileEntries(int start,
int end)
|
int |
getDLFileEntriesCount()
|
DLFileEntry |
getDLFileEntry(long fileEntryId)
|
DLFileEntry |
getDLFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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 start,
int end)
|
java.util.List<DLFileEntry> |
getFileEntries(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 start,
int end)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end)
|
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
java.util.List<DLFileEntry> |
getNoAssetFileEntries()
|
void |
reIndex(long fileEntryId)
|
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry)
|
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry,
boolean merge)
|
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. |
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. |
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)
|
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)
|
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)
|
void |
updateTagsAsset(long userId,
DLFileEntry fileEntry,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
Method Detail |
---|
DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
DLFileEntry createDLFileEntry(long fileEntryId)
void deleteDLFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
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
int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getDLFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getDLFileEntries(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getDLFileEntriesCount() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
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
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
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
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
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
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
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
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
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
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
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
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
void deleteFileEntries(long folderId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteFileEntry(DLFileEntry fileEntry) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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
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
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyFileEntriesCount(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
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
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long folderId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long fileEntryId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersFileEntriesCount(java.util.List<java.lang.Long> folderIds) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getNoAssetFileEntries() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) void reIndex(long fileEntryId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
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
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
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
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
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |