com.liferay.portal.service
Interface LayoutPrototypeLocalService

All Known Implementing Classes:
LayoutPrototypeLocalServiceWrapper

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

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.LayoutPrototypeLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

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

Method Summary
 LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
           
 LayoutPrototype addLayoutPrototype(long userId, long companyId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
           
 void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
           
 void deleteLayoutPrototype(long layoutPrototypeId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 java.util.List<LayoutPrototype> getLayoutPrototypes(int start, int end)
           
 int getLayoutPrototypesCount()
           
 java.util.List<LayoutPrototype> search(long companyId, java.lang.Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int searchCount(long companyId, java.lang.Boolean active)
           
 LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
           
 LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype, boolean merge)
           
 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(LayoutPrototype layoutPrototype)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createLayoutPrototype

LayoutPrototype createLayoutPrototype(long layoutPrototypeId)

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

deleteLayoutPrototype

void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
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

getLayoutPrototypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<LayoutPrototype> getLayoutPrototypes(int start,
                                                                  int end)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getLayoutPrototypesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getLayoutPrototypesCount()
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype,
                                      boolean merge)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addLayoutPrototype

LayoutPrototype addLayoutPrototype(long userId,
                                   long companyId,
                                   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

search

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

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                              java.lang.Boolean active)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
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