@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 |
addFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext) |
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) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
void |
getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter) |
java.util.List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status) |
java.util.List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
int status)
Deprecated.
As of 6.2.0, replaced by
getFileShortcuts(long, long,
boolean, int) |
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status) |
int |
getFileShortcutsCount(long groupId,
long folderId,
int status)
Deprecated.
As of 6.2.0, replaced by
getFileShortcutsCount(long,
long, boolean, int) |
java.util.List<FileEntry> |
getNoAssetFileEntries() |
void |
moveDependentsToTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId) |
void |
moveFileEntry(FileEntry fileEntry) |
FileEntry |
moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext) |
FileEntry |
moveFileEntryToTrash(long userId,
FileEntry fileEntry)
Moves the file entry to the recycle bin.
|
DLFileShortcut |
moveFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut,
long newFolderId,
ServiceContext serviceContext) |
DLFileShortcut |
moveFileShortcutToTrash(long userId,
DLFileShortcut dlFileShortcut)
Moves the file shortcut to the recycle bin.
|
void |
moveFolder(Folder folder) |
Folder |
moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext) |
Folder |
moveFolderToTrash(long userId,
Folder folder)
Moves the folder to the recycle bin.
|
void |
registerDLSyncEventCallback(java.lang.String event,
FileEntry fileEntry) |
void |
registerDLSyncEventCallback(java.lang.String event,
Folder folder) |
void |
restoreDependentsFromTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId) |
void |
restoreFileEntryFromTrash(long userId,
FileEntry fileEntry) |
void |
restoreFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut) |
void |
restoreFolderFromTrash(long userId,
Folder folder) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk) |
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
AssetEntry |
updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
java.lang.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,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
ServiceContext serviceContext) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanvoid addFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteFolder(Folder folder) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, int status) throws SystemException
getFileShortcuts(long, long,
boolean, int)SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getFileShortcutsCount(long groupId, long folderId, int status) throws SystemException
getFileShortcutsCount(long,
long, boolean, int)SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<FileEntry> getNoAssetFileEntries()
void moveDependentsToTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid moveFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry moveFileEntryToTrash(long userId, FileEntry fileEntry) throws PortalException, SystemException
userId - the primary key of the user moving the file entryfileEntry - the file entry to be movedPortalException - if a user with the primary key could not be foundSystemException - if a system exception occurredDLFileShortcut moveFileShortcutFromTrash(long userId, DLFileShortcut dlFileShortcut, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileShortcut moveFileShortcutToTrash(long userId, DLFileShortcut dlFileShortcut) throws PortalException, SystemException
userId - the primary key of the user moving the file shortcutdlFileShortcut - the file shortcut to be movedPortalException - if a user with the primary key could not be foundSystemException - if a system exception occurredvoid moveFolder(Folder folder) throws SystemException
SystemExceptionFolder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder moveFolderToTrash(long userId, Folder folder) throws PortalException, SystemException
userId - the primary key of the user moving the folderfolder - the folder to be movedPortalException - if a user with the primary key could not be foundSystemException - if a system exception occurredvoid registerDLSyncEventCallback(java.lang.String event,
FileEntry fileEntry)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid registerDLSyncEventCallback(java.lang.String event,
Folder folder)
throws SystemException
SystemExceptionvoid restoreDependentsFromTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid restoreFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid restoreFolderFromTrash(long userId,
Folder folder)
throws PortalException,
SystemException
PortalExceptionSystemExceptionAssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk) throws PortalException, SystemException
PortalExceptionSystemExceptionAssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalExceptionSystemExceptionAssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid updateFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemException