Liferay 7.0-ce-b4

com.liferay.portal.service
Interface LayoutPrototypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
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, com.liferay.portal.service.impl.LayoutPrototypeServiceImpl

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)
           
 LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId)
           
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator<LayoutPrototype> obc)
           
 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

fetchLayoutPrototype

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

getLayoutPrototype

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

search

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

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-b4