com.liferay.portal.service
Interface LayoutPrototypeService

All Known Implementing Classes:
LayoutPrototypeServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface LayoutPrototypeService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.LayoutPrototypeServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
LayoutPrototypeServiceUtil
Generated:

Method Summary
 LayoutPrototype addLayoutPrototype(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 void deleteLayoutPrototype(long layoutPrototypeId)
           
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 java.util.List<LayoutPrototype> search(long companyId, java.lang.Boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 

Method Detail

addLayoutPrototype

LayoutPrototype addLayoutPrototype(java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                   java.lang.String description,
                                   boolean active)
                                   throws com.liferay.portal.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteLayoutPrototype

void deleteLayoutPrototype(long layoutPrototypeId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getLayoutPrototype

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                   throws com.liferay.portal.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<LayoutPrototype> search(long companyId,
                                                     java.lang.Boolean active,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.PortalException,
                                              com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                      java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                      java.lang.String description,
                                      boolean active)
                                      throws com.liferay.portal.kernel.exception.PortalException,
                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException