Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Interface LayoutPersistence

All Superinterfaces:
BasePersistence<Layout>
All Known Implementing Classes:
LayoutPersistenceImpl

@ProviderType
public interface LayoutPersistence
extends BasePersistence<Layout>

The persistence interface for the layout service.

Caching information and settings can be found in portal.properties

See Also:
LayoutPersistenceImpl, LayoutUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void cacheResult(Layout layout)
          Caches the layout in the entity cache if it is enabled.
 void cacheResult(List<Layout> layouts)
          Caches the layouts in the entity cache if it is enabled.
 int countAll()
          Returns the number of layouts.
 int countByCompanyId(long companyId)
          Returns the number of layouts where companyId = ?.
 int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
 int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
 int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
          Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
          Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
 int countByG_P_T(long groupId, boolean privateLayout, String type)
          Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
 int countByG_P(long groupId, boolean privateLayout)
          Returns the number of layouts where groupId = ? and privateLayout = ?.
 int countByGroupId(long groupId)
          Returns the number of layouts where groupId = ?.
 int countByIconImageId(long iconImageId)
          Returns the number of layouts where iconImageId = ?.
 int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
          Returns the number of layouts where layoutPrototypeUuid = ?.
 int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
          Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of layouts where uuid = ? and companyId = ?.
 int countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
          Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
 int countByUuid(String uuid)
          Returns the number of layouts where uuid = ?.
 Layout create(long plid)
          Creates a new layout with the primary key.
 Layout fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where companyId = ?.
 Layout fetchByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where companyId = ?.
 Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found.
 Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean retrieveFromCache)
          Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
 Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
 Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found.
 Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache)
          Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache.
 Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
 Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
          Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found.
 Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean retrieveFromCache)
          Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache.
 Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
 Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
 Layout fetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ?.
 Layout fetchByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ?.
 Layout fetchByIconImageId(long iconImageId)
          Returns the layout where iconImageId = ? or returns null if it could not be found.
 Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache)
          Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache.
 Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
 Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
 Layout fetchByPrimaryKey(long plid)
          Returns the layout with the primary key or returns null if it could not be found.
 Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
 Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
 Layout fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where uuid = ? and companyId = ?.
 Layout fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where uuid = ? and companyId = ?.
 Layout fetchByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where uuid = ?.
 Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout)
          Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found.
 Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean retrieveFromCache)
          Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache.
 Layout fetchByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where uuid = ?.
 int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
          Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 int filterCountByG_P_T(long groupId, boolean privateLayout, String type)
          Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
 int filterCountByG_P(long groupId, boolean privateLayout)
          Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of layouts that the user has permission to view where groupId = ?.
 Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
          Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
          Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
 Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type)
          Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
          Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> filterFindByG_P(long groupId, boolean privateLayout)
          Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
 List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
          Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
 List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.
 Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?.
 List<Layout> filterFindByGroupId(long groupId)
          Returns all the layouts that the user has permission to view where groupId = ?.
 List<Layout> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the layouts that the user has permission to view where groupId = ?.
 List<Layout> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.
 List<Layout> findAll()
          Returns all the layouts.
 List<Layout> findAll(int start, int end)
          Returns a range of all the layouts.
 List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts.
 List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts.
 Layout findByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where companyId = ?.
 Layout findByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where companyId = ?.
 Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where companyId = ?.
 List<Layout> findByCompanyId(long companyId)
          Returns all the layouts where companyId = ?.
 List<Layout> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layouts where companyId = ?.
 List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where companyId = ?.
 List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where companyId = ?.
 Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found.
 Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
 Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found.
 Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
 Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
          Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
          Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
 Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
 Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
          Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found.
 Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
 Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
 Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
          Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
          Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
 List<Layout> findByG_P(long groupId, boolean privateLayout)
          Returns all the layouts where groupId = ? and privateLayout = ?.
 List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
          Returns a range of all the layouts where groupId = ? and privateLayout = ?.
 List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
 List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
 Layout findByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where groupId = ?.
 Layout findByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where groupId = ?.
 Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where groupId = ?.
 List<Layout> findByGroupId(long groupId)
          Returns all the layouts where groupId = ?.
 List<Layout> findByGroupId(long groupId, int start, int end)
          Returns a range of all the layouts where groupId = ?.
 List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where groupId = ?.
 List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where groupId = ?.
 Layout findByIconImageId(long iconImageId)
          Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
 Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
 Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
 Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
 List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
          Returns all the layouts where layoutPrototypeUuid = ?.
 List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end)
          Returns a range of all the layouts where layoutPrototypeUuid = ?.
 List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
 List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
 Layout findByPrimaryKey(long plid)
          Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.
 Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
 Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
 Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
 List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
          Returns all the layouts where sourcePrototypeLayoutUuid = ?.
 List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end)
          Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.
 List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
 List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
 Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where uuid = ? and companyId = ?.
 Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where uuid = ? and companyId = ?.
 Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.
 List<Layout> findByUuid_C(String uuid, long companyId)
          Returns all the layouts where uuid = ? and companyId = ?.
 List<Layout> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the layouts where uuid = ? and companyId = ?.
 List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
 List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
 Layout findByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
          Returns the first layout in the ordered set where uuid = ?.
 Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout)
          Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found.
 Layout findByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
          Returns the last layout in the ordered set where uuid = ?.
 Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator<Layout> orderByComparator)
          Returns the layouts before and after the current layout in the ordered set where uuid = ?.
 List<Layout> findByUuid(String uuid)
          Returns all the layouts where uuid = ?.
 List<Layout> findByUuid(String uuid, int start, int end)
          Returns a range of all the layouts where uuid = ?.
 List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator)
          Returns an ordered range of all the layouts where uuid = ?.
 List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layouts where uuid = ?.
 Set<String> getBadColumnNames()
           
 Layout remove(long plid)
          Removes the layout with the primary key from the database.
 void removeAll()
          Removes all the layouts from the database.
 void removeByCompanyId(long companyId)
          Removes all the layouts where companyId = ? from the database.
 Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
 Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
 void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
          Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
 Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
          Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.
 void removeByG_P_T(long groupId, boolean privateLayout, String type)
          Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
 void removeByG_P(long groupId, boolean privateLayout)
          Removes all the layouts where groupId = ? and privateLayout = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the layouts where groupId = ? from the database.
 Layout removeByIconImageId(long iconImageId)
          Removes the layout where iconImageId = ? from the database.
 void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
          Removes all the layouts where layoutPrototypeUuid = ? from the database.
 void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
          Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the layouts where uuid = ? and companyId = ? from the database.
 Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout)
          Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
 void removeByUuid(String uuid)
          Removes all the layouts where uuid = ? from the database.
 Layout updateImpl(Layout layout)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<Layout> findByUuid(String uuid)
