Class LayoutBranchServiceUtil
Object
com.liferay.portal.kernel.service.LayoutBranchServiceUtil
Provides the remote service utility for LayoutBranch. This utility wraps
com.liferay.portal.service.impl.LayoutBranchServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutBranch
addLayoutBranch
(long layoutRevisionId, String name, String description, boolean master, ServiceContext serviceContext) static void
deleteLayoutBranch
(long layoutBranchId) static String
Returns the OSGi service identifier.static LayoutBranchService
static void
setService
(LayoutBranchService service) static LayoutBranch
updateLayoutBranch
(long layoutBranchId, String name, String description, ServiceContext serviceContext)
-
Constructor Details
-
LayoutBranchServiceUtil
public LayoutBranchServiceUtil()
-
-
Method Details
-
addLayoutBranch
public static LayoutBranch addLayoutBranch(long layoutRevisionId, String name, String description, boolean master, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteLayoutBranch
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateLayoutBranch
public static LayoutBranch updateLayoutBranch(long layoutBranchId, String name, String description, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
getService
-
setService
-