com.liferay.portal.service
Class LayoutLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.LayoutLocalServiceUtil

public class LayoutLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portal.service.LayoutLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
LayoutLocalService

Constructor Summary
LayoutLocalServiceUtil()
           
 
Method Summary
static Layout addLayout(Layout layout)
           
static Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
static Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, long dlFolderId)
           
static 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)
           
static 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)
           
static Layout createLayout(long plid)
           
static void deleteLayout(Layout layout)
           
static void deleteLayout(Layout layout, boolean updateLayoutSet)
           
static void deleteLayout(long plid)
           
static void deleteLayout(long groupId, boolean privateLayout, long layoutId)
           
static void deleteLayouts(long groupId, boolean privateLayout)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static byte[] exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
static byte[] exportLayouts(long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
static com.liferay.portal.kernel.io.FileCacheOutputStream exportLayoutsAsStream(long groupId, boolean privateLayout, long[] layoutIds, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
static byte[] exportPortletInfo(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
static com.liferay.portal.kernel.io.FileCacheOutputStream exportPortletInfoAsStream(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
static long getDefaultPlid(long groupId)
           
static long getDefaultPlid(long groupId, boolean privateLayout)
           
static long getDefaultPlid(long groupId, boolean privateLayout, java.lang.String portletId)
           
static Layout getDLFolderLayout(long dlFolderId)
           
static Layout getFriendlyURLLayout(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
static Layout getLayout(long plid)
           
static Layout getLayout(long groupId, boolean privateLayout, long layoutId)
           
static Layout getLayoutByIconImageId(long iconImageId)
           
static java.util.List<Layout> getLayouts(int start, int end)
           
static java.util.List<Layout> getLayouts(long groupId, boolean privateLayout)
           
static java.util.List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId)
           
static java.util.List<Layout> getLayouts(long groupId, boolean privateLayout, long[] layoutIds)
           
static java.util.List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
           
static java.util.List<Layout> getLayouts(long groupId, boolean privateLayout, java.lang.String type)
           
static LayoutReference[] getLayouts(long companyId, java.lang.String portletId, java.lang.String preferencesKey, java.lang.String preferencesValue)
           
static int getLayoutsCount()
           
static long getNextLayoutId(long groupId, boolean privateLayout)
           
static java.util.List<Layout> getNullFriendlyURLLayouts()
           
static LayoutLocalService getService()
           
static void importLayouts(long userId, long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, byte[] bytes)
           
static void importLayouts(long userId, long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file)
           
static void importLayouts(long userId, long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.InputStream is)
           
static void importPortletInfo(long userId, long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file)
           
static void importPortletInfo(long userId, long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.InputStream is)
           
static void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds)
           
 void setService(LayoutLocalService service)
           
static Layout updateFriendlyURL(long plid, java.lang.String friendlyURL)
           
static Layout updateLayout(Layout layout)
           
static Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
static Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, java.lang.Boolean iconImage, byte[] iconBytes)
           
static Layout updateLayout(long groupId, boolean privateLayout, long layoutId, java.lang.String typeSettings)
           
static Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
static Layout updateName(Layout layout, java.lang.String name, java.lang.String languageId)
           
static Layout updateName(long groupId, boolean privateLayout, long layoutId, java.lang.String name, java.lang.String languageId)
           
static Layout updateName(long plid, java.lang.String name, java.lang.String languageId)
           
static Layout updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
           
static Layout updateParentLayoutId(long plid, long parentPlid)
           
static Layout updatePriority(Layout layout, int priority)
           
static Layout updatePriority(long groupId, boolean privateLayout, long layoutId, int priority)
           
static Layout updatePriority(long plid, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutLocalServiceUtil

public LayoutLocalServiceUtil()
Method Detail

addLayout

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

createLayout

public static Layout createLayout(long plid)

deleteLayout

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

deleteLayout

public static void deleteLayout(Layout layout)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static 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

public static 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

getLayout

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

getLayouts

public static java.util.List<Layout> getLayouts(int start,
                                                int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayoutsCount

public static int getLayoutsCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateLayout

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

addLayout

public static 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.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addLayout

public static Layout addLayout(long userId,
                               long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                               java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                               java.lang.String description,
                               java.lang.String type,
                               boolean hidden,
                               java.lang.String friendlyURL)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addLayout

public static 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.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addLayout

public static Layout addLayout(long userId,
                               long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                               java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                               java.lang.String description,
                               java.lang.String type,
                               boolean hidden,
                               java.lang.String friendlyURL,
                               long dlFolderId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLayout

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

deleteLayout

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

deleteLayouts

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

exportLayouts

public static byte[] exportLayouts(long groupId,
                                   boolean privateLayout,
                                   java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                   java.util.Date startDate,
                                   java.util.Date endDate)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportLayouts

public static byte[] exportLayouts(long groupId,
                                   boolean privateLayout,
                                   long[] layoutIds,
                                   java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                   java.util.Date startDate,
                                   java.util.Date endDate)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportLayoutsAsStream

public static com.liferay.portal.kernel.io.FileCacheOutputStream exportLayoutsAsStream(long groupId,
                                                                                       boolean privateLayout,
                                                                                       long[] layoutIds,
                                                                                       java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                                                                       java.util.Date startDate,
                                                                                       java.util.Date endDate)
                                                                                throws com.liferay.portal.PortalException,
                                                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportPortletInfo

public static byte[] exportPortletInfo(long plid,
                                       long groupId,
                                       java.lang.String portletId,
                                       java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                       java.util.Date startDate,
                                       java.util.Date endDate)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportPortletInfoAsStream

public static com.liferay.portal.kernel.io.FileCacheOutputStream exportPortletInfoAsStream(long plid,
                                                                                           long groupId,
                                                                                           java.lang.String portletId,
                                                                                           java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                                                                           java.util.Date startDate,
                                                                                           java.util.Date endDate)
                                                                                    throws com.liferay.portal.PortalException,
                                                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultPlid

public static long getDefaultPlid(long groupId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultPlid

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

getDefaultPlid

public static long getDefaultPlid(long groupId,
                                  boolean privateLayout,
                                  java.lang.String portletId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFolderLayout

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

getFriendlyURLLayout

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

getLayout

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

getLayoutByIconImageId

public static Layout getLayoutByIconImageId(long iconImageId)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayouts

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

getLayouts

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

getLayouts

public static java.util.List<Layout> getLayouts(long groupId,
                                                boolean privateLayout,
                                                java.lang.String type)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayouts

public static java.util.List<Layout> getLayouts(long groupId,
                                                boolean privateLayout,
                                                long parentLayoutId,
                                                int start,
                                                int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLayouts

public static java.util.List<Layout> getLayouts(long groupId,
                                                boolean privateLayout,
                                                long[] layoutIds)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayouts

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

getNextLayoutId

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

getNullFriendlyURLLayouts

public static java.util.List<Layout> getNullFriendlyURLLayouts()
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

importLayouts

public static void importLayouts(long userId,
                                 long groupId,
                                 boolean privateLayout,
                                 java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                 java.io.File file)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importLayouts

public static void importLayouts(long userId,
                                 long groupId,
                                 boolean privateLayout,
                                 java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                 byte[] bytes)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importLayouts

public static void importLayouts(long userId,
                                 long groupId,
                                 boolean privateLayout,
                                 java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                 java.io.InputStream is)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importPortletInfo

public static void importPortletInfo(long userId,
                                     long plid,
                                     long groupId,
                                     java.lang.String portletId,
                                     java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                     java.io.File file)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

importPortletInfo

public static void importPortletInfo(long userId,
                                     long plid,
                                     long groupId,
                                     java.lang.String portletId,
                                     java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                     java.io.InputStream is)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

setLayouts

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

updateFriendlyURL

public static Layout updateFriendlyURL(long plid,
                                       java.lang.String friendlyURL)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLayout

public static Layout updateLayout(long groupId,
                                  boolean privateLayout,
                                  long layoutId,
                                  long parentLayoutId,
                                  java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                                  java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                                  java.lang.String description,
                                  java.lang.String type,
                                  boolean hidden,
                                  java.lang.String friendlyURL)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLayout

public static Layout updateLayout(long groupId,
                                  boolean privateLayout,
                                  long layoutId,
                                  long parentLayoutId,
                                  java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                                  java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                                  java.lang.String description,
                                  java.lang.String type,
                                  boolean hidden,
                                  java.lang.String friendlyURL,
                                  java.lang.Boolean iconImage,
                                  byte[] iconBytes)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLayout

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

updateLookAndFeel

public static 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.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateName

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

updateName

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

updateName

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

updateParentLayoutId

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

updateParentLayoutId

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

updatePriority

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

updatePriority

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

updatePriority

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

getService

public static LayoutLocalService getService()

setService

public void setService(LayoutLocalService service)