public class LayoutBranchServiceUtil
extends Object
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.LayoutBranchService
Constructor and Description |
---|
LayoutBranchServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static LayoutBranch |
addLayoutBranch(long layoutRevisionId,
String name,
String description,
boolean master,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteLayoutBranch(long layoutBranchId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static LayoutBranchService |
getService() |
static LayoutBranch |
updateLayoutBranch(long layoutBranchId,
String name,
String description,
ServiceContext serviceContext) |
public static LayoutBranch addLayoutBranch(long layoutRevisionId, String name, String description, boolean master, ServiceContext serviceContext) throws PortalException
LayoutBranchServiceUtil
to access the layout branch remote service. Add custom service methods to com.liferay.portal.service.impl.LayoutBranchServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static void deleteLayoutBranch(long layoutBranchId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static LayoutBranch updateLayoutBranch(long layoutBranchId, String name, String description, ServiceContext serviceContext) throws PortalException
PortalException
public static LayoutBranchService getService()