@ProviderType
public class LayoutSetServiceHttp
extends Object
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.
LayoutSetServiceSoap
,
HttpPrincipal
,
LayoutSetServiceUtil
Constructor and Description |
---|
LayoutSetServiceHttp() |
Modifier and Type | Method and Description |
---|---|
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) |
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException