@ProviderType
public class BlogsEntryServiceSoap
extends Object
BlogsEntryServiceUtil
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 BlogsEntrySoap
.
If the method in the service utility returns a
BlogsEntry
, that is translated to a
BlogsEntrySoap
. 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.
BlogsEntryServiceHttp
,
BlogsEntrySoap
,
BlogsEntryServiceUtil
Constructor and Description |
---|
BlogsEntryServiceSoap() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.blogs.kernel.model.BlogsEntrySoap |
addEntry(String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteEntry(long entryId) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int max) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getEntriesPrevAndNext(long entryId) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap |
getEntry(long entryId) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap |
getEntry(long groupId,
String urlTitle) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupEntries(long groupId,
Date displayDate,
int status,
int max) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupEntries(long groupId,
int status,
int max) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupEntries(long groupId,
int status,
int start,
int end) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static int |
getGroupEntriesCount(long groupId,
Date displayDate,
int status) |
static int |
getGroupEntriesCount(long groupId,
int status) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int max) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupUserEntries(long groupId,
long userId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) |
static int |
getGroupUserEntriesCount(long groupId,
long userId,
int status) |
static int |
getGroupUserEntriesCount(long groupId,
long userId,
int[] statuses) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap[] |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int max) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap |
moveEntryToTrash(long entryId) |
static void |
restoreEntryFromTrash(long entryId) |
static void |
subscribe(long groupId) |
static void |
unsubscribe(long groupId) |
static com.liferay.blogs.kernel.model.BlogsEntrySoap |
updateEntry(long entryId,
String title,
String subtitle,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
String coverImageCaption,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.blogs.kernel.model.BlogsEntrySoap addEntry(String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
public static void deleteEntry(long entryId) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getCompanyEntries(long companyId, Date displayDate, int status, int max) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getEntriesPrevAndNext(long entryId) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap getEntry(long entryId) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap getEntry(long groupId, String urlTitle) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupEntries(long groupId, Date displayDate, int status, int max) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupEntries(long groupId, Date displayDate, int status, int start, int end) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupEntries(long groupId, int status, int max) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupEntries(long groupId, int status, int start, int end) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupEntries(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) throws RemoteException
RemoteException
public static int getGroupEntriesCount(long groupId, Date displayDate, int status) throws RemoteException
RemoteException
public static int getGroupEntriesCount(long groupId, int status) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupUserEntries(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getGroupUserEntries(long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> obc) throws RemoteException
RemoteException
public static int getGroupUserEntriesCount(long groupId, long userId, int status) throws RemoteException
RemoteException
public static int getGroupUserEntriesCount(long groupId, long userId, int[] statuses) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap[] getOrganizationEntries(long organizationId, Date displayDate, int status, int max) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap moveEntryToTrash(long entryId) throws RemoteException
RemoteException
public static void restoreEntryFromTrash(long entryId) throws RemoteException
RemoteException
public static void subscribe(long groupId) throws RemoteException
RemoteException
public static void unsubscribe(long groupId) throws RemoteException
RemoteException
public static com.liferay.blogs.kernel.model.BlogsEntrySoap updateEntry(long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException