@ProviderType
public class LayoutPrototypeServiceUtil
extends Object
LayoutPrototypeServiceImpl
and is the
primary 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
,
LayoutPrototypeServiceBaseImpl
,
LayoutPrototypeServiceImpl
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) |
static LayoutPrototype |
addLayoutPrototype(Map<Locale,String> nameMap,
String description,
boolean active,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addLayoutPrototype(Map, Map, boolean, ServiceContext) |
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) |
static LayoutPrototype |
updateLayoutPrototype(long layoutPrototypeId,
Map<Locale,String> nameMap,
String description,
boolean active,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateLayoutPrototype(long, Map, Map, boolean,
ServiceContext) |
public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, ServiceContext serviceContext) throws PortalException
PortalException
@Deprecated public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext) throws PortalException
addLayoutPrototype(Map, Map, boolean, ServiceContext)
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
@Deprecated public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext) throws PortalException
updateLayoutPrototype(long, Map, Map, boolean,
ServiceContext)
PortalException
public static LayoutPrototypeService getService()