Liferay 6.2-ce-ga5

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

Constructor Summary
DLAppHelperLocalServiceWrapper(DLAppHelperLocalService dlAppHelperLocalService)
           
 
Method Summary
 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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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()
           
 DLAppHelperLocalService getWrappedDLAppHelperLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DLAppHelperLocalService getWrappedService()
           
 void moveDependentsToTrash(List<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(String event, FileEntry fileEntry)
           
 void registerDLSyncEventCallback(String event, Folder folder)
           
 void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders, long trashEntryId)
           
 void restoreFileEntryFromTrash(long userId, FileEntry fileEntry)
           
 void restoreFileShortcutFromTrash(long userId, DLFileShortcut dlFileShortcut)
           
 void restoreFolderFromTrash(long userId, Folder folder)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService)
 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, Map<String,Serializable> workflowContext, ServiceContext serviceContext)
           
 
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

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DLAppHelperLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DLAppHelperLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntry

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

addFolder

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

cancelCheckOut

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

checkAssetEntry

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

deleteFileEntry

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

deleteFolder

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

getFileAsStream

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

getFileShortcuts

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

getFileShortcuts

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

Specified by:
getFileShortcuts in interface DLAppHelperLocalService
Throws:
SystemException

getFileShortcutsCount

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

getFileShortcutsCount

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

Specified by:
getFileShortcutsCount in interface DLAppHelperLocalService
Throws:
SystemException

getNoAssetFileEntries

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

moveDependentsToTrash

public void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
                                  long trashEntryId)
                           throws PortalException,
                                  SystemException
Specified by:
moveDependentsToTrash in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

moveFileEntry

public void moveFileEntry(FileEntry fileEntry)
                   throws PortalException,
                          SystemException
Specified by:
moveFileEntry in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

moveFileEntryFromTrash

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

moveFileEntryToTrash

public FileEntry moveFileEntryToTrash(long userId,
                                      FileEntry fileEntry)
                               throws PortalException,
                                      SystemException
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 - if a user with the primary key could not be found
SystemException - if a system exception occurred

moveFileShortcutFromTrash

public DLFileShortcut moveFileShortcutFromTrash(long userId,
                                                DLFileShortcut dlFileShortcut,
                                                long newFolderId,
                                                ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Specified by:
moveFileShortcutFromTrash in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

moveFileShortcutToTrash

public DLFileShortcut moveFileShortcutToTrash(long userId,
                                              DLFileShortcut dlFileShortcut)
                                       throws PortalException,
                                              SystemException
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
dlFileShortcut - the file shortcut to be moved
Returns:
the moved file shortcut
Throws:
PortalException - if a user with the primary key could not be found
SystemException - if a system exception occurred

moveFolder

public void moveFolder(Folder folder)
                throws SystemException
Specified by:
moveFolder in interface DLAppHelperLocalService
Throws:
SystemException

moveFolderFromTrash

public Folder moveFolderFromTrash(long userId,
                                  Folder folder,
                                  long parentFolderId,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Specified by:
moveFolderFromTrash in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

moveFolderToTrash

public Folder moveFolderToTrash(long userId,
                                Folder folder)
                         throws PortalException,
                                SystemException
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 - if a user with the primary key could not be found
SystemException - if a system exception occurred

registerDLSyncEventCallback

public void registerDLSyncEventCallback(String event,
                                        FileEntry fileEntry)
                                 throws PortalException,
                                        SystemException
Specified by:
registerDLSyncEventCallback in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

registerDLSyncEventCallback

public void registerDLSyncEventCallback(String event,
                                        Folder folder)
                                 throws SystemException
Specified by:
registerDLSyncEventCallback in interface DLAppHelperLocalService
Throws:
SystemException

restoreDependentsFromTrash

public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
                                       long trashEntryId)
                                throws PortalException,
                                       SystemException
Specified by:
restoreDependentsFromTrash in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

restoreFileEntryFromTrash

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

restoreFileShortcutFromTrash

public void restoreFileShortcutFromTrash(long userId,
                                         DLFileShortcut dlFileShortcut)
                                  throws PortalException,
                                         SystemException
Specified by:
restoreFileShortcutFromTrash in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

restoreFolderFromTrash

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

updateAsset

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

updateAsset

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

updateAsset

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

updateFileEntry

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

updateFileEntry

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

updateFolder

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

updateStatus

public void updateStatus(long userId,
                         FileEntry fileEntry,
                         FileVersion latestFileVersion,
                         int oldStatus,
                         int newStatus,
                         Map<String,Serializable> workflowContext,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Specified by:
updateStatus in interface DLAppHelperLocalService
Throws:
PortalException
SystemException

getWrappedDLAppHelperLocalService

public DLAppHelperLocalService getWrappedDLAppHelperLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDLAppHelperLocalService

public void setWrappedDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService)


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 6.2-ce-ga5