com.liferay.portlet.journal.service.http
Class JournalArticleServiceSoap
java.lang.Object
com.liferay.portlet.journal.service.http.JournalArticleServiceSoap
public class JournalArticleServiceSoap
- extends Object
This class provides a SOAP utility for the
JournalArticleServiceUtil
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 JournalArticleSoap
.
If the method in the service utility returns a
JournalArticle
, that is translated to a
JournalArticleSoap
. 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/tunnel-web/secure/axis. Set the property
tunnel.servlet.hosts.allowed in portal.properties to configure
security.
The SOAP utility is only generated for remote services.
- See Also:
JournalArticleServiceHttp
,
JournalArticleSoap
,
JournalArticleServiceUtil
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static JournalArticleSoap |
addArticle(long groupId,
String articleId,
boolean autoArticleId,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticleSoap |
copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
|
static void |
deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
static void |
deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticleSoap |
expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticleSoap |
getArticle(long groupId,
String articleId)
|
static JournalArticleSoap |
getArticle(long groupId,
String articleId,
double version)
|
static JournalArticleSoap |
getArticleByUrlTitle(long groupId,
String urlTitle)
|
static JournalArticleSoap |
getLatestArticle(long groupId,
String articleId,
int status)
|
static void |
removeArticleLocale(long companyId,
String languageId)
|
static JournalArticleSoap |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
static JournalArticleSoap |
updateArticle(long groupId,
String articleId,
double version,
String content)
|
static JournalArticleSoap |
updateContent(long groupId,
String articleId,
double version,
String content)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticleServiceSoap
public JournalArticleServiceSoap()
addArticle
public static JournalArticleSoap addArticle(long groupId,
String articleId,
boolean autoArticleId,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
String articleURL,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
copyArticle
public static JournalArticleSoap copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws RemoteException
- Throws:
RemoteException
deleteArticle
public static void deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
deleteArticle
public static void deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
expireArticle
public static JournalArticleSoap expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
getArticle
public static JournalArticleSoap getArticle(long groupId,
String articleId)
throws RemoteException
- Throws:
RemoteException
getArticle
public static JournalArticleSoap getArticle(long groupId,
String articleId,
double version)
throws RemoteException
- Throws:
RemoteException
getArticleByUrlTitle
public static JournalArticleSoap getArticleByUrlTitle(long groupId,
String urlTitle)
throws RemoteException
- Throws:
RemoteException
getLatestArticle
public static JournalArticleSoap getLatestArticle(long groupId,
String articleId,
int status)
throws RemoteException
- Throws:
RemoteException
removeArticleLocale
public static void removeArticleLocale(long companyId,
String languageId)
throws RemoteException
- Throws:
RemoteException
removeArticleLocale
public static JournalArticleSoap removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws RemoteException
- Throws:
RemoteException
updateArticle
public static JournalArticleSoap updateArticle(long groupId,
String articleId,
double version,
String content)
throws RemoteException
- Throws:
RemoteException
updateContent
public static JournalArticleSoap updateContent(long groupId,
String articleId,
double version,
String content)
throws RemoteException
- Throws:
RemoteException