@ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLAppHelperLocalService extends BaseLocalService
DLAppHelperLocalServiceUtil,
com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl| Modifier and Type | Method and Description |
|---|---|
void |
addFolder(long userId,
Folder folder,
ServiceContext serviceContext) |
void |
cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext) |
void |
checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion) |
void |
deleteFileEntry(FileEntry fileEntry) |
void |
deleteFolder(Folder folder) |
void |
deleteRepositoryFileEntries(long repositoryId) |
void |
getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter) |
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status) |
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status) |
List<FileEntry> |
getNoAssetFileEntries() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
moveDependentsToTrash(DLFolder dlFolder) |
void |
moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
Deprecated.
As of 7.0.0, replaced by
moveDependentsToTrash(DLFolder) |
FileEntry |
moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext) |
FileEntry |
moveFileEntryToTrash(long userId,
FileEntry fileEntry)
Moves the file entry to the recycle bin.
|
FileShortcut |
moveFileShortcutFromTrash(long userId,
FileShortcut fileShortcut,
long newFolderId,
ServiceContext serviceContext) |
FileShortcut |
moveFileShortcutToTrash(long userId,
FileShortcut fileShortcut)
Moves the file shortcut to the recycle bin.
|
Folder |
moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext) |
Folder |
moveFolderToTrash(long userId,
Folder folder)
Moves the folder to the recycle bin.
|
void |
restoreDependentsFromTrash(DLFolder dlFolder) |
void |
restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders)
Deprecated.
As of 7.0.0, replaced by
restoreDependentsFromTrash(DLFolder) |
void |
restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
Deprecated.
As of 7.0.0, replaced by
restoreDependentsFromTrash(List) |
void |
restoreFileEntryFromTrash(long userId,
FileEntry fileEntry) |
void |
restoreFileShortcutFromTrash(long userId,
FileShortcut fileShortcut) |
void |
restoreFolderFromTrash(long userId,
Folder folder) |
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk) |
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds) |
AssetEntry |
updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds) |
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk) |
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext) |
void |
updateFolder(long userId,
Folder folder,
ServiceContext serviceContext) |
void |
updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext) |
AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk) throws PortalException
PortalExceptionAssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException
PortalExceptionAssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException
PortalExceptionFileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalExceptionFileEntry moveFileEntryToTrash(long userId, FileEntry fileEntry) throws PortalException
userId - the primary key of the user moving the file entryfileEntry - the file entry to be movedPortalExceptionFileShortcut moveFileShortcutFromTrash(long userId, FileShortcut fileShortcut, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalExceptionFileShortcut moveFileShortcutToTrash(long userId, FileShortcut fileShortcut) throws PortalException
userId - the primary key of the user moving the file shortcutfileShortcut - the file shortcut to be movedPortalExceptionFolder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException
PortalExceptionFolder moveFolderToTrash(long userId, Folder folder) throws PortalException
userId - the primary key of the user moving the folderfolder - the folder to be movedPortalException@Transactional(propagation=SUPPORTS, readOnly=true) int getFileShortcutsCount(long groupId, long folderId, boolean active, int status)
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) List<FileEntry> getNoAssetFileEntries()
void addFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalExceptionvoid cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalExceptionvoid checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
throws PortalException
PortalExceptionvoid deleteFileEntry(FileEntry fileEntry) throws PortalException
PortalExceptionvoid deleteFolder(Folder folder) throws PortalException
PortalExceptionvoid deleteRepositoryFileEntries(long repositoryId)
throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter)
void moveDependentsToTrash(DLFolder dlFolder) throws PortalException
PortalException@Deprecated void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders, long trashEntryId) throws PortalException
moveDependentsToTrash(DLFolder)PortalExceptionvoid restoreDependentsFromTrash(DLFolder dlFolder) throws PortalException
PortalException@Deprecated void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders) throws PortalException
restoreDependentsFromTrash(DLFolder)PortalException@Deprecated void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders, long trashEntryId) throws PortalException
restoreDependentsFromTrash(List)PortalExceptionvoid restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
throws PortalException
PortalExceptionvoid restoreFileShortcutFromTrash(long userId,
FileShortcut fileShortcut)
throws PortalException
PortalExceptionvoid restoreFolderFromTrash(long userId,
Folder folder)
throws PortalException
PortalExceptionvoid updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalExceptionvoid updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk)
throws PortalException
PortalExceptionvoid updateFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalExceptionvoid updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
PortalException