|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface DLAppHelperLocalServiceProvides the local service interface for DLAppHelper. 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.
DLAppHelperLocalServiceUtil,
com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl| 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)
|
void |
deleteRepositoryFileEntries(long repositoryId)
|
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()
|
void |
moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
|
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. |
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(List<Object> dlFileEntriesAndDLFolders)
|
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,
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)
|
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)
|
| Method Detail |
|---|
void addFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext)
throws PortalException
PortalException
void addFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalException
void cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalException
void checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
throws PortalException
PortalException
void deleteFileEntry(FileEntry fileEntry)
throws PortalException
PortalException
void deleteFolder(Folder folder)
throws PortalException
PortalException
void deleteRepositoryFileEntries(long repositoryId)
throws PortalException
PortalExceptionString getBeanIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
boolean active,
int status)
@Deprecated
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
int status)
getFileShortcuts(long, long,
boolean, int)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
@Deprecated
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFileShortcutsCount(long groupId,
long folderId,
int status)
getFileShortcutsCount(long,
long, boolean, int)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<FileEntry> getNoAssetFileEntries()
void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException
PortalException
FileEntry moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
FileEntry moveFileEntryToTrash(long userId,
FileEntry fileEntry)
throws PortalException
userId - the primary key of the user moving the file entryfileEntry - the file entry to be moved
PortalException - if a user with the primary key could not be found
DLFileShortcut moveFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
DLFileShortcut moveFileShortcutToTrash(long userId,
DLFileShortcut dlFileShortcut)
throws PortalException
userId - the primary key of the user moving the file shortcutdlFileShortcut - the file shortcut to be moved
PortalException - if a user with the primary key could not be found
Folder moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
Folder moveFolderToTrash(long userId,
Folder folder)
throws PortalException
userId - the primary key of the user moving the folderfolder - the folder to be moved
PortalException - if a user with the primary key could not be found
void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders)
throws PortalException
PortalException
@Deprecated
void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException
restoreDependentsFromTrash(List)
PortalException
void restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
throws PortalException
PortalException
void restoreFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut)
throws PortalException
PortalException
void restoreFolderFromTrash(long userId,
Folder folder)
throws PortalException
PortalExceptionvoid setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
AssetEntry updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
AssetEntry updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk)
throws PortalException
PortalException
AssetEntry updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
void updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk)
throws PortalException
PortalException
void updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalException
void updateFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalException
void updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
PortalException
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||