public class CPDisplayLayoutUtil
extends java.lang.Object
com.liferay.commerce.product.service.persistence.impl.CPDisplayLayoutPersistenceImpl
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
CPDisplayLayoutPersistence
Constructor and Description |
---|
CPDisplayLayoutUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CPDisplayLayout cpDisplayLayout)
Caches the cp display layout in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPDisplayLayout> cpDisplayLayouts)
Caches the cp display layouts in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CPDisplayLayout cpDisplayLayout) |
static int |
countAll()
Returns the number of cp display layouts.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of cp display layouts where classNameId = ? and classPK = ?.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of cp display layouts where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByG_C(long groupId,
long classNameId)
Returns the number of cp display layouts where groupId = ? and classNameId = ?.
|
static int |
countByG_L(long groupId,
java.lang.String layoutUuid)
Returns the number of cp display layouts where groupId = ? and layoutUuid = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of cp display layouts where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp display layouts where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp display layouts where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cp display layouts where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CPDisplayLayout |
create(long CPDisplayLayoutId)
Creates a new cp display layout with the primary key.
|
static CPDisplayLayout |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.
|
static CPDisplayLayout |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.
|
static CPDisplayLayout |
fetchByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
static CPDisplayLayout |
fetchByG_C_C(long groupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDisplayLayout |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.
|
static CPDisplayLayout |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.
|
static CPDisplayLayout |
fetchByG_L_First(long groupId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.
|
static CPDisplayLayout |
fetchByG_L_Last(long groupId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.
|
static CPDisplayLayout |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ?.
|
static CPDisplayLayout |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ?.
|
static CPDisplayLayout |
fetchByPrimaryKey(long CPDisplayLayoutId)
Returns the cp display layout with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPDisplayLayout> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPDisplayLayout |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where uuid = ? and companyId = ?.
|
static CPDisplayLayout |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where uuid = ? and companyId = ?.
|
static CPDisplayLayout |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where uuid = ?.
|
static CPDisplayLayout |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp display layout where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPDisplayLayout |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp display layout where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDisplayLayout |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findAll()
Returns all the cp display layouts.
|
static java.util.List<CPDisplayLayout> |
findAll(int start,
int end)
Returns a range of all the cp display layouts.
|
static java.util.List<CPDisplayLayout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts.
|
static java.util.List<CPDisplayLayout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts.
|
static CPDisplayLayout |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.
|
static CPDisplayLayout |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.
|
static CPDisplayLayout[] |
findByC_C_PrevAndNext(long CPDisplayLayoutId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.
|
static java.util.List<CPDisplayLayout> |
findByC_C(long classNameId,
long classPK)
Returns all the cp display layouts where classNameId = ? and classPK = ?.
|
static java.util.List<CPDisplayLayout> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.
|
static java.util.List<CPDisplayLayout> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.
|
static java.util.List<CPDisplayLayout> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.
|
static CPDisplayLayout |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchCPDisplayLayoutException if it could not be found. |
static CPDisplayLayout |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.
|
static CPDisplayLayout |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.
|
static CPDisplayLayout[] |
findByG_C_PrevAndNext(long CPDisplayLayoutId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and classNameId = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_C(long groupId,
long classNameId)
Returns all the cp display layouts where groupId = ? and classNameId = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the cp display layouts where groupId = ? and classNameId = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.
|
static CPDisplayLayout |
findByG_L_First(long groupId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.
|
static CPDisplayLayout |
findByG_L_Last(long groupId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.
|
static CPDisplayLayout[] |
findByG_L_PrevAndNext(long CPDisplayLayoutId,
long groupId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and layoutUuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_L(long groupId,
java.lang.String layoutUuid)
Returns all the cp display layouts where groupId = ? and layoutUuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_L(long groupId,
java.lang.String layoutUuid,
int start,
int end)
Returns a range of all the cp display layouts where groupId = ? and layoutUuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_L(long groupId,
java.lang.String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByG_L(long groupId,
java.lang.String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.
|
static CPDisplayLayout |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where groupId = ?.
|
static CPDisplayLayout |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where groupId = ?.
|
static CPDisplayLayout[] |
findByGroupId_PrevAndNext(long CPDisplayLayoutId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ?.
|
static java.util.List<CPDisplayLayout> |
findByGroupId(long groupId)
Returns all the cp display layouts where groupId = ?.
|
static java.util.List<CPDisplayLayout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp display layouts where groupId = ?.
|
static java.util.List<CPDisplayLayout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where groupId = ?.
|
static java.util.List<CPDisplayLayout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where groupId = ?.
|
static CPDisplayLayout |
findByPrimaryKey(long CPDisplayLayoutId)
Returns the cp display layout with the primary key or throws a
NoSuchCPDisplayLayoutException if it could not be found. |
static CPDisplayLayout |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where uuid = ? and companyId = ?.
|
static CPDisplayLayout |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where uuid = ? and companyId = ?.
|
static CPDisplayLayout[] |
findByUuid_C_PrevAndNext(long CPDisplayLayoutId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp display layouts where uuid = ? and companyId = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp display layouts where uuid = ? and companyId = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where uuid = ? and companyId = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where uuid = ? and companyId = ?.
|
static CPDisplayLayout |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the first cp display layout in the ordered set where uuid = ?.
|
static CPDisplayLayout |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp display layout where uuid = ? and groupId = ? or throws a
NoSuchCPDisplayLayoutException if it could not be found. |
static CPDisplayLayout |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the last cp display layout in the ordered set where uuid = ?.
|
static CPDisplayLayout[] |
findByUuid_PrevAndNext(long CPDisplayLayoutId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid(java.lang.String uuid)
Returns all the cp display layouts where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp display layouts where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns an ordered range of all the cp display layouts where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp display layouts where uuid = ?.
|
static java.util.List<CPDisplayLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPDisplayLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPDisplayLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) |
static CPDisplayLayoutPersistence |
getPersistence() |
static CPDisplayLayout |
remove(long CPDisplayLayoutId)
Removes the cp display layout with the primary key from the database.
|
static void |
removeAll()
Removes all the cp display layouts from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.
|
static CPDisplayLayout |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes the cp display layout where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByG_C(long groupId,
long classNameId)
Removes all the cp display layouts where groupId = ? and classNameId = ? from the database.
|
static void |
removeByG_L(long groupId,
java.lang.String layoutUuid)
Removes all the cp display layouts where groupId = ? and layoutUuid = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the cp display layouts where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp display layouts where uuid = ? and companyId = ? from the database.
|
static CPDisplayLayout |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp display layout where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cp display layouts where uuid = ? from the database.
|
static CPDisplayLayout |
update(CPDisplayLayout cpDisplayLayout) |
static CPDisplayLayout |
update(CPDisplayLayout cpDisplayLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDisplayLayout |
updateImpl(CPDisplayLayout cpDisplayLayout) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CPDisplayLayout cpDisplayLayout)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CPDisplayLayout> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CPDisplayLayout update(CPDisplayLayout cpDisplayLayout)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CPDisplayLayout update(CPDisplayLayout cpDisplayLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CPDisplayLayout> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CPDisplayLayout> findByUuid(java.lang.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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByUuid_PrevAndNext(long CPDisplayLayoutId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CPDisplayLayout findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDisplayLayoutException
NoSuchCPDisplayLayoutException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp display layout could not be foundpublic static CPDisplayLayout removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDisplayLayoutException
uuid
- the uuidgroupId
- the group IDNoSuchCPDisplayLayoutException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CPDisplayLayout> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPDisplayLayout> findByUuid_C(java.lang.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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByUuid_C_PrevAndNext(long CPDisplayLayoutId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPDisplayLayout> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByGroupId_PrevAndNext(long CPDisplayLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display 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 java.util.List<CPDisplayLayout> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static java.util.List<CPDisplayLayout> findByG_C(long groupId, long classNameId, 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByG_C_PrevAndNext(long CPDisplayLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutgroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static void removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static int countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static java.util.List<CPDisplayLayout> findByG_L(long groupId, java.lang.String layoutUuid)
groupId
- the group IDlayoutUuid
- the layout uuidpublic static java.util.List<CPDisplayLayout> findByG_L(long groupId, java.lang.String layoutUuid, 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDlayoutUuid
- the layout uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByG_L(long groupId, java.lang.String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDlayoutUuid
- the layout uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByG_L(long groupId, java.lang.String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
groupId
- the group IDlayoutUuid
- the layout uuidstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByG_L_First(long groupId, java.lang.String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDlayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_L_First(long groupId, java.lang.String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDlayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByG_L_Last(long groupId, java.lang.String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
groupId
- the group IDlayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_L_Last(long groupId, java.lang.String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
groupId
- the group IDlayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByG_L_PrevAndNext(long CPDisplayLayoutId, long groupId, java.lang.String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutgroupId
- the group IDlayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static void removeByG_L(long groupId, java.lang.String layoutUuid)
groupId
- the group IDlayoutUuid
- the layout uuidpublic static int countByG_L(long groupId, java.lang.String layoutUuid)
groupId
- the group IDlayoutUuid
- the layout uuidpublic static java.util.List<CPDisplayLayout> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CPDisplayLayout> findByC_C(long classNameId, long classPK, 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDisplayLayout findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp display layout could not be foundpublic static CPDisplayLayout[] findByC_C_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the current cp display layoutclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static CPDisplayLayout findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchCPDisplayLayoutException
NoSuchCPDisplayLayoutException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchCPDisplayLayoutException
- if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_C_C(long groupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching cp display layout could not be foundpublic static CPDisplayLayout fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching cp display layout could not be foundpublic static CPDisplayLayout removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchCPDisplayLayoutException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchCPDisplayLayoutException
public static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static void cacheResult(CPDisplayLayout cpDisplayLayout)
cpDisplayLayout
- the cp display layoutpublic static void cacheResult(java.util.List<CPDisplayLayout> cpDisplayLayouts)
cpDisplayLayouts
- the cp display layoutspublic static CPDisplayLayout create(long CPDisplayLayoutId)
CPDisplayLayoutId
- the primary key for the new cp display layoutpublic static CPDisplayLayout remove(long CPDisplayLayoutId) throws NoSuchCPDisplayLayoutException
CPDisplayLayoutId
- the primary key of the cp display layoutNoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static CPDisplayLayout updateImpl(CPDisplayLayout cpDisplayLayout)
public static CPDisplayLayout findByPrimaryKey(long CPDisplayLayoutId) throws NoSuchCPDisplayLayoutException
NoSuchCPDisplayLayoutException
if it could not be found.CPDisplayLayoutId
- the primary key of the cp display layoutNoSuchCPDisplayLayoutException
- if a cp display layout with the primary key could not be foundpublic static CPDisplayLayout fetchByPrimaryKey(long CPDisplayLayoutId)
null
if it could not be found.CPDisplayLayoutId
- the primary key of the cp display layoutnull
if a cp display layout with the primary key could not be foundpublic static java.util.List<CPDisplayLayout> findAll()
public static java.util.List<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
start
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)public static java.util.List<CPDisplayLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> 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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
start
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDisplayLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CPDisplayLayoutModelImpl
.
start
- the lower bound of the range of cp display layoutsend
- the upper bound of the range of cp display layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CPDisplayLayoutPersistence getPersistence()