public class LayoutSetBranchServiceHttp
extends java.lang.Object
LayoutSetBranchServiceUtil 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.
LayoutSetBranchServiceSoap| Constructor and Description |
|---|
LayoutSetBranchServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static LayoutSetBranch |
addLayoutSetBranch(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
java.lang.String name,
java.lang.String description,
boolean master,
long copyLayoutSetBranchId,
ServiceContext serviceContext) |
static void |
deleteLayoutSetBranch(HttpPrincipal httpPrincipal,
long layoutSetBranchId) |
static java.util.List<LayoutSetBranch> |
getLayoutSetBranches(HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout) |
static LayoutSetBranch |
mergeLayoutSetBranch(HttpPrincipal httpPrincipal,
long layoutSetBranchId,
long mergeLayoutSetBranchId,
ServiceContext serviceContext) |
static LayoutSetBranch |
updateLayoutSetBranch(HttpPrincipal httpPrincipal,
long groupId,
long layoutSetBranchId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
public static LayoutSetBranch addLayoutSetBranch(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.lang.String name, java.lang.String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteLayoutSetBranch(HttpPrincipal httpPrincipal, long layoutSetBranchId) throws PortalException
PortalExceptionpublic static java.util.List<LayoutSetBranch> getLayoutSetBranches(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
public static LayoutSetBranch mergeLayoutSetBranch(HttpPrincipal httpPrincipal, long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static LayoutSetBranch updateLayoutSetBranch(HttpPrincipal httpPrincipal, long groupId, long layoutSetBranchId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalException