Liferay 6.0-ee

com.liferay.portal.service
Interface LayoutPrototypeService

All Known Implementing Classes:
LayoutPrototypeServiceBaseImpl, LayoutPrototypeServiceImpl, LayoutPrototypeServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface LayoutPrototypeService

The interface for the layout prototype remote service.

Never modify or reference this interface directly. Always use LayoutPrototypeServiceUtil to access the layout prototype remote service. Add custom service methods to LayoutPrototypeServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. 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, String description, boolean active)
           
 void deleteLayoutPrototype(long layoutPrototypeId)
           
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 List<LayoutPrototype> search(long companyId, Boolean active, OrderByComparator obc)
           
 LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, String description, boolean active)
           
 

Method Detail

addLayoutPrototype

LayoutPrototype addLayoutPrototype(Map<Locale,String> nameMap,
                                   String description,
                                   boolean active)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

deleteLayoutPrototype

void deleteLayoutPrototype(long layoutPrototypeId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getLayoutPrototype

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

search

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

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                      Map<Locale,String> nameMap,
                                      String description,
                                      boolean active)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

Liferay 6.0-ee