Liferay 7.0-ce-m3

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 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, LayoutPrototypeServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
static LayoutPrototypeService getService()
           
static List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator<LayoutPrototype> obc)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(LayoutPrototypeService service)
          Deprecated. As of 6.2.0
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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getLayoutPrototype

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

search

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

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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()

setService

@Deprecated
public void setService(LayoutPrototypeService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m3