@ProviderType
public class LayoutUtil
extends Object
LayoutPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
LayoutPersistence
,
LayoutPersistenceImpl
Constructor and Description |
---|
LayoutUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(Layout layout)
Caches the layout in the entity cache if it is enabled.
|
static void |
cacheResult(List<Layout> layouts)
Caches the layouts in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(Layout layout) |
static int |
countAll()
Returns the number of layouts.
|
static int |
countByC_L(long companyId,
String layoutPrototypeUuid)
Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?.
|
static int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
|
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
|
static int |
countByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
static int |
countByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static int |
countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
|
static int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
|
static int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of layouts where groupId = ?.
|
static int |
countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?.
|
static int |
countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?.
|
static int |
countByP_I(boolean privateLayout,
long iconImageId)
Returns the number of layouts where privateLayout = ? and iconImageId = ?.
|
static int |
countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layouts where uuid = ? and companyId = ?.
|
static int |
countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
|
static int |
countByUuid(String uuid)
Returns the number of layouts where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static Layout |
create(long plid)
Creates a new layout with the primary key.
|
static Layout |
fetchByC_L_First(long companyId,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
static Layout |
fetchByC_L_Last(long companyId,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
static Layout |
fetchByCompanyId_First(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?.
|
static Layout |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?.
|
static 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. |
static 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. |
static Layout |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
|
static 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. |
static 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. |
static Layout |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Layout |
fetchByG_P_P_LtP_First(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static Layout |
fetchByG_P_P_LtP_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static Layout |
fetchByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?.
|
static Layout |
fetchByGroupId_Last(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?.
|
static Layout |
fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns
null if it could not be found. |
static 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. |
static Layout |
fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
|
static Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
|
static Layout |
fetchByP_I(boolean privateLayout,
long iconImageId)
Returns the layout where privateLayout = ? and iconImageId = ? or returns
null if it could not be found. |
static Layout |
fetchByP_I(boolean privateLayout,
long iconImageId,
boolean retrieveFromCache)
Returns the layout where privateLayout = ? and iconImageId = ? or returns
null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns
null if it could not be found. |
static Map<Serializable,Layout> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
static Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
static Layout |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?.
|
static Layout |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?.
|
static Layout |
fetchByUuid_First(String uuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ?.
|
static 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. |
static 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. |
static Layout |
fetchByUuid_Last(String uuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?.
|
static int |
filterCountByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static 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 = ?.
|
static int |
filterCountByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static 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 = ?.
|
static int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?.
|
static Layout[] |
filterFindByG_P_P_LtP_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
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 = ? and priority ≤ ?.
|
static List<Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
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 = ? and priority ≤ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
findAll()
Returns all the layouts.
|
static List<Layout> |
findAll(int start,
int end)
Returns a range of all the layouts.
|
static List<Layout> |
findAll(int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts.
|
static List<Layout> |
findAll(int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts.
|
static Layout |
findByC_L_First(long companyId,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
static Layout |
findByC_L_Last(long companyId,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
static Layout[] |
findByC_L_PrevAndNext(long plid,
long companyId,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
static List<Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid)
Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
static List<Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
static List<Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
static List<Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
static Layout |
findByCompanyId_First(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?.
|
static Layout |
findByCompanyId_Last(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?.
|
static 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 = ?.
|
static List<Layout> |
findByCompanyId(long companyId)
Returns all the layouts where companyId = ?.
|
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layouts where companyId = ?.
|
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ?.
|
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where companyId = ?.
|
static 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. |
static Layout |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
|
static 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. |
static Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Layout |
findByG_P_P_LtP_First(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static Layout |
findByG_P_P_LtP_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static Layout[] |
findByG_P_P_LtP_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
OrderByComparator<Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static List<Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
static 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 = ?.
|
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?.
|
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Layout |
findByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?.
|
static Layout |
findByGroupId_Last(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?.
|
static 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 = ?.
|
static List<Layout> |
findByGroupId(long groupId)
Returns all the layouts where groupId = ?.
|
static List<Layout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts where groupId = ?.
|
static List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ?.
|
static List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ?.
|
static Layout |
findByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or throws a
NoSuchLayoutException if it could not be found. |
static Layout |
findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
|
static Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
|
static 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 = ?.
|
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?.
|
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?.
|
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
|
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
|
static Layout |
findByP_I(boolean privateLayout,
long iconImageId)
Returns the layout where privateLayout = ? and iconImageId = ? or throws a
NoSuchLayoutException if it could not be found. |
static Layout |
findByPrimaryKey(long plid)
Returns the layout with the primary key or throws a
NoSuchLayoutException if it could not be found. |
static Layout |
findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
static Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
static 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 = ?.
|
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?.
|
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
static Layout |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?.
|
static Layout |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static List<Layout> |
findByUuid_C(String uuid,
long companyId)
Returns all the layouts where uuid = ? and companyId = ?.
|
static List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layouts where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Layout |
findByUuid_First(String uuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ?.
|
static 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. |
static Layout |
findByUuid_Last(String uuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?.
|
static 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 = ?.
|
static List<Layout> |
findByUuid(String uuid)
Returns all the layouts where uuid = ?.
|
static List<Layout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layouts where uuid = ?.
|
static List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ?.
|
static List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ?.
|
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Layout> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static LayoutPersistence |
getPersistence() |
static Layout |
remove(long plid)
Removes the layout with the primary key from the database.
|
static void |
removeAll()
Removes all the layouts from the database.
|
static void |
removeByC_L(long companyId,
String layoutPrototypeUuid)
Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database.
|
static Layout |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
|
static Layout |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
|
static void |
removeByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.
|
static void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
|
static Layout |
removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.
|
static void |
removeByG_P_T(long groupId,
boolean privateLayout,
String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
|
static void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database.
|
static Layout |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database.
|
static void |
removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database.
|
static Layout |
removeByP_I(boolean privateLayout,
long iconImageId)
Removes the layout where privateLayout = ? and iconImageId = ? from the database.
|
static void |
removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layouts where uuid = ? and companyId = ? from the database.
|
static Layout |
removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database.
|
static Layout |
update(Layout layout) |
static Layout |
update(Layout layout,
ServiceContext serviceContext) |
static Layout |
updateImpl(Layout layout) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(Layout layout)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Layout> orderByComparator)
public static Layout update(Layout layout, ServiceContext serviceContext)
public static List<Layout> findByUuid(String uuid)
uuid
- the uuidpublic static List<Layout> findByUuid(String uuid, int start, int end)
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.
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutnull
if a matching layout could not be foundpublic static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutNoSuchLayoutException
public static int countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutpublic static List<Layout> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<Layout> findByGroupId(long groupId)
groupId
- the group IDpublic static List<Layout> findByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static List<Layout> filterFindByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static List<Layout> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<Layout> findByCompanyId(long companyId, int start, int end)
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.
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static Layout findByIconImageId(long iconImageId) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.iconImageId
- the icon image IDNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByIconImageId(long iconImageId)
null
if it could not be found. Uses the finder cache.iconImageId
- the icon image IDnull
if a matching layout could not be foundpublic static Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.iconImageId
- the icon image IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByIconImageId(long iconImageId) throws NoSuchLayoutException
iconImageId
- the icon image IDNoSuchLayoutException
public static int countByIconImageId(long iconImageId)
iconImageId
- the icon image IDpublic static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
layoutPrototypeUuid
- the layout prototype uuidpublic static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end)
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.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
layoutPrototypeUuid
- the layout prototype uuidpublic static int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
layoutPrototypeUuid
- the layout prototype uuidpublic static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end)
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.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic static int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic static List<Layout> findByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static int countByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static int filterCountByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid)
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end)
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.
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutcompanyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByC_L(long companyId, String layoutPrototypeUuid)
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic static int countByC_L(long companyId, String layoutPrototypeUuid)
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic static Layout findByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.privateLayout
- the private layouticonImageId
- the icon image IDNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByP_I(boolean privateLayout, long iconImageId)
null
if it could not be found. Uses the finder cache.privateLayout
- the private layouticonImageId
- the icon image IDnull
if a matching layout could not be foundpublic static Layout fetchByP_I(boolean privateLayout, long iconImageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.privateLayout
- the private layouticonImageId
- the icon image IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException
privateLayout
- the private layouticonImageId
- the icon image IDNoSuchLayoutException
public static int countByP_I(boolean privateLayout, long iconImageId)
privateLayout
- the private layouticonImageId
- the icon image IDpublic static Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDnull
if a matching layout could not be foundpublic static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDNoSuchLayoutException
public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- 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 cachepublic static void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic static int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic static int countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic static int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic static int filterCountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type)
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByG_P_T(long groupId, boolean privateLayout, String type)
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic static int countByG_P_T(long groupId, boolean privateLayout, String type)
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic static int filterCountByG_P_T(long groupId, boolean privateLayout, String type)
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic static Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlnull
if a matching layout could not be foundpublic static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlNoSuchLayoutException
public static int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlpublic static Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidNoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidnull
if a matching layout could not be foundpublic static Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic static Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidNoSuchLayoutException
public static int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidpublic static List<Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic static List<Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- 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 cachepublic static Layout findByG_P_P_LtP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_P_LtP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout findByG_P_P_LtP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a matching layout could not be foundpublic static Layout fetchByG_P_P_LtP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic static Layout[] findByG_P_P_LtP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static List<Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic static List<Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
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.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static Layout[] filterFindByG_P_P_LtP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutException
- if a layout with the primary key could not be foundpublic static void removeByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic static int countByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic static int filterCountByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic static void cacheResult(Layout layout)
layout
- the layoutpublic static void cacheResult(List<Layout> layouts)
layouts
- the layoutspublic static Layout create(long plid)
plid
- the primary key for the new layoutpublic static Layout remove(long plid) throws NoSuchLayoutException
plid
- the primary key of the layoutNoSuchLayoutException
- if a layout with the primary key could not be foundpublic static Layout findByPrimaryKey(long plid) throws NoSuchLayoutException
NoSuchLayoutException
if it could not be found.plid
- the primary key of the layoutNoSuchLayoutException
- if a layout with the primary key could not be foundpublic static Layout fetchByPrimaryKey(long plid)
null
if it could not be found.plid
- the primary key of the layoutnull
if a layout with the primary key could not be foundpublic static Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<Layout> findAll()
public static List<Layout> findAll(int start, int end)
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.
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public static List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator)
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.
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator, boolean retrieveFromCache)
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.
start
- the lower bound of the range of layoutsend
- 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 cachepublic static void removeAll()
public static int countAll()
public static Set<String> getBadColumnNames()
public static LayoutPersistence getPersistence()