Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLAppHelperLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLAppHelperLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, ServiceWrapper<DLAppHelperLocalService>, DLAppHelperLocalService

@ProviderType
public class DLAppHelperLocalServiceWrapper
extends Object
implements DLAppHelperLocalService, ServiceWrapper<DLAppHelperLocalService>

Provides a wrapper for DLAppHelperLocalService.

See Also:
DLAppHelperLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DLAppHelperLocalServiceWrapper(DLAppHelperLocalService dlAppHelperLocalService)
           
 
Method Summary
 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)
           
 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)
 List<FileEntry> getNoAssetFileEntries()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 DLAppHelperLocalService getWrappedService()
           
 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)
           
 void setWrappedService(DLAppHelperLocalService dlAppHelperLocalService)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLAppHelperLocalServiceWrapper

public DLAppHelperLocalServiceWrapper(DLAppHelperLocalService dlAppHelperLocalService)
Method Detail

addFolder

public void addFolder(long userId,
                      Folder folder,
                      ServiceContext serviceContext)
               throws PortalException
Specified by:
addFolder in interface DLAppHelperLocalService
Throws:
PortalException

cancelCheckOut

public void cancelCheckOut(long userId,
                           FileEntry fileEntry,
                           FileVersion sourceFileVersion,
                           FileVersion destinationFileVersion,
                           FileVersion draftFileVersion,
                           ServiceContext serviceContext)
                    throws PortalException
Specified by:
cancelCheckOut in interface DLAppHelperLocalService
Throws:
PortalException

checkAssetEntry

public void checkAssetEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion fileVersion)
                     throws PortalException
Specified by:
checkAssetEntry in interface DLAppHelperLocalService
Throws:
PortalException

deleteFileEntry

public void deleteFileEntry(FileEntry fileEntry)
                     throws PortalException
Specified by:
deleteFileEntry in interface DLAppHelperLocalService
Throws:
PortalException

deleteFolder

public void deleteFolder(Folder folder)
                  throws PortalException
Specified by:
deleteFolder in interface DLAppHelperLocalService
Throws:
PortalException

deleteRepositoryFileEntries

public void deleteRepositoryFileEntries(long repositoryId)
                                 throws PortalException
Specified by:
deleteRepositoryFileEntries in interface DLAppHelperLocalService
Throws:
PortalException

getFileAsStream

public void getFileAsStream(long userId,
                            FileEntry fileEntry,
                            boolean incrementCounter)
Specified by:
getFileAsStream in interface DLAppHelperLocalService

getFileShortcuts

public List<DLFileShortcut> getFileShortcuts(long groupId,
                                             long folderId,
                                             boolean active,
                                             int status)
Specified by:
getFileShortcuts in interface DLAppHelperLocalService

getFileShortcuts

@Deprecated
public List<DLFileShortcut> getFileShortcuts(long groupId,
                                                        long folderId,
                                                        int status)
Deprecated. As of 6.2.0, replaced by getFileShortcuts(long, long, boolean, int)

Specified by:
getFileShortcuts in interface DLAppHelperLocalService

getFileShortcutsCount

public int getFileShortcutsCount(long groupId,
                                 long folderId,
                                 boolean active,
                                 int status)
Specified by:
getFileShortcutsCount in interface DLAppHelperLocalService

getFileShortcutsCount

@Deprecated
public int getFileShortcutsCount(long groupId,
                                            long folderId,
                                            int status)
Deprecated. As of 6.2.0, replaced by getFileShortcutsCount(long, long, boolean, int)

Specified by:
getFileShortcutsCount in interface DLAppHelperLocalService

getNoAssetFileEntries

public List<FileEntry> getNoAssetFileEntries()
Specified by:
getNoAssetFileEntries in interface DLAppHelperLocalService

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface DLAppHelperLocalService
Returns:
the OSGi service identifier

moveDependentsToTrash

@Deprecated
public void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
                                             long trashEntryId)
                           throws PortalException
Deprecated. As of 7.0.0, replaced by moveDependentsToTrash(DLFolder)

Specified by:
moveDependentsToTrash in interface DLAppHelperLocalService
Throws:
PortalException

moveDependentsToTrash

public void moveDependentsToTrash(DLFolder dlFolder)
                           throws PortalException
Specified by:
moveDependentsToTrash in interface DLAppHelperLocalService
Throws:
PortalException

moveFileEntryFromTrash

public FileEntry moveFileEntryFromTrash(long userId,
                                        FileEntry fileEntry,
                                        long newFolderId,
                                        ServiceContext serviceContext)
                                 throws PortalException
Specified by:
moveFileEntryFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

moveFileEntryToTrash

public FileEntry moveFileEntryToTrash(long userId,
                                      FileEntry fileEntry)
                               throws PortalException
Moves the file entry to the recycle bin.

Specified by:
moveFileEntryToTrash in interface DLAppHelperLocalService
Parameters:
userId - the primary key of the user moving the file entry
fileEntry - 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 interface DLAppHelperLocalService
Throws:
PortalException

moveFileShortcutToTrash

public FileShortcut moveFileShortcutToTrash(long userId,
                                            FileShortcut fileShortcut)
                                     throws PortalException
Moves the file shortcut to the recycle bin.

Specified by:
moveFileShortcutToTrash in interface DLAppHelperLocalService
Parameters:
userId - the primary key of the user moving the file shortcut
fileShortcut - 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 interface DLAppHelperLocalService
Throws:
PortalException

moveFolderToTrash

public Folder moveFolderToTrash(long userId,
                                Folder folder)
                         throws PortalException
Moves the folder to the recycle bin.

Specified by:
moveFolderToTrash in interface DLAppHelperLocalService
Parameters:
userId - the primary key of the user moving the folder
folder - the folder to be moved
Returns:
the moved folder
Throws:
PortalException

restoreDependentsFromTrash

@Deprecated
public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders)
                                throws PortalException
Deprecated. As of 7.0.0, replaced by restoreDependentsFromTrash(DLFolder)

Specified by:
restoreDependentsFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

restoreDependentsFromTrash

@Deprecated
public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
                                                  long trashEntryId)
                                throws PortalException
Deprecated. As of 7.0.0, replaced by restoreDependentsFromTrash(List)

Specified by:
restoreDependentsFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

restoreDependentsFromTrash

public void restoreDependentsFromTrash(DLFolder dlFolder)
                                throws PortalException
Specified by:
restoreDependentsFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

restoreFileEntryFromTrash

public void restoreFileEntryFromTrash(long userId,
                                      FileEntry fileEntry)
                               throws PortalException
Specified by:
restoreFileEntryFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

restoreFileShortcutFromTrash

public void restoreFileShortcutFromTrash(long userId,
                                         FileShortcut fileShortcut)
                                  throws PortalException
Specified by:
restoreFileShortcutFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

restoreFolderFromTrash

public void restoreFolderFromTrash(long userId,
                                   Folder folder)
                            throws PortalException
Specified by:
restoreFolderFromTrash in interface DLAppHelperLocalService
Throws:
PortalException

updateAsset

public AssetEntry updateAsset(long userId,
                              FileEntry fileEntry,
                              FileVersion fileVersion,
                              long[] assetCategoryIds,
                              String[] assetTagNames,
                              long[] assetLinkEntryIds)
                       throws PortalException
Specified by:
updateAsset in interface DLAppHelperLocalService
Throws:
PortalException

updateAsset

public AssetEntry updateAsset(long userId,
                              FileEntry fileEntry,
                              FileVersion fileVersion,
                              long assetClassPk)
                       throws PortalException
Specified by:
updateAsset in interface DLAppHelperLocalService
Throws:
PortalException

updateAsset

public AssetEntry updateAsset(long userId,
                              Folder folder,
                              long[] assetCategoryIds,
                              String[] assetTagNames,
                              long[] assetLinkEntryIds)
                       throws PortalException
Specified by:
updateAsset in interface DLAppHelperLocalService
Throws:
PortalException

updateFileEntry

public void updateFileEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion sourceFileVersion,
                            FileVersion destinationFileVersion,
                            long assetClassPk)
                     throws PortalException
Specified by:
updateFileEntry in interface DLAppHelperLocalService
Throws:
PortalException

updateFileEntry

public void updateFileEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion sourceFileVersion,
                            FileVersion destinationFileVersion,
                            ServiceContext serviceContext)
                     throws PortalException
Specified by:
updateFileEntry in interface DLAppHelperLocalService
Throws:
PortalException

updateFolder

public void updateFolder(long userId,
                         Folder folder,
                         ServiceContext serviceContext)
                  throws PortalException
Specified by:
updateFolder in interface DLAppHelperLocalService
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 interface DLAppHelperLocalService
Throws:
PortalException

getWrappedService

public DLAppHelperLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DLAppHelperLocalService>

setWrappedService

public void setWrappedService(DLAppHelperLocalService dlAppHelperLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DLAppHelperLocalService>

Liferay 7.0-ce-b4