com.liferay.portal.service
Interface LayoutPrototypeLocalService

All Known Implementing Classes:
LayoutPrototypeLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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, 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 SystemException
Throws:
SystemException

createLayoutPrototype

LayoutPrototype createLayoutPrototype(long layoutPrototypeId)

deleteLayoutPrototype

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

deleteLayoutPrototype

void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
                           throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getLayoutPrototype

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

getLayoutPrototypes

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

getLayoutPrototypesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getLayoutPrototypesCount()
                             throws SystemException
Throws:
SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
                                      throws SystemException
Throws:
SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype,
                                      boolean merge)
                                      throws SystemException
Throws:
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 PortalException,
                                          SystemException
Throws:
PortalException
SystemException

search

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

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         java.lang.Boolean active)
                throws SystemException
Throws:
SystemException

updateLayoutPrototype

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