com.liferay.portal.service.http
Class LayoutSetServiceHttp
java.lang.Object
com.liferay.portal.service.http.LayoutSetServiceHttp
@ProviderType
public class LayoutSetServiceHttp
- extends Object
Provides the HTTP utility for the
LayoutSetServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to
configure security.
The HTTP utility is only generated for remote services.
- See Also:
LayoutSetServiceSoap,
HttpPrincipal,
LayoutSetServiceUtil- {$generated.description}
|
Method Summary |
static void |
updateLayoutSetPrototypeLinkEnabled(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
String layoutSetPrototypeUuid)
|
static void |
updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes)
|
static void |
updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
File file)
|
static void |
updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream)
|
static void |
updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream)
|
static com.liferay.portal.kernel.model.LayoutSet |
updateLookAndFeel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css)
|
static com.liferay.portal.kernel.model.LayoutSet |
updateSettings(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String settings)
|
static com.liferay.portal.kernel.model.LayoutSet |
updateVirtualHost(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String virtualHost)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutSetServiceHttp
public LayoutSetServiceHttp()
updateLayoutSetPrototypeLinkEnabled
public static void updateLayoutSetPrototypeLinkEnabled(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
String layoutSetPrototypeUuid)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public static void updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public static void updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
File file)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public static void updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public static void updateLogo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLookAndFeel
public static com.liferay.portal.kernel.model.LayoutSet updateLookAndFeel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateSettings
public static com.liferay.portal.kernel.model.LayoutSet updateSettings(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String settings)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateVirtualHost
public static com.liferay.portal.kernel.model.LayoutSet updateVirtualHost(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String virtualHost)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException