Liferay 6.2.0-ce-m1

com.liferay.portlet.documentlibrary.service
Interface DLAppHelperLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
DLAppHelperLocalServiceBaseImpl, DLAppHelperLocalServiceImpl, DLAppHelperLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLAppHelperLocalService
extends BaseLocalService

The interface for the d l app helper local service.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
DLAppHelperLocalServiceUtil, DLAppHelperLocalServiceBaseImpl, DLAppHelperLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext)
           
 void addFolder(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. getFileShortcuts(long, long, boolean, int)
 int getFileShortcutsCount(long groupId, long folderId, boolean active, int status)
           
 int getFileShortcutsCount(long groupId, long folderId, int status)
          Deprecated. getFileShortcutsCount(long, long, boolean, int)
 List<FileEntry> getNoAssetFileEntries()
           
 void moveFileEntry(FileEntry fileEntry)
           
 FileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext)
           
 FileEntry moveFileEntryToTrash(long userId, FileEntry fileEntry)
           
 DLFileShortcut moveFileShortcutFromTrash(long userId, DLFileShortcut dlFileShortcut, long newFolderId, ServiceContext serviceContext)
           
 DLFileShortcut moveFileShortcutToTrash(long userId, DLFileShortcut dlFileShortcut)
           
 void moveFolder(Folder folder)
           
 Folder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext)
           
 Folder moveFolderToTrash(long userId, Folder folder)
           
 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.
 AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk)
           
 AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, 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(Folder folder, ServiceContext serviceContext)
           
 void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int oldStatus, int newStatus, Map<String,Serializable> workflowContext)
           
 void updateStatuses(User user, List<Object> dlFileEntriesAndDLFolders, int status)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntry

void addFileEntry(long userId,
                  FileEntry fileEntry,
                  FileVersion fileVersion,
                  ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

addFolder

void addFolder(Folder folder,
               ServiceContext serviceContext)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

cancelCheckOut

void cancelCheckOut(long userId,
                    FileEntry fileEntry,
                    FileVersion sourceFileVersion,
                    FileVersion destinationFileVersion,
                    FileVersion draftFileVersion,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

checkAssetEntry

void checkAssetEntry(long userId,
                     FileEntry fileEntry,
                     FileVersion fileVersion)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileEntry

void deleteFileEntry(FileEntry fileEntry)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(Folder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFileAsStream

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getFileAsStream(long userId,
                                                              FileEntry fileEntry,
                                                              boolean incrementCounter)
                     throws SystemException
Throws:
SystemException

getFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileShortcut> getFileShortcuts(long groupId,
                                                                               long folderId,
                                                                               boolean active,
                                                                               int status)
                                      throws SystemException
Throws:
SystemException

getFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileShortcut> getFileShortcuts(long groupId,
                                                                               long folderId,
                                                                               int status)
                                      throws SystemException
Deprecated. getFileShortcuts(long, long, boolean, int)

Throws:
SystemException

getFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileShortcutsCount(long groupId,
                                                                   long folderId,
                                                                   boolean active,
                                                                   int status)
                          throws SystemException
Throws:
SystemException

getFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileShortcutsCount(long groupId,
                                                                   long folderId,
                                                                   int status)
                          throws SystemException
Deprecated. getFileShortcutsCount(long, long, boolean, int)

Throws:
SystemException

getNoAssetFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<FileEntry> getNoAssetFileEntries()

moveFileEntry

void moveFileEntry(FileEntry fileEntry)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

moveFileEntryFromTrash

FileEntry moveFileEntryFromTrash(long userId,
                                 FileEntry fileEntry,
                                 long newFolderId,
                                 ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

moveFileEntryToTrash

FileEntry moveFileEntryToTrash(long userId,
                               FileEntry fileEntry)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

moveFileShortcutFromTrash

DLFileShortcut moveFileShortcutFromTrash(long userId,
                                         DLFileShortcut dlFileShortcut,
                                         long newFolderId,
                                         ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

moveFileShortcutToTrash

DLFileShortcut moveFileShortcutToTrash(long userId,
                                       DLFileShortcut dlFileShortcut)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

moveFolder

void moveFolder(Folder folder)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

moveFolderFromTrash

Folder moveFolderFromTrash(long userId,
                           Folder folder,
                           long parentFolderId,
                           ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

moveFolderToTrash

Folder moveFolderToTrash(long userId,
                         Folder folder)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

restoreFileEntryFromTrash

void restoreFileEntryFromTrash(long userId,
                               FileEntry fileEntry)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

restoreFileShortcutFromTrash

void restoreFileShortcutFromTrash(long userId,
                                  DLFileShortcut dlFileShortcut)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

restoreFolderFromTrash

void restoreFolderFromTrash(long userId,
                            Folder folder)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updateAsset

AssetEntry updateAsset(long userId,
                       FileEntry fileEntry,
                       FileVersion fileVersion,
                       long assetClassPk)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateAsset

AssetEntry updateAsset(long userId,
                       FileEntry fileEntry,
                       FileVersion fileVersion,
                       long[] assetCategoryIds,
                       String[] assetTagNames,
                       long[] assetLinkEntryIds)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateFileEntry

void updateFileEntry(long userId,
                     FileEntry fileEntry,
                     FileVersion sourceFileVersion,
                     FileVersion destinationFileVersion,
                     long assetClassPk)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFileEntry

void updateFileEntry(long userId,
                     FileEntry fileEntry,
                     FileVersion sourceFileVersion,
                     FileVersion destinationFileVersion,
                     ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFolder

void updateFolder(Folder folder,
                  ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateStatus

void updateStatus(long userId,
                  FileEntry fileEntry,
                  FileVersion latestFileVersion,
                  int oldStatus,
                  int newStatus,
                  Map<String,Serializable> workflowContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateStatuses

void updateStatuses(User user,
                    List<Object> dlFileEntriesAndDLFolders,
                    int status)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0-ce-m1