@ProviderType
public class BookmarksEntryServiceSoap
extends java.lang.Object
BookmarksEntryServiceUtil 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.
ServiceBuilder follows certain rules in translating the methods. For example,
if the method in the service utility returns a List, that
is translated to an array of BookmarksEntrySoap.
If the method in the service utility returns a
BookmarksEntry, that is translated to a
BookmarksEntrySoap. Methods that SOAP cannot
safely wire are skipped.
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.
BookmarksEntryServiceHttp,
BookmarksEntrySoap,
BookmarksEntryServiceUtil| Constructor and Description |
|---|
BookmarksEntryServiceSoap() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
addEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteEntry(long entryId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] |
getEntries(long groupId,
long folderId,
int start,
int end) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] |
getEntries(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
static int |
getEntriesCount(long groupId,
long folderId) |
static int |
getEntriesCount(long groupId,
long folderId,
int status) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
getEntry(long entryId) |
static int |
getFoldersEntriesCount(long groupId,
java.lang.Long[] folderIds) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] |
getGroupEntries(long groupId,
int start,
int end) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] |
getGroupEntries(long groupId,
long userId,
int start,
int end) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] |
getGroupEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end) |
static int |
getGroupEntriesCount(long groupId) |
static int |
getGroupEntriesCount(long groupId,
long userId) |
static int |
getGroupEntriesCount(long groupId,
long userId,
long rootFolderId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
moveEntry(long entryId,
long parentFolderId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
moveEntryFromTrash(long entryId,
long parentFolderId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
moveEntryToTrash(long entryId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
openEntry(com.liferay.portlet.bookmarks.model.BookmarksEntrySoap entry) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
openEntry(long entryId) |
static void |
restoreEntryFromTrash(long entryId) |
static void |
subscribeEntry(long entryId) |
static void |
unsubscribeEntry(long entryId) |
static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap |
updateEntry(long entryId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext) |
public static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap addEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deleteEntry(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] getEntries(long groupId,
long folderId,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] getEntries(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getEntriesCount(long groupId,
long folderId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getEntriesCount(long groupId,
long folderId,
int status)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap getEntry(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getFoldersEntriesCount(long groupId,
java.lang.Long[] folderIds)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] getGroupEntries(long groupId,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] getGroupEntries(long groupId,
long userId,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap[] getGroupEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getGroupEntriesCount(long groupId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getGroupEntriesCount(long groupId,
long userId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getGroupEntriesCount(long groupId,
long userId,
long rootFolderId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap moveEntry(long entryId,
long parentFolderId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap moveEntryFromTrash(long entryId,
long parentFolderId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap moveEntryToTrash(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap openEntry(com.liferay.portlet.bookmarks.model.BookmarksEntrySoap entry)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap openEntry(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void restoreEntryFromTrash(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void subscribeEntry(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void unsubscribeEntry(long entryId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.bookmarks.model.BookmarksEntrySoap updateEntry(long entryId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteException