Liferay 7.0-ce-m3

com.liferay.portal.service
Interface LayoutPrototypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
LayoutPrototypeServiceBaseImpl, LayoutPrototypeServiceImpl, LayoutPrototypeServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface LayoutPrototypeService
extends BaseService

Provides the remote service interface for LayoutPrototype. 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:
LayoutPrototypeServiceUtil, LayoutPrototypeServiceBaseImpl, LayoutPrototypeServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, ServiceContext serviceContext)
           
 LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap, String description, boolean active)
          Deprecated. As of 6.2.0, replaced by addLayoutPrototype(Map, String, boolean, ServiceContext)
 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)
 void deleteLayoutPrototype(long layoutPrototypeId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator<LayoutPrototype> obc)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, ServiceContext serviceContext)
           
 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)
 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)
 

Method Detail

addLayoutPrototype

@Deprecated
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
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

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

deleteLayoutPrototype

void deleteLayoutPrototype(long layoutPrototypeId)
                           throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getLayoutPrototype

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                   throws PortalException
Throws:
PortalException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<LayoutPrototype> search(long companyId,
                                                                      Boolean active,
                                                                      OrderByComparator<LayoutPrototype> obc)
                             throws PortalException
Throws:
PortalException

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateLayoutPrototype

@Deprecated
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
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

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

Liferay 7.0-ce-m3