com.liferay.portal.service
Interface LayoutSetLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface LayoutSetLocalService

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.LayoutSetLocalServiceImpl. 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:
LayoutSetLocalServiceUtil

Method Summary
 LayoutSet addLayoutSet(LayoutSet layoutSet)
           
 LayoutSet addLayoutSet(long groupId, boolean privateLayout)
           
 LayoutSet createLayoutSet(long layoutSetId)
           
 void deleteLayoutSet(LayoutSet layoutSet)
           
 void deleteLayoutSet(long layoutSetId)
           
 void deleteLayoutSet(long groupId, boolean privateLayout)
           
 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)
           
 LayoutSet getLayoutSet(long layoutSetId)
           
 LayoutSet getLayoutSet(long groupId, boolean privateLayout)
           
 LayoutSet getLayoutSet(java.lang.String virtualHost)
           
 java.util.List<LayoutSet> getLayoutSets(int start, int end)
           
 int getLayoutSetsCount()
           
 LayoutSet updateLayoutSet(LayoutSet layoutSet)
           
 void updateLogo(long groupId, boolean privateLayout, boolean logo, java.io.File file)
           
 void updateLogo(long groupId, boolean privateLayout, boolean logo, java.io.InputStream is)
           
 LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
 void updateLookAndFeel(long groupId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
 LayoutSet updatePageCount(long groupId, boolean privateLayout)
           
 LayoutSet updateVirtualHost(long groupId, boolean privateLayout, java.lang.String virtualHost)
           
 

Method Detail

addLayoutSet

LayoutSet addLayoutSet(LayoutSet layoutSet)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createLayoutSet

LayoutSet createLayoutSet(long layoutSetId)

deleteLayoutSet

void deleteLayoutSet(long layoutSetId)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteLayoutSet

void deleteLayoutSet(LayoutSet layoutSet)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

getLayoutSet

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutSet getLayoutSet(long layoutSetId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLayoutSets

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

getLayoutSetsCount

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

updateLayoutSet

LayoutSet updateLayoutSet(LayoutSet layoutSet)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addLayoutSet

LayoutSet addLayoutSet(long groupId,
                       boolean privateLayout)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLayoutSet

void deleteLayoutSet(long groupId,
                     boolean privateLayout)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutSet

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutSet getLayoutSet(long groupId,
                                     boolean privateLayout)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutSet

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutSet getLayoutSet(java.lang.String virtualHost)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLogo

void updateLogo(long groupId,
                boolean privateLayout,
                boolean logo,
                java.io.File file)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLogo

void updateLogo(long groupId,
                boolean privateLayout,
                boolean logo,
                java.io.InputStream is)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLookAndFeel

void updateLookAndFeel(long groupId,
                       java.lang.String themeId,
                       java.lang.String colorSchemeId,
                       java.lang.String css,
                       boolean wapTheme)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLookAndFeel

LayoutSet updateLookAndFeel(long groupId,
                            boolean privateLayout,
                            java.lang.String themeId,
                            java.lang.String colorSchemeId,
                            java.lang.String css,
                            boolean wapTheme)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePageCount

LayoutSet updatePageCount(long groupId,
                          boolean privateLayout)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateVirtualHost

LayoutSet updateVirtualHost(long groupId,
                            boolean privateLayout,
                            java.lang.String virtualHost)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException