com.liferay.portal.service.http
Class LayoutServiceSoap
java.lang.Object
com.liferay.portal.service.http.LayoutServiceSoap
public class LayoutServiceSoap
- extends Object
This class provides a SOAP utility for the
LayoutServiceUtil
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 LayoutSoap
.
If the method in the service utility returns a
Layout
, that is translated to a
LayoutSoap
. 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:
LayoutServiceHttp
,
LayoutSoap
,
LayoutServiceUtil
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static LayoutSoap |
addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
static void |
deleteLayout(long plid)
|
static void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
static String |
getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
String languageId)
|
static LayoutReference[] |
getLayoutReferences(long companyId,
String portletId,
String preferencesKey,
String preferencesValue)
|
static void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
static void |
unschedulePublishToLive(long groupId,
String jobName,
String groupName)
|
static void |
unschedulePublishToRemote(long groupId,
String jobName,
String groupName)
|
static LayoutSoap |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
String typeSettings)
|
static LayoutSoap |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
|
static LayoutSoap |
updateName(long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId)
|
static LayoutSoap |
updateName(long plid,
String name,
String languageId)
|
static LayoutSoap |
updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
static LayoutSoap |
updateParentLayoutId(long plid,
long parentPlid)
|
static LayoutSoap |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
static LayoutSoap |
updatePriority(long plid,
int priority)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutServiceSoap
public LayoutServiceSoap()
addLayout
public static LayoutSoap addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
deleteLayout
public static void deleteLayout(long plid)
throws RemoteException
- Throws:
RemoteException
deleteLayout
public static void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws RemoteException
- Throws:
RemoteException
getLayoutName
public static String getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
String languageId)
throws RemoteException
- Throws:
RemoteException
getLayoutReferences
public static LayoutReference[] getLayoutReferences(long companyId,
String portletId,
String preferencesKey,
String preferencesValue)
throws RemoteException
- Throws:
RemoteException
setLayouts
public static void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws RemoteException
- Throws:
RemoteException
unschedulePublishToLive
public static void unschedulePublishToLive(long groupId,
String jobName,
String groupName)
throws RemoteException
- Throws:
RemoteException
unschedulePublishToRemote
public static void unschedulePublishToRemote(long groupId,
String jobName,
String groupName)
throws RemoteException
- Throws:
RemoteException
updateLayout
public static LayoutSoap updateLayout(long groupId,
boolean privateLayout,
long layoutId,
String typeSettings)
throws RemoteException
- Throws:
RemoteException
updateLookAndFeel
public static LayoutSoap updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
throws RemoteException
- Throws:
RemoteException
updateName
public static LayoutSoap updateName(long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId)
throws RemoteException
- Throws:
RemoteException
updateName
public static LayoutSoap updateName(long plid,
String name,
String languageId)
throws RemoteException
- Throws:
RemoteException
updateParentLayoutId
public static LayoutSoap updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws RemoteException
- Throws:
RemoteException
updateParentLayoutId
public static LayoutSoap updateParentLayoutId(long plid,
long parentPlid)
throws RemoteException
- Throws:
RemoteException
updatePriority
public static LayoutSoap updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws RemoteException
- Throws:
RemoteException
updatePriority
public static LayoutSoap updatePriority(long plid,
int priority)
throws RemoteException
- Throws:
RemoteException