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_CN_CT(long companyId,
long classNameId,
long containerType)
Returns the number of layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
|
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 |
countByCN_CPK_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 |
countByCN_CPK_T(long classNameId,
long classPK,
int type)
Returns the number of layout classed model usages where classNameId = ? and classPK = ? and type = ?.
|
static int |
countByCN_CPK(long classNameId,
long classPK)
Returns the number of layout classed model usages where classNameId = ? and classPK = ?.
|
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_CN_CT_First(long companyId,
long classNameId,
long containerType,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
|
static LayoutClassedModelUsage |
fetchByC_CN_CT_Last(long companyId,
long classNameId,
long containerType,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
|
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 |
fetchByCN_CPK_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 |
fetchByCN_CPK_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 |
fetchByCN_CPK_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 |
fetchByCN_CPK_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 |
fetchByCN_CPK_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 |
fetchByCN_CPK_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 |
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_CN_CT_First(long companyId,
long classNameId,
long containerType,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
|
static LayoutClassedModelUsage |
findByC_CN_CT_Last(long companyId,
long classNameId,
long containerType,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
|
static LayoutClassedModelUsage[] |
findByC_CN_CT_PrevAndNext(long layoutClassedModelUsageId,
long companyId,
long classNameId,
long containerType,
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 companyId = ? and classNameId = ? and containerType = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_CN_CT(long companyId,
long classNameId,
long containerType)
Returns all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_CN_CT(long companyId,
long classNameId,
long containerType,
int start,
int end)
Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_CN_CT(long companyId,
long classNameId,
long containerType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByC_CN_CT(long companyId,
long classNameId,
long containerType,
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 companyId = ? and classNameId = ? and containerType = ?.
|
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 |
findByCN_CPK_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
NoSuchLayoutClassedModelUsageException if it could not be found. |
static LayoutClassedModelUsage |
findByCN_CPK_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 |
findByCN_CPK_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[] |
findByCN_CPK_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 |
findByCN_CPK_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 |
findByCN_CPK_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[] |
findByCN_CPK_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> |
findByCN_CPK_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> |
findByCN_CPK_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> |
findByCN_CPK_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> |
findByCN_CPK_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> |
findByCN_CPK(long classNameId,
long classPK)
Returns all the layout classed model usages where classNameId = ? and classPK = ?.
|
static java.util.List<LayoutClassedModelUsage> |
findByCN_CPK(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> |
findByCN_CPK(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> |
findByCN_CPK(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 |
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
NoSuchLayoutClassedModelUsageException 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
NoSuchLayoutClassedModelUsageException 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 void |
removeByC_CN_CT(long companyId,
long classNameId,
long containerType)
Removes all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ? 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 LayoutClassedModelUsage |
removeByCN_CPK_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 |
removeByCN_CPK_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 |
removeByCN_CPK(long classNameId,
long classPK)
Removes all the layout classed model usages where classNameId = ? and classPK = ? 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 void |
setPersistence(LayoutClassedModelUsagePersistence persistence) |
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 NoSuchLayoutClassedModelUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
NoSuchLayoutClassedModelUsageException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
uuid
- the uuidgroupId
- the group IDNoSuchLayoutClassedModelUsageException
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 NoSuchLayoutClassedModelUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
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
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usageplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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> findByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<LayoutClassedModelUsage> findByCN_CPK(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> findByCN_CPK(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> findByCN_CPK(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 findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCN_CPK_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 findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCN_CPK_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[] findByCN_CPK_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
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
)NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType)
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typepublic static java.util.List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType, 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
.
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container 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_CN_CT(long companyId, long classNameId, long containerType, 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
.
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container 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_CN_CT(long companyId, long classNameId, long containerType, 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
.
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container 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_CN_CT_First(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_CN_CT_First(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container 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_CN_CT_Last(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByC_CN_CT_Last(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container 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_CN_CT_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the current layout classed model usagecompanyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByC_CN_CT(long companyId, long classNameId, long containerType)
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typepublic static int countByC_CN_CT(long companyId, long classNameId, long containerType)
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typepublic static java.util.List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type)
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic static java.util.List<LayoutClassedModelUsage> findByCN_CPK_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> findByCN_CPK_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> findByCN_CPK_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 findByCN_CPK_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCN_CPK_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 findByCN_CPK_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCN_CPK_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[] findByCN_CPK_T_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
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
)NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundpublic static void removeByCN_CPK_T(long classNameId, long classPK, int type)
classNameId
- the class name IDclassPK
- the class pktype
- the typepublic static int countByCN_CPK_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 NoSuchLayoutClassedModelUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
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
)NoSuchLayoutClassedModelUsageException
- 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 findByCN_CPK_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException
NoSuchLayoutClassedModelUsageException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidNoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundpublic static LayoutClassedModelUsage fetchByCN_CPK_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 fetchByCN_CPK_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 removeByCN_CPK_CK_CT_P(long classNameId, long classPK, java.lang.String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException
classNameId
- the class name IDclassPK
- the class pkcontainerKey
- the container keycontainerType
- the container typeplid
- the plidNoSuchLayoutClassedModelUsageException
public static int countByCN_CPK_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 NoSuchLayoutClassedModelUsageException
layoutClassedModelUsageId
- the primary key of the layout classed model usageNoSuchLayoutClassedModelUsageException
- 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 NoSuchLayoutClassedModelUsageException
NoSuchLayoutClassedModelUsageException
if it could not be found.layoutClassedModelUsageId
- the primary key of the layout classed model usageNoSuchLayoutClassedModelUsageException
- 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()
public static void setPersistence(LayoutClassedModelUsagePersistence persistence)