Class LayoutPrototypeServiceUtil
Object
com.liferay.portal.kernel.service.LayoutPrototypeServiceUtil
Provides the remote service utility for LayoutPrototype. This utility wraps
com.liferay.portal.service.impl.LayoutPrototypeServiceImpl
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 LayoutPrototype
addLayoutPrototype
(Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, ServiceContext serviceContext) static void
deleteLayoutPrototype
(long layoutPrototypeId) static LayoutPrototype
fetchLayoutPrototype
(long layoutPrototypeId) static LayoutPrototype
getLayoutPrototype
(long layoutPrototypeId) static String
Returns the OSGi service identifier.static LayoutPrototypeService
static List<LayoutPrototype>
search
(long companyId, Boolean active, OrderByComparator<LayoutPrototype> orderByComparator) static void
setService
(LayoutPrototypeService service) static LayoutPrototype
updateLayoutPrototype
(long layoutPrototypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, ServiceContext serviceContext)
-
Constructor Details
-
LayoutPrototypeServiceUtil
public LayoutPrototypeServiceUtil()
-
-
Method Details
-
addLayoutPrototype
public static LayoutPrototype addLayoutPrototype(Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, ServiceContext serviceContext) - Throws:
PortalException
-
deleteLayoutPrototype
- Throws:
PortalException
-
fetchLayoutPrototype
- Throws:
PortalException
-
getLayoutPrototype
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
public static List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator<LayoutPrototype> orderByComparator) throws PortalException - Throws:
PortalException
-
updateLayoutPrototype
public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, ServiceContext serviceContext) - Throws:
PortalException
-
getService
-
setService
-