Returns all the layouts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching layouts

findByUuid

List<Layout> findByUuid(String uuid,
                        int start,
                        int end)
Returns a range of all the layouts where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByUuid

List<Layout> findByUuid(String uuid,
                        int start,
                        int end,
                        OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByUuid

List<Layout> findByUuid(String uuid,
                        int start,
                        int end,
                        OrderByComparator<Layout> orderByComparator,
                        boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByUuid_First

Layout findByUuid_First(String uuid,
                        OrderByComparator<Layout> orderByComparator)
                        throws NoSuchLayoutException
Returns the first layout in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByUuid_First

Layout fetchByUuid_First(String uuid,
                         OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByUuid_Last

Layout findByUuid_Last(String uuid,
                       OrderByComparator<Layout> orderByComparator)
                       throws NoSuchLayoutException
Returns the last layout in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByUuid_Last

Layout fetchByUuid_Last(String uuid,
                        OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByUuid_PrevAndNext

Layout[] findByUuid_PrevAndNext(long plid,
                                String uuid,
                                OrderByComparator<Layout> orderByComparator)
                                throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where uuid = ?.

Parameters:
plid - the primary key of the current layout
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByUuid

void removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database.

Parameters:
uuid - the uuid

countByUuid

int countByUuid(String uuid)
Returns the number of layouts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching layouts

findByUUID_G_P

Layout findByUUID_G_P(String uuid,
                      long groupId,
                      boolean privateLayout)
                      throws NoSuchLayoutException
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
privateLayout - the private layout
Returns:
the matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByUUID_G_P

Layout fetchByUUID_G_P(String uuid,
                       long groupId,
                       boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
privateLayout - the private layout
Returns:
the matching layout, or null if a matching layout could not be found

fetchByUUID_G_P

Layout fetchByUUID_G_P(String uuid,
                       long groupId,
                       boolean privateLayout,
                       boolean retrieveFromCache)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
privateLayout - the private layout
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout, or null if a matching layout could not be found

removeByUUID_G_P

Layout removeByUUID_G_P(String uuid,
                        long groupId,
                        boolean privateLayout)
                        throws NoSuchLayoutException
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
privateLayout - the private layout
Returns:
the layout that was removed
Throws:
NoSuchLayoutException

countByUUID_G_P

int countByUUID_G_P(String uuid,
                    long groupId,
                    boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.

Parameters:
uuid - the uuid
groupId - the group ID
privateLayout - the private layout
Returns:
the number of matching layouts

findByUuid_C

List<Layout> findByUuid_C(String uuid,
                          long companyId)
Returns all the layouts where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layouts

findByUuid_C

List<Layout> findByUuid_C(String uuid,
                          long companyId,
                          int start,
                          int end)
Returns a range of all the layouts where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByUuid_C

List<Layout> findByUuid_C(String uuid,
                          long companyId,
                          int start,
                          int end,
                          OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByUuid_C

List<Layout> findByUuid_C(String uuid,
                          long companyId,
                          int start,
                          int end,
                          OrderByComparator<Layout> orderByComparator,
                          boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByUuid_C_First

Layout findByUuid_C_First(String uuid,
                          long companyId,
                          OrderByComparator<Layout> orderByComparator)
                          throws NoSuchLayoutException
Returns the first layout in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByUuid_C_First

Layout fetchByUuid_C_First(String uuid,
                           long companyId,
                           OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByUuid_C_Last

Layout findByUuid_C_Last(String uuid,
                         long companyId,
                         OrderByComparator<Layout> orderByComparator)
                         throws NoSuchLayoutException
Returns the last layout in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByUuid_C_Last

Layout fetchByUuid_C_Last(String uuid,
                          long companyId,
                          OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByUuid_C_PrevAndNext

Layout[] findByUuid_C_PrevAndNext(long plid,
                                  String uuid,
                                  long companyId,
                                  OrderByComparator<Layout> orderByComparator)
                                  throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.

Parameters:
plid - the primary key of the current layout
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
Removes all the layouts where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
Returns the number of layouts where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layouts

findByGroupId

List<Layout> findByGroupId(long groupId)
Returns all the layouts where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching layouts

findByGroupId

List<Layout> findByGroupId(long groupId,
                           int start,
                           int end)
Returns a range of all the layouts where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByGroupId

List<Layout> findByGroupId(long groupId,
                           int start,
                           int end,
                           OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByGroupId

List<Layout> findByGroupId(long groupId,
                           int start,
                           int end,
                           OrderByComparator<Layout> orderByComparator,
                           boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByGroupId_First

Layout findByGroupId_First(long groupId,
                           OrderByComparator<Layout> orderByComparator)
                           throws NoSuchLayoutException
Returns the first layout in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByGroupId_First

Layout fetchByGroupId_First(long groupId,
                            OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByGroupId_Last

Layout findByGroupId_Last(long groupId,
                          OrderByComparator<Layout> orderByComparator)
                          throws NoSuchLayoutException
Returns the last layout in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByGroupId_Last

Layout fetchByGroupId_Last(long groupId,
                           OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByGroupId_PrevAndNext

Layout[] findByGroupId_PrevAndNext(long plid,
                                   long groupId,
                                   OrderByComparator<Layout> orderByComparator)
                                   throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where groupId = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

filterFindByGroupId

List<Layout> filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching layouts that the user has permission to view

filterFindByGroupId

List<Layout> filterFindByGroupId(long groupId,
                                 int start,
                                 int end)
Returns a range of all the layouts that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts that the user has permission to view

filterFindByGroupId

List<Layout> filterFindByGroupId(long groupId,
                                 int start,
                                 int end,
                                 OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts that the user has permission to view

filterFindByGroupId_PrevAndNext

Layout[] filterFindByGroupId_PrevAndNext(long plid,
                                         long groupId,
                                         OrderByComparator<Layout> orderByComparator)
                                         throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByGroupId

void removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database.

Parameters:
groupId - the group ID

countByGroupId

int countByGroupId(long groupId)
Returns the number of layouts where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching layouts

filterCountByGroupId

int filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching layouts that the user has permission to view

findByCompanyId

List<Layout> findByCompanyId(long companyId)
Returns all the layouts where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching layouts

findByCompanyId

List<Layout> findByCompanyId(long companyId,
                             int start,
                             int end)
Returns a range of all the layouts where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByCompanyId

List<Layout> findByCompanyId(long companyId,
                             int start,
                             int end,
                             OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByCompanyId

List<Layout> findByCompanyId(long companyId,
                             int start,
                             int end,
                             OrderByComparator<Layout> orderByComparator,
                             boolean retrieveFromCache)
Returns an ordered range of all the layouts where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByCompanyId_First

Layout findByCompanyId_First(long companyId,
                             OrderByComparator<Layout> orderByComparator)
                             throws NoSuchLayoutException
Returns the first layout in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByCompanyId_First

Layout fetchByCompanyId_First(long companyId,
                              OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByCompanyId_Last

Layout findByCompanyId_Last(long companyId,
                            OrderByComparator<Layout> orderByComparator)
                            throws NoSuchLayoutException
Returns the last layout in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByCompanyId_Last

Layout fetchByCompanyId_Last(long companyId,
                             OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByCompanyId_PrevAndNext

Layout[] findByCompanyId_PrevAndNext(long plid,
                                     long companyId,
                                     OrderByComparator<Layout> orderByComparator)
                                     throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where companyId = ?.

Parameters:
plid - the primary key of the current layout
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByCompanyId

void removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database.

Parameters:
companyId - the company ID

countByCompanyId

int countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching layouts

findByIconImageId

Layout findByIconImageId(long iconImageId)
                         throws NoSuchLayoutException
Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.

Parameters:
iconImageId - the icon image ID
Returns:
the matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByIconImageId

Layout fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
iconImageId - the icon image ID
Returns:
the matching layout, or null if a matching layout could not be found

fetchByIconImageId

Layout fetchByIconImageId(long iconImageId,
                          boolean retrieveFromCache)
Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
iconImageId - the icon image ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout, or null if a matching layout could not be found

removeByIconImageId

Layout removeByIconImageId(long iconImageId)
                           throws NoSuchLayoutException
Removes the layout where iconImageId = ? from the database.

Parameters:
iconImageId - the icon image ID
Returns:
the layout that was removed
Throws:
NoSuchLayoutException

countByIconImageId

int countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?.

Parameters:
iconImageId - the icon image ID
Returns:
the number of matching layouts

findByLayoutPrototypeUuid

List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
Returns:
the matching layouts

findByLayoutPrototypeUuid

List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
                                       int start,
                                       int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByLayoutPrototypeUuid

List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
                                       int start,
                                       int end,
                                       OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByLayoutPrototypeUuid

List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
                                       int start,
                                       int end,
                                       OrderByComparator<Layout> orderByComparator,
                                       boolean retrieveFromCache)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByLayoutPrototypeUuid_First

Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
                                       OrderByComparator<Layout> orderByComparator)
                                       throws NoSuchLayoutException
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByLayoutPrototypeUuid_First

Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
                                        OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByLayoutPrototypeUuid_Last

Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
                                      OrderByComparator<Layout> orderByComparator)
                                      throws NoSuchLayoutException
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByLayoutPrototypeUuid_Last

Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
                                       OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByLayoutPrototypeUuid_PrevAndNext

Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid,
                                               String layoutPrototypeUuid,
                                               OrderByComparator<Layout> orderByComparator)
                                               throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.

Parameters:
plid - the primary key of the current layout
layoutPrototypeUuid - the layout prototype uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByLayoutPrototypeUuid

void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database.

Parameters:
layoutPrototypeUuid - the layout prototype uuid

countByLayoutPrototypeUuid

int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?.

Parameters:
layoutPrototypeUuid - the layout prototype uuid
Returns:
the number of matching layouts

findBySourcePrototypeLayoutUuid

List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the matching layouts

findBySourcePrototypeLayoutUuid

List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
                                             int start,
                                             int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findBySourcePrototypeLayoutUuid

List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
                                             int start,
                                             int end,
                                             OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findBySourcePrototypeLayoutUuid

List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
                                             int start,
                                             int end,
                                             OrderByComparator<Layout> orderByComparator,
                                             boolean retrieveFromCache)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findBySourcePrototypeLayoutUuid_First

Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
                                             OrderByComparator<Layout> orderByComparator)
                                             throws NoSuchLayoutException
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchBySourcePrototypeLayoutUuid_First

Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
                                              OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findBySourcePrototypeLayoutUuid_Last

Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
                                            OrderByComparator<Layout> orderByComparator)
                                            throws NoSuchLayoutException
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchBySourcePrototypeLayoutUuid_Last

Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
                                             OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findBySourcePrototypeLayoutUuid_PrevAndNext

Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
                                                     String sourcePrototypeLayoutUuid,
                                                     OrderByComparator<Layout> orderByComparator)
                                                     throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.

Parameters:
plid - the primary key of the current layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeBySourcePrototypeLayoutUuid

void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid

countBySourcePrototypeLayoutUuid

int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?.

Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the number of matching layouts

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the matching layouts

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout,
                       int start,
                       int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout,
                       int start,
                       int end,
                       OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout,
                       int start,
                       int end,
                       OrderByComparator<Layout> orderByComparator,
                       boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByG_P_First

Layout findByG_P_First(long groupId,
                       boolean privateLayout,
                       OrderByComparator<Layout> orderByComparator)
                       throws NoSuchLayoutException
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_First

Layout fetchByG_P_First(long groupId,
                        boolean privateLayout,
                        OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByG_P_Last

Layout findByG_P_Last(long groupId,
                      boolean privateLayout,
                      OrderByComparator<Layout> orderByComparator)
                      throws NoSuchLayoutException
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_Last

Layout fetchByG_P_Last(long groupId,
                       boolean privateLayout,
                       OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByG_P_PrevAndNext

Layout[] findByG_P_PrevAndNext(long plid,
                               long groupId,
                               boolean privateLayout,
                               OrderByComparator<Layout> orderByComparator)
                               throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

filterFindByG_P

List<Layout> filterFindByG_P(long groupId,
                             boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the matching layouts that the user has permission to view

filterFindByG_P

List<Layout> filterFindByG_P(long groupId,
                             boolean privateLayout,
                             int start,
                             int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts that the user has permission to view

filterFindByG_P

List<Layout> filterFindByG_P(long groupId,
                             boolean privateLayout,
                             int start,
                             int end,
                             OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts that the user has permission to view

filterFindByG_P_PrevAndNext

Layout[] filterFindByG_P_PrevAndNext(long plid,
                                     long groupId,
                                     boolean privateLayout,
                                     OrderByComparator<Layout> orderByComparator)
                                     throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the number of matching layouts

filterCountByG_P

int filterCountByG_P(long groupId,
                     boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the number of matching layouts that the user has permission to view

findByG_P_L

Layout findByG_P_L(long groupId,
                   boolean privateLayout,
                   long layoutId)
                   throws NoSuchLayoutException
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_L

Layout fetchByG_P_L(long groupId,
                    boolean privateLayout,
                    long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the matching layout, or null if a matching layout could not be found

fetchByG_P_L

Layout fetchByG_P_L(long groupId,
                    boolean privateLayout,
                    long layoutId,
                    boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout, or null if a matching layout could not be found

removeByG_P_L

Layout removeByG_P_L(long groupId,
                     boolean privateLayout,
                     long layoutId)
                     throws NoSuchLayoutException
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the layout that was removed
Throws:
NoSuchLayoutException

countByG_P_L

int countByG_P_L(long groupId,
                 boolean privateLayout,
                 long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the number of matching layouts

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
Returns:
the matching layouts

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         int start,
                         int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         int start,
                         int end,
                         OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         int start,
                         int end,
                         OrderByComparator<Layout> orderByComparator,
                         boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByG_P_P_First

Layout findByG_P_P_First(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         OrderByComparator<Layout> orderByComparator)
                         throws NoSuchLayoutException
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_P_First

Layout fetchByG_P_P_First(long groupId,
                          boolean privateLayout,
                          long parentLayoutId,
                          OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByG_P_P_Last

Layout findByG_P_P_Last(long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        OrderByComparator<Layout> orderByComparator)
                        throws NoSuchLayoutException
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_P_Last

Layout fetchByG_P_P_Last(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByG_P_P_PrevAndNext

Layout[] findByG_P_P_PrevAndNext(long plid,
                                 long groupId,
                                 boolean privateLayout,
                                 long parentLayoutId,
                                 OrderByComparator<Layout> orderByComparator)
                                 throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

filterFindByG_P_P

List<Layout> filterFindByG_P_P(long groupId,
                               boolean privateLayout,
                               long parentLayoutId)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
Returns:
the matching layouts that the user has permission to view

filterFindByG_P_P

List<Layout> filterFindByG_P_P(long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               int start,
                               int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts that the user has permission to view

filterFindByG_P_P

List<Layout> filterFindByG_P_P(long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               int start,
                               int end,
                               OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts that the user has permission to view

filterFindByG_P_P_PrevAndNext

Layout[] filterFindByG_P_P_PrevAndNext(long plid,
                                       long groupId,
                                       boolean privateLayout,
                                       long parentLayoutId,
                                       OrderByComparator<Layout> orderByComparator)
                                       throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByG_P_P

void removeByG_P_P(long groupId,
                   boolean privateLayout,
                   long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID

countByG_P_P

int countByG_P_P(long groupId,
                 boolean privateLayout,
                 long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
Returns:
the number of matching layouts

filterCountByG_P_P

int filterCountByG_P_P(long groupId,
                       boolean privateLayout,
                       long parentLayoutId)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
parentLayoutId - the parent layout ID
Returns:
the number of matching layouts that the user has permission to view

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
Returns:
the matching layouts

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type,
                         int start,
                         int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type,
                         int start,
                         int end,
                         OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type,
                         int start,
                         int end,
                         OrderByComparator<Layout> orderByComparator,
                         boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layouts

findByG_P_T_First

Layout findByG_P_T_First(long groupId,
                         boolean privateLayout,
                         String type,
                         OrderByComparator<Layout> orderByComparator)
                         throws NoSuchLayoutException
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_T_First

Layout fetchByG_P_T_First(long groupId,
                          boolean privateLayout,
                          String type,
                          OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout, or null if a matching layout could not be found

findByG_P_T_Last

Layout findByG_P_T_Last(long groupId,
                        boolean privateLayout,
                        String type,
                        OrderByComparator<Layout> orderByComparator)
                        throws NoSuchLayoutException
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_T_Last

Layout fetchByG_P_T_Last(long groupId,
                         boolean privateLayout,
                         String type,
                         OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout, or null if a matching layout could not be found

findByG_P_T_PrevAndNext

Layout[] findByG_P_T_PrevAndNext(long plid,
                                 long groupId,
                                 boolean privateLayout,
                                 String type,
                                 OrderByComparator<Layout> orderByComparator)
                                 throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

filterFindByG_P_T

List<Layout> filterFindByG_P_T(long groupId,
                               boolean privateLayout,
                               String type)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
Returns:
the matching layouts that the user has permission to view

filterFindByG_P_T

List<Layout> filterFindByG_P_T(long groupId,
                               boolean privateLayout,
                               String type,
                               int start,
                               int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of matching layouts that the user has permission to view

filterFindByG_P_T

List<Layout> filterFindByG_P_T(long groupId,
                               boolean privateLayout,
                               String type,
                               int start,
                               int end,
                               OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layouts that the user has permission to view

filterFindByG_P_T_PrevAndNext

Layout[] filterFindByG_P_T_PrevAndNext(long plid,
                                       long groupId,
                                       boolean privateLayout,
                                       String type,
                                       OrderByComparator<Layout> orderByComparator)
                                       throws NoSuchLayoutException
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.

Parameters:
plid - the primary key of the current layout
groupId - the group ID
privateLayout - the private layout
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

removeByG_P_T

void removeByG_P_T(long groupId,
                   boolean privateLayout,
                   String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type

countByG_P_T

int countByG_P_T(long groupId,
                 boolean privateLayout,
                 String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
Returns:
the number of matching layouts

filterCountByG_P_T

int filterCountByG_P_T(long groupId,
                       boolean privateLayout,
                       String type)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
type - the type
Returns:
the number of matching layouts that the user has permission to view

findByG_P_F

Layout findByG_P_F(long groupId,
                   boolean privateLayout,
                   String friendlyURL)
                   throws NoSuchLayoutException
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_F

Layout fetchByG_P_F(long groupId,
                    boolean privateLayout,
                    String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the matching layout, or null if a matching layout could not be found

fetchByG_P_F

Layout fetchByG_P_F(long groupId,
                    boolean privateLayout,
                    String friendlyURL,
                    boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout, or null if a matching layout could not be found

removeByG_P_F

Layout removeByG_P_F(long groupId,
                     boolean privateLayout,
                     String friendlyURL)
                     throws NoSuchLayoutException
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the layout that was removed
Throws:
NoSuchLayoutException

countByG_P_F

int countByG_P_F(long groupId,
                 boolean privateLayout,
                 String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the number of matching layouts

findByG_P_SPLU

Layout findByG_P_SPLU(long groupId,
                      boolean privateLayout,
                      String sourcePrototypeLayoutUuid)
                      throws NoSuchLayoutException
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found.

Parameters:
groupId - the group ID
privateLayout - the private layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the matching layout
Throws:
NoSuchLayoutException - if a matching layout could not be found

fetchByG_P_SPLU

Layout fetchByG_P_SPLU(long groupId,
                       boolean privateLayout,
                       String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the matching layout, or null if a matching layout could not be found

fetchByG_P_SPLU

Layout fetchByG_P_SPLU(long groupId,
                       boolean privateLayout,
                       String sourcePrototypeLayoutUuid,
                       boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout, or null if a matching layout could not be found

removeByG_P_SPLU

Layout removeByG_P_SPLU(long groupId,
                        boolean privateLayout,
                        String sourcePrototypeLayoutUuid)
                        throws NoSuchLayoutException
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the layout that was removed
Throws:
NoSuchLayoutException

countByG_P_SPLU

int countByG_P_SPLU(long groupId,
                    boolean privateLayout,
                    String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
sourcePrototypeLayoutUuid - the source prototype layout uuid
Returns:
the number of matching layouts

cacheResult

void cacheResult(Layout layout)
Caches the layout in the entity cache if it is enabled.

Parameters:
layout - the layout

cacheResult

void cacheResult(List<Layout> layouts)
Caches the layouts in the entity cache if it is enabled.

Parameters:
layouts - the layouts

create

Layout create(long plid)
Creates a new layout with the primary key. Does not add the layout to the database.

Parameters:
plid - the primary key for the new layout
Returns:
the new layout

remove

Layout remove(long plid)
              throws NoSuchLayoutException
Removes the layout with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
plid - the primary key of the layout
Returns:
the layout that was removed
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

updateImpl

Layout updateImpl(Layout layout)

findByPrimaryKey

Layout findByPrimaryKey(long plid)
                        throws NoSuchLayoutException
Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.

Parameters:
plid - the primary key of the layout
Returns:
the layout
Throws:
NoSuchLayoutException - if a layout with the primary key could not be found

fetchByPrimaryKey

Layout fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns null if it could not be found.

Parameters:
plid - the primary key of the layout
Returns:
the layout, or null if a layout with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<Layout>

findAll

List<Layout> findAll()
Returns all the layouts.

Returns:
the layouts

findAll

List<Layout> findAll(int start,
                     int end)
Returns a range of all the layouts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of layouts

findAll

List<Layout> findAll(int start,
                     int end,
                     OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of layouts

findAll

List<Layout> findAll(int start,
                     int end,
                     OrderByComparator<Layout> orderByComparator,
                     boolean retrieveFromCache)
Returns an ordered range of all the layouts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from LayoutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of layouts

removeAll

void removeAll()
Removes all the layouts from the database.


countAll

int countAll()
Returns the number of layouts.

Returns:
the number of layouts

getBadColumnNames

Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<Layout>

Liferay 7.0-ce-b4