Class DLAppHelperLocalServiceWrapper
Object
com.liferay.document.library.kernel.service.DLAppHelperLocalServiceWrapper
- All Implemented Interfaces:
DLAppHelperLocalService
,BaseLocalService
,ServiceWrapper<DLAppHelperLocalService>
public class DLAppHelperLocalServiceWrapper
extends Object
implements DLAppHelperLocalService, ServiceWrapper<DLAppHelperLocalService>
Provides a wrapper for
DLAppHelperLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionDLAppHelperLocalServiceWrapper
(DLAppHelperLocalService dlAppHelperLocalService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFolder
(long userId, Folder folder, ServiceContext serviceContext) void
cancelCheckOut
(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) void
cancelCheckOuts
(long groupId) void
checkAssetEntry
(long userId, FileEntry fileEntry, FileVersion fileVersion) void
deleteFileEntry
(FileEntry fileEntry) void
deleteFolder
(Folder folder) void
deleteRepositoryFileEntries
(long repositoryId) long
getCheckedOutFileEntriesCount
(long groupId) void
getFileAsStream
(long userId, FileEntry fileEntry, boolean incrementCounter) getFileShortcuts
(long groupId, long folderId, boolean active, int status) int
getFileShortcutsCount
(long groupId, long folderId, boolean active, int status) getGroupFileShortcuts
(long groupId) Returns the OSGi service identifier.void
moveDependentsToTrash
(DLFolder dlFolder) moveFileEntryFromTrash
(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) moveFileEntryToTrash
(long userId, FileEntry fileEntry) Moves the file entry to the recycle bin.moveFileShortcutFromTrash
(long userId, FileShortcut fileShortcut, long newFolderId, ServiceContext serviceContext) moveFileShortcutToTrash
(long userId, FileShortcut fileShortcut) Moves the file shortcut to the recycle bin.moveFolderFromTrash
(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) moveFolderToTrash
(long userId, Folder folder) Moves the folder to the recycle bin.void
void
restoreDependentsFromTrash
(DLFolder dlFolder) void
restoreFileEntryFromTrash
(long userId, long newFolderId, FileEntry fileEntry) void
restoreFileEntryFromTrash
(long userId, FileEntry fileEntry) void
restoreFileShortcutFromTrash
(long userId, FileShortcut fileShortcut) void
restoreFolderFromTrash
(long userId, Folder folder) void
setWrappedService
(DLAppHelperLocalService dlAppHelperLocalService) updateAsset
(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPK) updateAsset
(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) 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)
-
Constructor Details
-
DLAppHelperLocalServiceWrapper
public DLAppHelperLocalServiceWrapper() -
DLAppHelperLocalServiceWrapper
-
-
Method Details
-
addFolder
public void addFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException - Specified by:
addFolder
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
cancelCheckOut
public void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
cancelCheckOut
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
cancelCheckOuts
- Specified by:
cancelCheckOuts
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
checkAssetEntry
public void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) throws PortalException - Specified by:
checkAssetEntry
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntry
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolder
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
deleteRepositoryFileEntries
- Specified by:
deleteRepositoryFileEntries
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
getCheckedOutFileEntriesCount
- Specified by:
getCheckedOutFileEntriesCount
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
getFileAsStream
- Specified by:
getFileAsStream
in interfaceDLAppHelperLocalService
-
getFileShortcuts
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status) - Specified by:
getFileShortcuts
in interfaceDLAppHelperLocalService
-
getFileShortcutsCount
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) - Specified by:
getFileShortcutsCount
in interfaceDLAppHelperLocalService
-
getGroupFileShortcuts
- Specified by:
getGroupFileShortcuts
in interfaceDLAppHelperLocalService
-
getNoAssetFileEntries
- Specified by:
getNoAssetFileEntries
in interfaceDLAppHelperLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDLAppHelperLocalService
- Returns:
- the OSGi service identifier
-
moveDependentsToTrash
- Specified by:
moveDependentsToTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
moveFileEntryFromTrash
public FileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFileEntryFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
moveFileEntryToTrash
Moves the file entry to the recycle bin.- Specified by:
moveFileEntryToTrash
in interfaceDLAppHelperLocalService
- Parameters:
userId
- the primary key of the user moving the file entryfileEntry
- the file entry to be moved- Returns:
- the moved file entry
- Throws:
PortalException
-
moveFileShortcutFromTrash
public FileShortcut moveFileShortcutFromTrash(long userId, FileShortcut fileShortcut, long newFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFileShortcutFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
moveFileShortcutToTrash
public FileShortcut moveFileShortcutToTrash(long userId, FileShortcut fileShortcut) throws PortalException Moves the file shortcut to the recycle bin.- Specified by:
moveFileShortcutToTrash
in interfaceDLAppHelperLocalService
- Parameters:
userId
- the primary key of the user moving the file shortcutfileShortcut
- the file shortcut to be moved- Returns:
- the moved file shortcut
- Throws:
PortalException
-
moveFolderFromTrash
public Folder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFolderFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
moveFolderToTrash
Moves the folder to the recycle bin.- Specified by:
moveFolderToTrash
in interfaceDLAppHelperLocalService
- Parameters:
userId
- the primary key of the user moving the folderfolder
- the folder to be moved- Returns:
- the moved folder
- Throws:
PortalException
-
reindex
- Specified by:
reindex
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
restoreDependentsFromTrash
- Specified by:
restoreDependentsFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
restoreFileEntryFromTrash
- Specified by:
restoreFileEntryFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
restoreFileEntryFromTrash
public void restoreFileEntryFromTrash(long userId, long newFolderId, FileEntry fileEntry) throws PortalException - Specified by:
restoreFileEntryFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
restoreFileShortcutFromTrash
public void restoreFileShortcutFromTrash(long userId, FileShortcut fileShortcut) throws PortalException - Specified by:
restoreFileShortcutFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
restoreFolderFromTrash
- Specified by:
restoreFolderFromTrash
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPK) throws PortalException - Specified by:
updateAsset
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
updateAsset
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException - Specified by:
updateAsset
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateFileEntry
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, long assetClassPK) throws PortalException - Specified by:
updateFileEntry
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateFileEntry
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileEntry
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateFolder
public void updateFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolder
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
updateStatus
public void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int oldStatus, int newStatus, ServiceContext serviceContext, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
updateStatus
in interfaceDLAppHelperLocalService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<DLAppHelperLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<DLAppHelperLocalService>
-