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 TypeMethodDescriptionvoidaddFolder(long userId, Folder folder, ServiceContext serviceContext) voidcancelCheckOut(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) voidcancelCheckOuts(long groupId) voidcheckAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) voiddeleteFileEntry(FileEntry fileEntry) voiddeleteFolder(Folder folder) voiddeleteRepositoryFileEntries(long repositoryId) longgetCheckedOutFileEntriesCount(long groupId) voidgetFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter) getFileShortcuts(long groupId, long folderId, boolean active, int status) intgetFileShortcutsCount(long groupId, long folderId, boolean active, int status) getGroupFileShortcuts(long groupId) Returns the OSGi service identifier.voidmoveDependentsToTrash(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.voidvoidrestoreDependentsFromTrash(DLFolder dlFolder) voidrestoreFileEntryFromTrash(long userId, long newFolderId, FileEntry fileEntry) voidrestoreFileEntryFromTrash(long userId, FileEntry fileEntry) voidrestoreFileShortcutFromTrash(long userId, FileShortcut fileShortcut) voidrestoreFolderFromTrash(long userId, Folder folder) voidsetWrappedService(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) voidupdateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, long assetClassPK) voidupdateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, ServiceContext serviceContext) voidupdateFolder(long userId, Folder folder, ServiceContext serviceContext) voidupdateStatus(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:
addFolderin interfaceDLAppHelperLocalService- Throws:
PortalException
-
cancelCheckOut
public void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
cancelCheckOutin interfaceDLAppHelperLocalService- Throws:
PortalException
-
cancelCheckOuts
- Specified by:
cancelCheckOutsin interfaceDLAppHelperLocalService- Throws:
PortalException
-
checkAssetEntry
public void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) throws PortalException - Specified by:
checkAssetEntryin interfaceDLAppHelperLocalService- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntryin interfaceDLAppHelperLocalService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLAppHelperLocalService- Throws:
PortalException
-
deleteRepositoryFileEntries
- Specified by:
deleteRepositoryFileEntriesin interfaceDLAppHelperLocalService- Throws:
PortalException
-
getCheckedOutFileEntriesCount
- Specified by:
getCheckedOutFileEntriesCountin interfaceDLAppHelperLocalService- Throws:
PortalException
-
getFileAsStream
- Specified by:
getFileAsStreamin interfaceDLAppHelperLocalService
-
getFileShortcuts
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status) - Specified by:
getFileShortcutsin interfaceDLAppHelperLocalService
-
getFileShortcutsCount
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) - Specified by:
getFileShortcutsCountin interfaceDLAppHelperLocalService
-
getGroupFileShortcuts
- Specified by:
getGroupFileShortcutsin interfaceDLAppHelperLocalService
-
getNoAssetFileEntries
- Specified by:
getNoAssetFileEntriesin interfaceDLAppHelperLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDLAppHelperLocalService- Returns:
- the OSGi service identifier
-
moveDependentsToTrash
- Specified by:
moveDependentsToTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
moveFileEntryFromTrash
public FileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFileEntryFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
moveFileEntryToTrash
Moves the file entry to the recycle bin.- Specified by:
moveFileEntryToTrashin 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:
moveFileShortcutFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
moveFileShortcutToTrash
public FileShortcut moveFileShortcutToTrash(long userId, FileShortcut fileShortcut) throws PortalException Moves the file shortcut to the recycle bin.- Specified by:
moveFileShortcutToTrashin 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:
moveFolderFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
moveFolderToTrash
Moves the folder to the recycle bin.- Specified by:
moveFolderToTrashin 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:
reindexin interfaceDLAppHelperLocalService- Throws:
PortalException
-
restoreDependentsFromTrash
- Specified by:
restoreDependentsFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
restoreFileEntryFromTrash
- Specified by:
restoreFileEntryFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
restoreFileEntryFromTrash
public void restoreFileEntryFromTrash(long userId, long newFolderId, FileEntry fileEntry) throws PortalException - Specified by:
restoreFileEntryFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
restoreFileShortcutFromTrash
public void restoreFileShortcutFromTrash(long userId, FileShortcut fileShortcut) throws PortalException - Specified by:
restoreFileShortcutFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
restoreFolderFromTrash
- Specified by:
restoreFolderFromTrashin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPK) throws PortalException - Specified by:
updateAssetin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
updateAssetin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateAsset
public AssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException - Specified by:
updateAssetin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateFileEntry
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, long assetClassPK) throws PortalException - Specified by:
updateFileEntryin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateFileEntry
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileEntryin interfaceDLAppHelperLocalService- Throws:
PortalException
-
updateFolder
public void updateFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderin 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:
updateStatusin interfaceDLAppHelperLocalService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<DLAppHelperLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<DLAppHelperLocalService>
-