|
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.http.DLTrashServiceSoap
@ProviderType public class DLTrashServiceSoap
Provides the SOAP utility for the
DLTrashServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it is difficult for SOAP to
support certain types.
The benefits of using the SOAP utility is that it is cross platform compatible. SOAP allows different languages like Java, .NET, C++, PHP, and even Perl, to call the generated services. One drawback of SOAP is that it is slow because it needs to serialize all calls into a text format (XML).
You can see a list of services at http://localhost:8080/api/axis. Set the property axis.servlet.hosts.allowed in portal.properties to configure security.
The SOAP utility is only generated for remote services.
DLTrashServiceHttp,
DLTrashServiceUtil| Constructor Summary | |
|---|---|
DLTrashServiceSoap()
|
|
| Method Summary | |
|---|---|
static FileEntrySoap |
moveFileEntryFromTrash(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
Moves the file entry from a trashed folder to the new folder. |
static FileEntrySoap |
moveFileEntryToTrash(long fileEntryId)
Moves the file entry with the primary key to the trash portlet. |
static FolderSoap |
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. |
static FolderSoap |
moveFolderToTrash(long folderId)
Moves the folder with the primary key to the trash portlet. |
static void |
restoreFileEntryFromTrash(long fileEntryId)
Restores the file entry with the primary key from the trash portlet. |
static void |
restoreFileShortcutFromTrash(long fileShortcutId)
Restores the file shortcut with the primary key from the trash portlet. |
static void |
restoreFolderFromTrash(long folderId)
Restores the folder with the primary key from the trash portlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLTrashServiceSoap()
| Method Detail |
|---|
public static FileEntrySoap moveFileEntryFromTrash(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws RemoteException
fileEntryId - the primary key of the file entrynewFolderId - the primary key of the new folderserviceContext - the service context to be applied
RemoteException
public static FileEntrySoap moveFileEntryToTrash(long fileEntryId)
throws RemoteException
fileEntryId - the primary key of the file entry
RemoteException
public static FolderSoap moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws RemoteException
folderId - the primary key of the folderparentFolderId - the primary key of the new parent folderserviceContext - the service context to be applied
RemoteException
public static FolderSoap moveFolderToTrash(long folderId)
throws RemoteException
folderId - the primary key of the folder
RemoteException
public static void restoreFileEntryFromTrash(long fileEntryId)
throws RemoteException
fileEntryId - the primary key of the file entry
RemoteException
public static void restoreFileShortcutFromTrash(long fileShortcutId)
throws RemoteException
fileShortcutId - the primary key of the file shortcut
RemoteException
public static void restoreFolderFromTrash(long folderId)
throws RemoteException
folderId - the primary key of the folder
RemoteException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||