|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.DLTrashServiceWrapper
@ProviderType public class DLTrashServiceWrapper
Provides a wrapper for DLTrashService.
DLTrashService| Constructor Summary | |
|---|---|
DLTrashServiceWrapper(DLTrashService dlTrashService)
|
|
| Method Summary | |
|---|---|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
DLTrashService |
getWrappedService()
|
FileEntry |
moveFileEntryFromTrash(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
Moves the file entry from a trashed folder to the new folder. |
FileEntry |
moveFileEntryToTrash(long fileEntryId)
Moves the file entry with the primary key to the trash portlet. |
FileShortcut |
moveFileShortcutFromTrash(long fileShortcutId,
long newFolderId,
ServiceContext serviceContext)
Moves the file shortcut from a trashed folder to the new folder. |
FileShortcut |
moveFileShortcutToTrash(long fileShortcutId)
Moves the file shortcut with the primary key to the trash portlet. |
Folder |
moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext)
Moves the folder with the primary key from the trash portlet to the new parent folder with the primary key. |
Folder |
moveFolderToTrash(long folderId)
Moves the folder with the primary key to the trash portlet. |
void |
restoreFileEntryFromTrash(long fileEntryId)
Restores the file entry with the primary key from the trash portlet. |
void |
restoreFileShortcutFromTrash(long fileShortcutId)
Restores the file shortcut with the primary key from the trash portlet. |
void |
restoreFolderFromTrash(long folderId)
Restores the folder with the primary key from the trash portlet. |
void |
setWrappedService(DLTrashService dlTrashService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLTrashServiceWrapper(DLTrashService dlTrashService)
| Method Detail |
|---|
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLTrashService
public FileEntry moveFileEntryFromTrash(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
moveFileEntryFromTrash in interface DLTrashServicefileEntryId - the primary key of the file entrynewFolderId - the primary key of the new folderserviceContext - the service context to be applied
PortalException
public FileEntry moveFileEntryToTrash(long fileEntryId)
throws PortalException
moveFileEntryToTrash in interface DLTrashServicefileEntryId - the primary key of the file entry
PortalException
public FileShortcut moveFileShortcutFromTrash(long fileShortcutId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
moveFileShortcutFromTrash in interface DLTrashServicefileShortcutId - the primary key of the file shortcutnewFolderId - the primary key of the new folderserviceContext - the service context to be applied
PortalException
public FileShortcut moveFileShortcutToTrash(long fileShortcutId)
throws PortalException
moveFileShortcutToTrash in interface DLTrashServicefileShortcutId - the primary key of the file shortcut
PortalException
public Folder moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
moveFolderFromTrash in interface DLTrashServicefolderId - the primary key of the folderparentFolderId - the primary key of the new parent folderserviceContext - the service context to be applied
PortalException
public Folder moveFolderToTrash(long folderId)
throws PortalException
moveFolderToTrash in interface DLTrashServicefolderId - the primary key of the folder
PortalException
public void restoreFileEntryFromTrash(long fileEntryId)
throws PortalException
restoreFileEntryFromTrash in interface DLTrashServicefileEntryId - the primary key of the file entry
PortalException
public void restoreFileShortcutFromTrash(long fileShortcutId)
throws PortalException
restoreFileShortcutFromTrash in interface DLTrashServicefileShortcutId - the primary key of the file shortcut
PortalException
public void restoreFolderFromTrash(long folderId)
throws PortalException
restoreFolderFromTrash in interface DLTrashServicefolderId - the primary key of the folder
PortalExceptionpublic DLTrashService getWrappedService()
getWrappedService in interface ServiceWrapper<DLTrashService>public void setWrappedService(DLTrashService dlTrashService)
setWrappedService in interface ServiceWrapper<DLTrashService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||