com.liferay.portal.service
Interface LayoutLocalService


public interface LayoutLocalService

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.LayoutLocalServiceImpl. 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:
LayoutServiceFactory, LayoutServiceUtil

Method Summary
 Layout addLayout(Layout model)
           
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, long dlFolderId)
           
 void deleteLayout(Layout layout, boolean updateLayoutSet)
           
 void deleteLayout(long plid)
           
 void deleteLayout(long groupId, boolean privateLayout, long layoutId)
           
 void deleteLayouts(long groupId, boolean privateLayout)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, java.util.Map parameterMap)
           
 long getDefaultPlid(long groupId, boolean privateLayout)
           
 Layout getDLFolderLayout(long dlFolderId)
           
 Layout getFriendlyURLLayout(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 Layout getLayout(long plid)
           
 Layout getLayout(long groupId, boolean privateLayout, long layoutId)
           
 java.util.List getLayouts(long groupId, boolean privateLayout)
           
 java.util.List getLayouts(long groupId, boolean privateLayout, long parentLayoutId)
           
 java.util.List getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end)
           
 LayoutReference[] getLayouts(long companyId, java.lang.String portletId, java.lang.String prefsKey, java.lang.String prefsValue)
           
 void importLayouts(long userId, long groupId, boolean privateLayout, java.util.Map parameterMap, java.io.File file)
           
 void importLayouts(long userId, long groupId, boolean privateLayout, java.util.Map parameterMap, java.io.InputStream is)
           
 void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds)
           
 Layout updateLayout(Layout model)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String languageId, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String languageId, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, java.lang.Boolean iconImage, byte[] iconBytes)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, java.lang.String typeSettings)
           
 Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
 Layout updateName(Layout layout, java.lang.String name, java.lang.String languageId)
           
 Layout updateName(long groupId, boolean privateLayout, long layoutId, java.lang.String name, java.lang.String languageId)
           
 Layout updateName(long plid, java.lang.String name, java.lang.String languageId)
           
 Layout updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
           
 Layout updateParentLayoutId(long plid, long parentPlid)
           
 Layout updatePriority(Layout layout, int priority)
           
 Layout updatePriority(long groupId, boolean privateLayout, long layoutId, int priority)
           
 Layout updatePriority(long plid, int priority)
           
 

Method Detail

addLayout

public Layout addLayout(Layout model)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateLayout

public Layout updateLayout(Layout model)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        java.lang.String name,
                        java.lang.String title,
                        java.lang.String description,
                        java.lang.String type,
                        boolean hidden,
                        java.lang.String friendlyURL)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        java.lang.String name,
                        java.lang.String title,
                        java.lang.String description,
                        java.lang.String type,
                        boolean hidden,
                        java.lang.String friendlyURL,
                        long dlFolderId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteLayout

public void deleteLayout(long plid)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteLayout

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

deleteLayout

public void deleteLayout(Layout layout,
                         boolean updateLayoutSet)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteLayouts

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

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            java.util.Map parameterMap)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDefaultPlid

public long getDefaultPlid(long groupId,
                           boolean privateLayout)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFolderLayout

public Layout getDLFolderLayout(long dlFolderId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFriendlyURLLayout

public Layout getFriendlyURLLayout(long groupId,
                                   boolean privateLayout,
                                   java.lang.String friendlyURL)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLayout

public Layout getLayout(long plid)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLayout

public Layout getLayout(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLayouts

public java.util.List getLayouts(long groupId,
                                 boolean privateLayout)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayouts

public java.util.List getLayouts(long groupId,
                                 boolean privateLayout,
                                 long parentLayoutId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayouts

public java.util.List getLayouts(long groupId,
                                 boolean privateLayout,
                                 long parentLayoutId,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayouts

public LayoutReference[] getLayouts(long companyId,
                                    java.lang.String portletId,
                                    java.lang.String prefsKey,
                                    java.lang.String prefsValue)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

importLayouts

public void importLayouts(long userId,
                          long groupId,
                          boolean privateLayout,
                          java.util.Map parameterMap,
                          java.io.File file)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

importLayouts

public void importLayouts(long userId,
                          long groupId,
                          boolean privateLayout,
                          java.util.Map parameterMap,
                          java.io.InputStream is)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

setLayouts

public void setLayouts(long groupId,
                       boolean privateLayout,
                       long parentLayoutId,
                       long[] layoutIds)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           java.lang.String name,
                           java.lang.String title,
                           java.lang.String languageId,
                           java.lang.String description,
                           java.lang.String type,
                           boolean hidden,
                           java.lang.String friendlyURL)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           java.lang.String name,
                           java.lang.String title,
                           java.lang.String languageId,
                           java.lang.String description,
                           java.lang.String type,
                           boolean hidden,
                           java.lang.String friendlyURL,
                           java.lang.Boolean iconImage,
                           byte[] iconBytes)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           java.lang.String typeSettings)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateLookAndFeel

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

updateName

public Layout updateName(long plid,
                         java.lang.String name,
                         java.lang.String languageId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateName

public Layout updateName(long groupId,
                         boolean privateLayout,
                         long layoutId,
                         java.lang.String name,
                         java.lang.String languageId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateName

public Layout updateName(Layout layout,
                         java.lang.String name,
                         java.lang.String languageId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateParentLayoutId

public Layout updateParentLayoutId(long plid,
                                   long parentPlid)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateParentLayoutId

public Layout updateParentLayoutId(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   long parentLayoutId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updatePriority

public Layout updatePriority(long plid,
                             int priority)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updatePriority

public Layout updatePriority(long groupId,
                             boolean privateLayout,
                             long layoutId,
                             int priority)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updatePriority

public Layout updatePriority(Layout layout,
                             int priority)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException