Liferay 7.0-ce-b4

com.liferay.portal.service
Class LayoutPrototypeServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.LayoutPrototypeServiceUtil

@ProviderType
public class LayoutPrototypeServiceUtil
extends Object

Provides the remote service utility for LayoutPrototype. This utility wraps com.liferay.portal.service.impl.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.

See Also:
LayoutPrototypeService, LayoutPrototypeServiceBaseImpl, com.liferay.portal.service.impl.LayoutPrototypeServiceImpl

Constructor Summary
LayoutPrototypeServiceUtil()
           
 
Method Summary
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)
          Deprecated. As of 6.2.0, replaced by addLayoutPrototype(Map, String, boolean, ServiceContext)
static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, 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)
          Deprecated. As of 6.2.0, replaced by updateLayoutPrototype(long, Map, String, boolean, ServiceContext)
static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by updateLayoutPrototype(long, Map, Map, boolean, ServiceContext)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPrototypeServiceUtil

public LayoutPrototypeServiceUtil()
Method Detail

addLayoutPrototype

@Deprecated
public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap,
                                                            String description,
                                                            boolean active)
                                          throws PortalException
Deprecated. As of 6.2.0, replaced by addLayoutPrototype(Map, String, boolean, ServiceContext)

Throws:
PortalException

addLayoutPrototype

@Deprecated
public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap,
                                                            String description,
                                                            boolean active,
                                                            ServiceContext serviceContext)
                                          throws PortalException
Deprecated. As of 7.0.0, replaced by addLayoutPrototype(Map, Map, boolean, ServiceContext)

Throws:
PortalException

addLayoutPrototype

public static LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap,
                                                 Map<Locale,String> descriptionMap,
                                                 boolean active,
                                                 ServiceContext serviceContext)
                                          throws PortalException
Throws:
PortalException

deleteLayoutPrototype

public static void deleteLayoutPrototype(long layoutPrototypeId)
                                  throws PortalException
Throws:
PortalException

fetchLayoutPrototype

public static LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId)
                                            throws PortalException
Throws:
PortalException

getLayoutPrototype

public static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                          throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

search

public static List<LayoutPrototype> search(long companyId,
                                           Boolean active,
                                           OrderByComparator<LayoutPrototype> obc)
                                    throws PortalException
Throws:
PortalException

updateLayoutPrototype

@Deprecated
public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                                               Map<Locale,String> nameMap,
                                                               String description,
                                                               boolean active)
                                             throws PortalException
Deprecated. As of 6.2.0, replaced by updateLayoutPrototype(long, Map, String, boolean, ServiceContext)

Throws:
PortalException

updateLayoutPrototype

@Deprecated
public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                                               Map<Locale,String> nameMap,
                                                               String description,
                                                               boolean active,
                                                               ServiceContext serviceContext)
                                             throws PortalException
Deprecated. As of 7.0.0, replaced by updateLayoutPrototype(long, Map, Map, boolean, ServiceContext)

Throws:
PortalException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                                    Map<Locale,String> nameMap,
                                                    Map<Locale,String> descriptionMap,
                                                    boolean active,
                                                    ServiceContext serviceContext)
                                             throws PortalException
Throws:
PortalException

getService

public static LayoutPrototypeService getService()

Liferay 7.0-ce-b4