Class LayoutSetBranchServiceUtil
Object
com.liferay.portal.kernel.service.LayoutSetBranchServiceUtil
Provides the remote service utility for LayoutSetBranch. This utility wraps
com.liferay.portal.service.impl.LayoutSetBranchServiceImpl 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 LayoutSetBranchaddLayoutSetBranch(long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext) static voiddeleteLayoutSetBranch(long layoutSetBranchId) static voiddeleteLayoutSetBranch(long currentLayoutPlid, long layoutSetBranchId) static List<LayoutSetBranch>getLayoutSetBranches(long groupId, boolean privateLayout) static StringReturns the OSGi service identifier.static LayoutSetBranchServicestatic LayoutSetBranchmergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext) static voidsetService(LayoutSetBranchService service) static LayoutSetBranchupdateLayoutSetBranch(long groupId, long layoutSetBranchId, String name, String description, ServiceContext serviceContext)
-
Constructor Details
-
LayoutSetBranchServiceUtil
public LayoutSetBranchServiceUtil()
-
-
Method Details
-
addLayoutSetBranch
public static LayoutSetBranch addLayoutSetBranch(long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteLayoutSetBranch
- Throws:
PortalException
-
deleteLayoutSetBranch
public static void deleteLayoutSetBranch(long currentLayoutPlid, long layoutSetBranchId) throws PortalException - Throws:
PortalException
-
getLayoutSetBranches
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
mergeLayoutSetBranch
public static LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
updateLayoutSetBranch
public static LayoutSetBranch updateLayoutSetBranch(long groupId, long layoutSetBranchId, String name, String description, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
getService
-
setService
-