com.liferay.portal.service.persistence
Class LayoutUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.LayoutUtil

public class LayoutUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
LayoutUtil()
           
 
Method Summary
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByDLFolderId(long dlFolderId)
           
static int countByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
static int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
static int countByG_P_T(long groupId, boolean privateLayout, java.lang.String type)
           
static int countByG_P(long groupId, boolean privateLayout)
           
static int countByGroupId(long groupId)
           
static int countByIconImageId(long iconImageId)
           
static Layout create(long plid)
           
static Layout fetchByDLFolderId(long dlFolderId)
           
static Layout fetchByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
static Layout fetchByIconImageId(long iconImageId)
           
static Layout fetchByPrimaryKey(long plid)
           
static java.util.List<Layout> findAll()
           
static java.util.List<Layout> findAll(int start, int end)
           
static java.util.List<Layout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<Layout> findByCompanyId(long companyId)
           
static java.util.List<Layout> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<Layout> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByDLFolderId(long dlFolderId)
           
static Layout findByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
static Layout findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
static Layout findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
static java.util.List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
           
static java.util.List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByG_P_T_First(long groupId, boolean privateLayout, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByG_P_T_Last(long groupId, boolean privateLayout, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<Layout> findByG_P_T(long groupId, boolean privateLayout, java.lang.String type)
           
static java.util.List<Layout> findByG_P_T(long groupId, boolean privateLayout, java.lang.String type, int start, int end)
           
static java.util.List<Layout> findByG_P_T(long groupId, boolean privateLayout, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<Layout> findByG_P(long groupId, boolean privateLayout)
           
static java.util.List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
           
static java.util.List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout[] findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<Layout> findByGroupId(long groupId)
           
static java.util.List<Layout> findByGroupId(long groupId, int start, int end)
           
static java.util.List<Layout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Layout findByIconImageId(long iconImageId)
           
static Layout findByPrimaryKey(long plid)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static LayoutPersistence getPersistence()
           
static Layout remove(Layout layout)
           
static Layout remove(long plid)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByDLFolderId(long dlFolderId)
           
static void removeByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
static void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
static void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
static void removeByG_P_T(long groupId, boolean privateLayout, java.lang.String type)
           
static void removeByG_P(long groupId, boolean privateLayout)
           
static void removeByGroupId(long groupId)
           
static void removeByIconImageId(long iconImageId)
           
 void setPersistence(LayoutPersistence persistence)
           
static Layout update(Layout layout)
          Deprecated. Use update(Layout layout, boolean merge).
static Layout update(Layout layout, boolean merge)
          Add, update, or merge, the entity.
static Layout updateImpl(Layout layout, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutUtil

public LayoutUtil()
Method Detail

create

public static Layout create(long plid)

remove

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

remove

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

update

public static Layout update(Layout layout)
                     throws com.liferay.portal.SystemException
Deprecated. Use update(Layout layout, boolean merge).

Throws:
com.liferay.portal.SystemException

update

public static Layout update(Layout layout,
                            boolean merge)
                     throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
layout - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when layout is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public static Layout updateImpl(Layout layout,
                                boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public static Layout fetchByPrimaryKey(long plid)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

public static java.util.List<Layout> findByGroupId(long groupId,
                                                   int start,
                                                   int end,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public static Layout findByGroupId_First(long groupId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws NoSuchLayoutException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByGroupId_Last

public static Layout findByGroupId_Last(long groupId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws NoSuchLayoutException,
                                        com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public static Layout[] findByGroupId_PrevAndNext(long plid,
                                                 long groupId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws NoSuchLayoutException,
                                                 com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

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

findByCompanyId

public static java.util.List<Layout> findByCompanyId(long companyId,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public static Layout findByCompanyId_First(long companyId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws NoSuchLayoutException,
                                           com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId_Last

public static Layout findByCompanyId_Last(long companyId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws NoSuchLayoutException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

public static Layout[] findByCompanyId_PrevAndNext(long plid,
                                                   long companyId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws NoSuchLayoutException,
                                                   com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByDLFolderId

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

fetchByDLFolderId

public static Layout fetchByDLFolderId(long dlFolderId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByIconImageId

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

fetchByIconImageId

public static Layout fetchByIconImageId(long iconImageId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

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

findByG_P

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

findByG_P

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

findByG_P_First

public static Layout findByG_P_First(long groupId,
                                     boolean privateLayout,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchLayoutException,
                                     com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_Last

public static Layout findByG_P_Last(long groupId,
                                    boolean privateLayout,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws NoSuchLayoutException,
                                    com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_PrevAndNext

public static Layout[] findByG_P_PrevAndNext(long plid,
                                             long groupId,
                                             boolean privateLayout,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchLayoutException,
                                             com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_L

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

fetchByG_P_L

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

findByG_P_P

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

findByG_P_P

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

findByG_P_P

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

findByG_P_P_First

public static Layout findByG_P_P_First(long groupId,
                                       boolean privateLayout,
                                       long parentLayoutId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchLayoutException,
                                       com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_P_Last

public static Layout findByG_P_P_Last(long groupId,
                                      boolean privateLayout,
                                      long parentLayoutId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws NoSuchLayoutException,
                                      com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_P_PrevAndNext

public static Layout[] findByG_P_P_PrevAndNext(long plid,
                                               long groupId,
                                               boolean privateLayout,
                                               long parentLayoutId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws NoSuchLayoutException,
                                               com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_F

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

fetchByG_P_F

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

findByG_P_T

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

findByG_P_T

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

findByG_P_T

public static java.util.List<Layout> findByG_P_T(long groupId,
                                                 boolean privateLayout,
                                                 java.lang.String type,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_T_First

public static Layout findByG_P_T_First(long groupId,
                                       boolean privateLayout,
                                       java.lang.String type,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchLayoutException,
                                       com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_T_Last

public static Layout findByG_P_T_Last(long groupId,
                                      boolean privateLayout,
                                      java.lang.String type,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws NoSuchLayoutException,
                                      com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_T_PrevAndNext

public static Layout[] findByG_P_T_PrevAndNext(long plid,
                                               long groupId,
                                               boolean privateLayout,
                                               java.lang.String type,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws NoSuchLayoutException,
                                               com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

findWithDynamicQuery

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

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByGroupId

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

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByDLFolderId

public static void removeByDLFolderId(long dlFolderId)
                               throws NoSuchLayoutException,
                                      com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

removeByIconImageId

public static void removeByIconImageId(long iconImageId)
                                throws NoSuchLayoutException,
                                       com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

removeByG_P

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

removeByG_P_L

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

removeByG_P_P

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

removeByG_P_F

public static void removeByG_P_F(long groupId,
                                 boolean privateLayout,
                                 java.lang.String friendlyURL)
                          throws NoSuchLayoutException,
                                 com.liferay.portal.SystemException
Throws:
NoSuchLayoutException
com.liferay.portal.SystemException

removeByG_P_T

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

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

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

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByDLFolderId

public static int countByDLFolderId(long dlFolderId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByIconImageId

public static int countByIconImageId(long iconImageId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P

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

countByG_P_L

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

countByG_P_P

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

countByG_P_F

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

countByG_P_T

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

countAll

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

getPersistence

public static LayoutPersistence getPersistence()

setPersistence

public void setPersistence(LayoutPersistence persistence)