public class LayoutClassedModelUsageUtil
extends java.lang.Object
com.liferay.layout.service.persistence.impl.LayoutClassedModelUsagePersistenceImpl
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
LayoutClassedModelUsagePersistence
Constructor and Description |
---|
LayoutClassedModelUsageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutClassedModelUsage layoutClassedModelUsage)
Caches the layout classed model usage in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutClassedModelUsage> layoutClassedModelUsages)
Caches the layout classed model usages in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutClassedModelUsage layoutClassedModelUsage) |
static int |
countAll()
Returns the number of layout classed model usages.
|
static int |
countByC_C_CK_CT_P(long classNameId,
long classPK,
java.lang.String containerKey,
long containerType,
long plid)
Returns the number of layout classed model usages where classNameId = ? and classPK = ? and containerKey = ? and containerType = ? and plid = ?.
|
static int |
countByC_C_T(long classNameId,
long classPK,
int type)
Returns the number of layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of layout classed model usages where classNameId = ? and classPK = ?.
|
static int |
countByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Returns the number of layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
|
static int |
countByPlid(long plid)
Returns the number of layout classed model usages where plid = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout classed model usages where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout classed model usages where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout classed model usages where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutClassedModelUsage |
create(long layoutClassedModelUsageId)
Creates a new layout classed model usage with the primary key.
|
static LayoutClassedModelUsage |
fetchByC_C_CK_CT_P(long classNameId,
long classPK,
java.lang.String containerKey,
long containerType,
long plid)
Returns the layout classed model usage where classNameId = ? and classPK = ? and containerKey = ? and containerType = ? and plid = ? or returns
null if it could not be found. |
static LayoutClassedModelUsage |
fetchByC_C_CK_CT_P(long classNameId,
long classPK,
java.lang.String containerKey,
long containerType,
long plid,
boolean useFinderCache)
Returns the layout classed model usage where classNameId = ? and classPK = ? and containerKey = ? and containerType = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutClassedModelUsage |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage |
fetchByC_C_T_First(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static LayoutClassedModelUsage |
fetchByC_C_T_Last(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static LayoutClassedModelUsage |
fetchByCK_CT_P_First(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static LayoutClassedModelUsage |
fetchByCK_CT_P_Last(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static LayoutClassedModelUsage |
fetchByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where plid = ?.
|
static LayoutClassedModelUsage |
fetchByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where plid = ?.
|
static LayoutClassedModelUsage |
fetchByPrimaryKey(long layoutClassedModelUsageId)
Returns the layout classed model usage with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutClassedModelUsage> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutClassedModelUsage |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where uuid = ? and companyId = ?.
|
static LayoutClassedModelUsage |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where uuid = ? and companyId = ?.
|
static LayoutClassedModelUsage |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where uuid = ?.
|
static LayoutClassedModelUsage |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout classed model usage where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutClassedModelUsage |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout classed model usage where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutClassedModelUsage |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findAll()
Returns all the layout classed model usages.
|
static java.util.List<LayoutClassedModelUsage> |
findAll(int start,
int end)
Returns a range of all the layout classed model usages.
|
static java.util.List<LayoutClassedModelUsage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages.
|
static java.util.List<LayoutClassedModelUsage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages.
|
static LayoutClassedModelUsage |
findByC_C_CK_CT_P(long classNameId,
long classPK,
java.lang.String containerKey,
long containerType,
long plid)
Returns the layout classed model usage where classNameId = ? and classPK = ? and containerKey = ? and containerType = ? and plid = ? or throws a
NoSuchClassedModelUsageException if it could not be found. |
static LayoutClassedModelUsage |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage[] |
findByC_C_PrevAndNext(long layoutClassedModelUsageId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage |
findByC_C_T_First(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static LayoutClassedModelUsage |
findByC_C_T_Last(long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static LayoutClassedModelUsage[] |
findByC_C_T_PrevAndNext(long layoutClassedModelUsageId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C_T(long classNameId,
long classPK,
int type)
Returns all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end)
Returns a range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C_T(long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C(long classNameId,
long classPK)
Returns all the layout classed model usages where classNameId = ? and classPK = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the layout classed model usages where classNameId = ? and classPK = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.
|
static LayoutClassedModelUsage |
findByCK_CT_P_First(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static LayoutClassedModelUsage |
findByCK_CT_P_Last(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static LayoutClassedModelUsage[] |
findByCK_CT_P_PrevAndNext(long layoutClassedModelUsageId,
java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Returns all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
int start,
int end)
Returns a range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
|
static LayoutClassedModelUsage |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where plid = ?.
|
static LayoutClassedModelUsage |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where plid = ?.
|
static LayoutClassedModelUsage[] |
findByPlid_PrevAndNext(long layoutClassedModelUsageId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByPlid(long plid)
Returns all the layout classed model usages where plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByPlid(long plid,
int start,
int end)
Returns a range of all the layout classed model usages where plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where plid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where plid = ?.
|
static LayoutClassedModelUsage |
findByPrimaryKey(long layoutClassedModelUsageId)
Returns the layout classed model usage with the primary key or throws a
NoSuchClassedModelUsageException if it could not be found. |
static LayoutClassedModelUsage |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where uuid = ? and companyId = ?.
|
static LayoutClassedModelUsage |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where uuid = ? and companyId = ?.
|
static LayoutClassedModelUsage[] |
findByUuid_C_PrevAndNext(long layoutClassedModelUsageId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout classed model usages where uuid = ? and companyId = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout classed model usages where uuid = ? and companyId = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where uuid = ? and companyId = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where uuid = ? and companyId = ?.
|
static LayoutClassedModelUsage |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where uuid = ?.
|
static LayoutClassedModelUsage |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout classed model usage where uuid = ? and groupId = ? or throws a
NoSuchClassedModelUsageException if it could not be found. |
static LayoutClassedModelUsage |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where uuid = ?.
|
static LayoutClassedModelUsage[] |
findByUuid_PrevAndNext(long layoutClassedModelUsageId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid(java.lang.String uuid)
Returns all the layout classed model usages where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout classed model usages where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout classed model usages where uuid = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutClassedModelUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutClassedModelUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) |
static LayoutClassedModelUsagePersistence |
getPersistence() |
static LayoutClassedModelUsage |
remove(long layoutClassedModelUsageId)
Removes the layout classed model usage with the primary key from the database.
|
static void |
removeAll()
Removes all the layout classed model usages from the database.
|
static LayoutClassedModelUsage |
removeByC_C_CK_CT_P(long classNameId,
long classPK,
java.lang.String containerKey,
long containerType,
long plid)
Removes the layout classed model usage where classNameId = ? and classPK = ? and containerKey = ? and containerType = ? and plid = ? from the database.
|
static void |
removeByC_C_T(long classNameId,
long classPK,
int type)
Removes all the layout classed model usages where classNameId = ? and classPK = ? and type = ? from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the layout classed model usages where classNameId = ? and classPK = ? from the database.
|
static void |
removeByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Removes all the layout classed model usages where containerKey = ? and containerType = ? and plid = ? from the database.
|
static void |
removeByPlid(long plid)
Removes all the layout classed model usages where plid = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout classed model usages where uuid = ? and companyId = ? from the database.
|
static LayoutClassedModelUsage |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout classed model usage where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout classed model usages where uuid = ? from the database.
|
static LayoutClassedModelUsage |
update(LayoutClassedModelUsage layoutClassedModelUsage) |
static LayoutClassedModelUsage |
update(LayoutClassedModelUsage layoutClassedModelUsage,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutClassedModelUsage |
updateImpl(LayoutClassedModelUsage layoutClassedModelUsage) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutClassedModelUsage layoutClassedModelUsage)
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,LayoutClassedModelUsage> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutClassedModelUsage update(LayoutClassedModelUsage layoutClassedModelUsage)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutClassedModelUsage update(LayoutClassedModelUsage layoutClassedModelUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutClassedModelUsage> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByUuid_PrevAndNext(long layoutClassedModelUsageId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage 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 LayoutClassedModelUsage findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchClassedModelUsageException
NoSuchClassedModelUsageException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage 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 layout classed model usage could not be foundpublic static LayoutClassedModelUsage 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 layout classed model usage could not be foundpublic static LayoutClassedModelUsage removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchClassedModelUsageException
uuid
- the uuidgroupId
- the group IDNoSuchClassedModelUsageException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutClassedModelUsage> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByUuid_C_PrevAndNext(long layoutClassedModelUsageId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage 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<LayoutClassedModelUsage> findByPlid(long plid)
plid
- the plidpublic static java.util.List<LayoutClassedModelUsage> findByPlid(long plid, 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 LayoutClassedModelUsageModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByPlid_PrevAndNext(long layoutClassedModelUsageId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByPlid(long plid)
plid
- the plidpublic static int countByPlid(long plid)
plid
- the plidpublic static java.util.List<LayoutClassedModelUsage> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByC_C_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage 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 java.util.List<LayoutClassedModelUsage> findByC_C_T(long classNameId, long classPK, int type)
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic static java.util.List<LayoutClassedModelUsage> findByC_C_T(long classNameId, long classPK, int 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, then the query will include the default ORDER BY logic from LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByC_C_T_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByC_C_T(long classNameId, long classPK, int type)
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic static int countByC_C_T(long classNameId, long classPK, int type)
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic static java.util.List<LayoutClassedModelUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static java.util.List<LayoutClassedModelUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, 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 LayoutClassedModelUsageModelImpl
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutClassedModelUsage findByCK_CT_P_First(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCK_CT_P_First(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage findByCK_CT_P_Last(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCK_CT_P_Last(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage[] findByCK_CT_P_PrevAndNext(long layoutClassedModelUsageId, java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usagecontainerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static int countByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static LayoutClassedModelUsage findByC_C_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid) throws NoSuchClassedModelUsageException
NoSuchClassedModelUsageException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidNoSuchClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidnull
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_C_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the pliduseFinderCache
- whether to use the finder cachenull
if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage removeByC_C_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid) throws NoSuchClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidNoSuchClassedModelUsageException
public static int countByC_C_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid)
classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static void cacheResult(LayoutClassedModelUsage layoutClassedModelUsage)
layoutClassedModelUsage
- the layout classed model usagepublic static void cacheResult(java.util.List<LayoutClassedModelUsage> layoutClassedModelUsages)
layoutClassedModelUsages
- the layout classed model usagespublic static LayoutClassedModelUsage create(long layoutClassedModelUsageId)
layoutClassedModelUsageId
- the primary key for the new layout classed model usagepublic static LayoutClassedModelUsage remove(long layoutClassedModelUsageId) throws NoSuchClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the layout classed model usageNoSuchClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static LayoutClassedModelUsage updateImpl(LayoutClassedModelUsage layoutClassedModelUsage)
public static LayoutClassedModelUsage findByPrimaryKey(long layoutClassedModelUsageId) throws NoSuchClassedModelUsageException
NoSuchClassedModelUsageException
if it could not be found.layoutClassedModelUsageId
- the primary key of the layout classed model usageNoSuchClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static LayoutClassedModelUsage fetchByPrimaryKey(long layoutClassedModelUsageId)
null
if it could not be found.layoutClassedModelUsageId
- the primary key of the layout classed model usagenull
if a layout classed model usage with the primary key could not be foundpublic static java.util.List<LayoutClassedModelUsage> findAll()
public static java.util.List<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
start
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)public static java.util.List<LayoutClassedModelUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
start
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutClassedModelUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> 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 LayoutClassedModelUsageModelImpl
.
start
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (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 LayoutClassedModelUsagePersistence getPersistence()