public class LayoutPrototypeServiceUtil
extends Object
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.LayoutPrototypeService
Constructor and Description |
---|
LayoutPrototypeServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static LayoutPrototype |
addLayoutPrototype(Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
boolean active,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteLayoutPrototype(long layoutPrototypeId) |
static LayoutPrototype |
fetchLayoutPrototype(long layoutPrototypeId) |
static LayoutPrototype |
getLayoutPrototype(long layoutPrototypeId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static LayoutPrototypeService |
getService() |
static List<LayoutPrototype> |
search(long companyId,
Boolean active,
OrderByComparator<LayoutPrototype> obc) |
static LayoutPrototype |
updateLayoutPrototype(long layoutPrototypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
boolean active,
ServiceContext serviceContext) |
public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, ServiceContext serviceContext) throws PortalException
LayoutPrototypeServiceUtil
to access the layout prototype remote service. Add custom service methods to com.liferay.portal.service.impl.LayoutPrototypeServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static void deleteLayoutPrototype(long layoutPrototypeId) throws PortalException
PortalException
public static LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId) throws PortalException
PortalException
public static LayoutPrototype getLayoutPrototype(long layoutPrototypeId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator<LayoutPrototype> obc) throws PortalException
PortalException
public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, ServiceContext serviceContext) throws PortalException
PortalException
public static LayoutPrototypeService getService()