public class LayoutSetServiceHttp
extends java.lang.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| Constructor and Description |
|---|
LayoutSetServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static void |
updateLayoutSetPrototypeLinkEnabled(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
java.lang.String layoutSetPrototypeUuid) |
static void |
updateLogo(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean hasLogo,
byte[] bytes) |
static void |
updateLogo(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.File file) |
static void |
updateLogo(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.InputStream inputStream) |
static void |
updateLogo(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.InputStream inputStream,
boolean cleanUpStream) |
static LayoutSet |
updateLookAndFeel(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css) |
static LayoutSet |
updateSettings(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
java.lang.String settings) |
static LayoutSet |
updateVirtualHost(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
java.lang.String virtualHostname) |
static LayoutSet |
updateVirtualHosts(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames) |
public static void updateLayoutSetPrototypeLinkEnabled(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, java.lang.String layoutSetPrototypeUuid) throws PortalException
PortalExceptionpublic static void updateLogo(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) throws PortalException
PortalExceptionpublic static void updateLogo(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, boolean hasLogo, java.io.File file) throws PortalException
PortalExceptionpublic static void updateLogo(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, boolean hasLogo, java.io.InputStream inputStream) throws PortalException
PortalExceptionpublic static void updateLogo(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, boolean hasLogo, java.io.InputStream inputStream, boolean cleanUpStream) throws PortalException
PortalExceptionpublic static LayoutSet updateLookAndFeel(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css) throws PortalException
PortalExceptionpublic static LayoutSet updateSettings(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.lang.String settings) throws PortalException
PortalExceptionpublic static LayoutSet updateVirtualHost(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.lang.String virtualHostname) throws PortalException
PortalExceptionpublic static LayoutSet updateVirtualHosts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames) throws PortalException
PortalException