Class LayoutClassedModelUsageUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(LayoutClassedModelUsage layoutClassedModelUsage) Caches the layout classed model usage in the entity cache if it is enabled.static void
cacheResult
(List<LayoutClassedModelUsage> layoutClassedModelUsages) Caches the layout classed model usages in the entity cache if it is enabled.static void
static void
clearCache
(LayoutClassedModelUsage layoutClassedModelUsage) static int
countAll()
Returns the number of layout classed model usages.static int
countByC_CN
(long companyId, long classNameId) Returns the number of layout classed model usages where companyId = ? and classNameId = ?.static int
countByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode) Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static int
countByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.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
(String containerKey, long containerType, long plid) Returns the number of layout classed model usages where containerKey = ? and containerType = ? and plid = ?.static int
countByCN_CPK
(long classNameId, long classPK) Returns the number of layout classed model usages where classNameId = ? and classPK = ?.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
countByG_CN_CPK_CMERC_CK_CT_P
(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Returns the number of layout classed model usages where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ?.static int
countByPlid
(long plid) Returns the number of layout classed model usages where plid = ?.static int
countByUuid
(String uuid) Returns the number of layout classed model usages where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of layout classed model usages where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of layout classed model usages where uuid = ? and groupId = ?.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_CMERC_First
(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static LayoutClassedModelUsage
fetchByC_CN_CMERC_Last
(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static LayoutClassedModelUsage
fetchByC_CN_CMERC_T_First
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static LayoutClassedModelUsage
fetchByC_CN_CMERC_T_Last
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.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
fetchByC_CN_First
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.static LayoutClassedModelUsage
fetchByC_CN_Last
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.static LayoutClassedModelUsage
fetchByCK_CT_P_First
(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
(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_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
fetchByG_CN_CPK_CMERC_CK_CT_P
(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returnsnull
if it could not be found.static LayoutClassedModelUsage
fetchByG_CN_CPK_CMERC_CK_CT_P
(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid, boolean useFinderCache) Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.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 returnsnull
if it could not be found.static Map<Serializable,
LayoutClassedModelUsage> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static LayoutClassedModelUsage
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the layout classed model usage where uuid = ? and groupId = ? or returnsnull
if it could not be found.static LayoutClassedModelUsage
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the layout classed model usage where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static LayoutClassedModelUsage
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where uuid = ?.static List<LayoutClassedModelUsage>
findAll()
Returns all the layout classed model usages.static List<LayoutClassedModelUsage>
findAll
(int start, int end) Returns a range of all the layout classed model usages.static 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 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 List<LayoutClassedModelUsage>
findByC_CN
(long companyId, long classNameId) Returns all the layout classed model usages where companyId = ? and classNameId = ?.static List<LayoutClassedModelUsage>
findByC_CN
(long companyId, long classNameId, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ?.static List<LayoutClassedModelUsage>
findByC_CN
(long companyId, long classNameId, 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 = ?.static List<LayoutClassedModelUsage>
findByC_CN
(long companyId, long classNameId, 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 = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode) Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 classedModelExternalReferenceCode = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 classedModelExternalReferenceCode = ?.static LayoutClassedModelUsage
findByC_CN_CMERC_First
(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static LayoutClassedModelUsage
findByC_CN_CMERC_Last
(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.static LayoutClassedModelUsage[]
findByC_CN_CMERC_PrevAndNext
(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, 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 classedModelExternalReferenceCode = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static List<LayoutClassedModelUsage>
findByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static LayoutClassedModelUsage
findByC_CN_CMERC_T_First
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static LayoutClassedModelUsage
findByC_CN_CMERC_T_Last
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static LayoutClassedModelUsage[]
findByC_CN_CMERC_T_PrevAndNext
(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, 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 companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.static 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 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 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 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
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 LayoutClassedModelUsage
findByC_CN_First
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.static LayoutClassedModelUsage
findByC_CN_Last
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.static LayoutClassedModelUsage[]
findByC_CN_PrevAndNext
(long layoutClassedModelUsageId, long companyId, long classNameId, 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 = ?.static List<LayoutClassedModelUsage>
findByCK_CT_P
(String containerKey, long containerType, long plid) Returns all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.static List<LayoutClassedModelUsage>
findByCK_CT_P
(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 List<LayoutClassedModelUsage>
findByCK_CT_P
(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 List<LayoutClassedModelUsage>
findByCK_CT_P
(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
findByCK_CT_P_First
(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
(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, 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 List<LayoutClassedModelUsage>
findByCN_CPK
(long classNameId, long classPK) Returns all the layout classed model usages where classNameId = ? and classPK = ?.static 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 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 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
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 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 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 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 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 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 LayoutClassedModelUsage
findByG_CN_CPK_CMERC_CK_CT_P
(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.static List<LayoutClassedModelUsage>
findByPlid
(long plid) Returns all the layout classed model usages where plid = ?.static List<LayoutClassedModelUsage>
findByPlid
(long plid, int start, int end) Returns a range of all the layout classed model usages where plid = ?.static 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 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
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 LayoutClassedModelUsage
findByPrimaryKey
(long layoutClassedModelUsageId) Returns the layout classed model usage with the primary key or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.static List<LayoutClassedModelUsage>
findByUuid
(String uuid) Returns all the layout classed model usages where uuid = ?.static List<LayoutClassedModelUsage>
findByUuid
(String uuid, int start, int end) Returns a range of all the layout classed model usages where uuid = ?.static List<LayoutClassedModelUsage>
findByUuid
(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 List<LayoutClassedModelUsage>
findByUuid
(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 List<LayoutClassedModelUsage>
findByUuid_C
(String uuid, long companyId) Returns all the layout classed model usages where uuid = ? and companyId = ?.static List<LayoutClassedModelUsage>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout classed model usages where uuid = ? and companyId = ?.static List<LayoutClassedModelUsage>
findByUuid_C
(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 List<LayoutClassedModelUsage>
findByUuid_C
(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_C_First
(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
(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, 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 LayoutClassedModelUsage
findByUuid_First
(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
(String uuid, long groupId) Returns the layout classed model usage where uuid = ? and groupId = ? or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.static LayoutClassedModelUsage
findByUuid_Last
(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, 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 List<LayoutClassedModelUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LayoutClassedModelUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LayoutClassedModelUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) static LayoutClassedModelUsage
remove
(long layoutClassedModelUsageId) Removes the layout classed model usage with the primary key from the database.static void
Removes all the layout classed model usages from the database.static void
removeByC_CN
(long companyId, long classNameId) Removes all the layout classed model usages where companyId = ? and classNameId = ? from the database.static void
removeByC_CN_CMERC
(long companyId, long classNameId, String classedModelExternalReferenceCode) Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? from the database.static void
removeByC_CN_CMERC_T
(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ? 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
(String containerKey, long containerType, long plid) Removes all the layout classed model usages where containerKey = ? and containerType = ? and plid = ? 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
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 LayoutClassedModelUsage
removeByG_CN_CPK_CMERC_CK_CT_P
(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Removes the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and 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
(String uuid) Removes all the layout classed model usages where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the layout classed model usages where uuid = ? and companyId = ? from the database.static LayoutClassedModelUsage
removeByUUID_G
(String uuid, long groupId) Removes the layout classed model usage where uuid = ? and groupId = ? 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)
-
Constructor Details
-
LayoutClassedModelUsageUtil
public LayoutClassedModelUsageUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,LayoutClassedModelUsage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static LayoutClassedModelUsage update(LayoutClassedModelUsage layoutClassedModelUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the layout classed model usages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout classed model usages
-
findByUuid
Returns a range of all the layout classed model usages where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByUuid
public static List<LayoutClassedModelUsage> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByUuid
public static List<LayoutClassedModelUsage> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByUuid_First
public static LayoutClassedModelUsage findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByUuid_First
public static LayoutClassedModelUsage fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByUuid_Last
public static LayoutClassedModelUsage findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByUuid_Last
public static LayoutClassedModelUsage fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByUuid_PrevAndNext
public static LayoutClassedModelUsage[] findByUuid_PrevAndNext(long layoutClassedModelUsageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByUuid
Removes all the layout classed model usages where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout classed model usages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout classed model usages
-
findByUUID_G
public static LayoutClassedModelUsage findByUUID_G(String uuid, long groupId) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usage where uuid = ? and groupId = ? or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByUUID_G
Returns the layout classed model usage where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
fetchByUUID_G
public static LayoutClassedModelUsage fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the layout classed model usage where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
removeByUUID_G
public static LayoutClassedModelUsage removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutClassedModelUsageException Removes the layout classed model usage where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the layout classed model usage that was removed
- Throws:
NoSuchLayoutClassedModelUsageException
-
countByUUID_G
Returns the number of layout classed model usages where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching layout classed model usages
-
findByUuid_C
Returns all the layout classed model usages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout classed model usages
-
findByUuid_C
public static List<LayoutClassedModelUsage> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout classed model usages where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByUuid_C
public static List<LayoutClassedModelUsage> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByUuid_C
public static List<LayoutClassedModelUsage> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByUuid_C_First
public static LayoutClassedModelUsage findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByUuid_C_First
public static LayoutClassedModelUsage fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByUuid_C_Last
public static LayoutClassedModelUsage findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByUuid_C_Last
public static LayoutClassedModelUsage fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByUuid_C_PrevAndNext
public static LayoutClassedModelUsage[] findByUuid_C_PrevAndNext(long layoutClassedModelUsageId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByUuid_C
Removes all the layout classed model usages where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout classed model usages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout classed model usages
-
findByPlid
Returns all the layout classed model usages where plid = ?.- Parameters:
plid
- the plid- Returns:
- the matching layout classed model usages
-
findByPlid
Returns a range of all the layout classed model usages where plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByPlid
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByPlid
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByPlid_First
public static LayoutClassedModelUsage findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByPlid_First
public 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 = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByPlid_Last
public static LayoutClassedModelUsage findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByPlid_Last
public 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 = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByPlid_PrevAndNext
public static LayoutClassedModelUsage[] findByPlid_PrevAndNext(long layoutClassedModelUsageId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where plid = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usageplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByPlid
public static void removeByPlid(long plid) Removes all the layout classed model usages where plid = ? from the database.- Parameters:
plid
- the plid
-
countByPlid
public static int countByPlid(long plid) Returns the number of layout classed model usages where plid = ?.- Parameters:
plid
- the plid- Returns:
- the number of matching layout classed model usages
-
findByC_CN
Returns all the layout classed model usages where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the matching layout classed model usages
-
findByC_CN
public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name 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)- Returns:
- the range of matching layout classed model usages
-
findByC_CN
public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name 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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN
public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_First
public static LayoutClassedModelUsage findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_First
public static LayoutClassedModelUsage fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_Last
public static LayoutClassedModelUsage findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_Last
public static LayoutClassedModelUsage fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_PrevAndNext
public static LayoutClassedModelUsage[] findByC_CN_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usagecompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByC_CN
public static void removeByC_CN(long companyId, long classNameId) Removes all the layout classed model usages where companyId = ? and classNameId = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name ID
-
countByC_CN
public static int countByC_CN(long companyId, long classNameId) Returns the number of layout classed model usages where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the number of matching layout classed model usages
-
findByCN_CPK
Returns all the layout classed model usages where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching layout classed model usages
-
findByCN_CPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByCN_CPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByCN_CPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByCN_CPK_First
public static LayoutClassedModelUsage findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCN_CPK_First
public 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCN_CPK_Last
public static LayoutClassedModelUsage findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCN_CPK_Last
public 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCN_CPK_PrevAndNext
public static LayoutClassedModelUsage[] findByCN_CPK_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByCN_CPK
public static void removeByCN_CPK(long classNameId, long classPK) Removes all the layout classed model usages where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByCN_CPK
public static int countByCN_CPK(long classNameId, long classPK) Returns the number of layout classed model usages where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching layout classed model usages
-
findByC_CN_CMERC
public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode) Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference code- Returns:
- the matching layout classed model usages
-
findByC_CN_CMERC
public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codestart
- the lower bound of the range of layout classed model usagesend
- the upper bound of the range of layout classed model usages (not inclusive)- Returns:
- the range of matching layout classed model usages
-
findByC_CN_CMERC
public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 classedModelExternalReferenceCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codestart
- 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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CMERC
public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 classedModelExternalReferenceCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codestart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CMERC_First
public static LayoutClassedModelUsage findByC_CN_CMERC_First(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CMERC_First
public static LayoutClassedModelUsage fetchByC_CN_CMERC_First(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CMERC_Last
public static LayoutClassedModelUsage findByC_CN_CMERC_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CMERC_Last
public static LayoutClassedModelUsage fetchByC_CN_CMERC_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CMERC_PrevAndNext
public static LayoutClassedModelUsage[] findByC_CN_CMERC_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usagecompanyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByC_CN_CMERC
public static void removeByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode) Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference code
-
countByC_CN_CMERC
public static int countByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode) Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference code- Returns:
- the number of matching layout classed model usages
-
findByC_CN_CT
public static List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType) Returns all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container type- Returns:
- the matching layout classed model usages
-
findByC_CN_CT
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByC_CN_CT
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CT
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CT_First
public static LayoutClassedModelUsage findByC_CN_CT_First(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CT_First
public 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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CT_Last
public static LayoutClassedModelUsage findByC_CN_CT_Last(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CT_Last
public 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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CT_PrevAndNext
public static LayoutClassedModelUsage[] findByC_CN_CT_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByC_CN_CT
public 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.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container type
-
countByC_CN_CT
public 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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDcontainerType
- the container type- Returns:
- the number of matching layout classed model usages
-
findByCN_CPK_T
public static List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type) Returns all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the matching layout classed model usages
-
findByCN_CPK_T
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByCN_CPK_T
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByCN_CPK_T
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByCN_CPK_T_First
public static LayoutClassedModelUsage findByCN_CPK_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCN_CPK_T_First
public 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCN_CPK_T_Last
public static LayoutClassedModelUsage findByCN_CPK_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCN_CPK_T_Last
public 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCN_CPK_T_PrevAndNext
public static LayoutClassedModelUsage[] findByCN_CPK_T_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByCN_CPK_T
public 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.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type
-
countByCN_CPK_T
public 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the number of matching layout classed model usages
-
findByCK_CT_P
public static List<LayoutClassedModelUsage> findByCK_CT_P(String containerKey, long containerType, long plid) Returns all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the matching layout classed model usages
-
findByCK_CT_P
public static List<LayoutClassedModelUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout classed model usages
-
findByCK_CT_P
public static List<LayoutClassedModelUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByCK_CT_P
public static List<LayoutClassedModelUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByCK_CT_P_First
public static LayoutClassedModelUsage findByCK_CT_P_First(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCK_CT_P_First
public static LayoutClassedModelUsage fetchByCK_CT_P_First(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 = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCK_CT_P_Last
public static LayoutClassedModelUsage findByCK_CT_P_Last(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByCK_CT_P_Last
public static LayoutClassedModelUsage fetchByCK_CT_P_Last(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 = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByCK_CT_P_PrevAndNext
public static LayoutClassedModelUsage[] findByCK_CT_P_PrevAndNext(long layoutClassedModelUsageId, String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByCK_CT_P
Removes all the layout classed model usages where containerKey = ? and containerType = ? and plid = ? from the database.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid
-
countByCK_CT_P
Returns the number of layout classed model usages where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the number of matching layout classed model usages
-
findByC_CN_CMERC_T
public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the type- Returns:
- the matching layout classed model usages
-
findByC_CN_CMERC_T
public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, int start, int end) Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- 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)- Returns:
- the range of matching layout classed model usages
-
findByC_CN_CMERC_T
public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- 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 (optionallynull
)- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CMERC_T
public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, 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 companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout classed model usages
-
findByC_CN_CMERC_T_First
public static LayoutClassedModelUsage findByC_CN_CMERC_T_First(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CMERC_T_First
public static LayoutClassedModelUsage fetchByC_CN_CMERC_T_First(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CMERC_T_Last
public static LayoutClassedModelUsage findByC_CN_CMERC_T_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByC_CN_CMERC_T_Last
public static LayoutClassedModelUsage fetchByC_CN_CMERC_T_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
findByC_CN_CMERC_T_PrevAndNext
public static LayoutClassedModelUsage[] findByC_CN_CMERC_T_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
layoutClassedModelUsageId
- the primary key of the current layout classed model usagecompanyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
removeByC_CN_CMERC_T
public static void removeByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the type
-
countByC_CN_CMERC_T
public static int countByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type) Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassedModelExternalReferenceCode
- the classed model external reference codetype
- the type- Returns:
- the number of matching layout classed model usages
-
findByG_CN_CPK_CMERC_CK_CT_P
public static LayoutClassedModelUsage findByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkclassedModelExternalReferenceCode
- the classed model external reference codecontainerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the matching layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a matching layout classed model usage could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByG_CN_CPK_CMERC_CK_CT_P
public static LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkclassedModelExternalReferenceCode
- the classed model external reference codecontainerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
fetchByG_CN_CPK_CMERC_CK_CT_P
public static LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid, boolean useFinderCache) Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkclassedModelExternalReferenceCode
- the classed model external reference codecontainerKey
- the container keycontainerType
- the container typeplid
- the pliduseFinderCache
- whether to use the finder cache- Returns:
- the matching layout classed model usage, or
null
if a matching layout classed model usage could not be found
-
removeByG_CN_CPK_CMERC_CK_CT_P
public static LayoutClassedModelUsage removeByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException Removes the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkclassedModelExternalReferenceCode
- the classed model external reference codecontainerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the layout classed model usage that was removed
- Throws:
NoSuchLayoutClassedModelUsageException
-
countByG_CN_CPK_CMERC_CK_CT_P
public static int countByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) Returns the number of layout classed model usages where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkclassedModelExternalReferenceCode
- the classed model external reference codecontainerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the number of matching layout classed model usages
-
cacheResult
Caches the layout classed model usage in the entity cache if it is enabled.- Parameters:
layoutClassedModelUsage
- the layout classed model usage
-
cacheResult
Caches the layout classed model usages in the entity cache if it is enabled.- Parameters:
layoutClassedModelUsages
- the layout classed model usages
-
create
Creates a new layout classed model usage with the primary key. Does not add the layout classed model usage to the database.- Parameters:
layoutClassedModelUsageId
- the primary key for the new layout classed model usage- Returns:
- the new layout classed model usage
-
remove
public static LayoutClassedModelUsage remove(long layoutClassedModelUsageId) throws NoSuchLayoutClassedModelUsageException Removes the layout classed model usage with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutClassedModelUsageId
- the primary key of the layout classed model usage- Returns:
- the layout classed model usage that was removed
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
updateImpl
-
findByPrimaryKey
public static LayoutClassedModelUsage findByPrimaryKey(long layoutClassedModelUsageId) throws NoSuchLayoutClassedModelUsageException Returns the layout classed model usage with the primary key or throws aNoSuchLayoutClassedModelUsageException
if it could not be found.- Parameters:
layoutClassedModelUsageId
- the primary key of the layout classed model usage- Returns:
- the layout classed model usage
- Throws:
NoSuchLayoutClassedModelUsageException
- if a layout classed model usage with the primary key could not be foundNoSuchLayoutClassedModelUsageException
-
fetchByPrimaryKey
Returns the layout classed model usage with the primary key or returnsnull
if it could not be found.- Parameters:
layoutClassedModelUsageId
- the primary key of the layout classed model usage- Returns:
- the layout classed model usage, or
null
if a layout classed model usage with the primary key could not be found
-
findAll
Returns all the layout classed model usages.- Returns:
- the layout classed model usages
-
findAll
Returns a range of all the layout classed model usages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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)- Returns:
- the range of layout classed model usages
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of layout classed model usages
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutClassedModelUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout classed model usages
-
removeAll
public static void removeAll()Removes all the layout classed model usages from the database. -
countAll
public static int countAll()Returns the number of layout classed model usages.- Returns:
- the number of layout classed model usages
-
getPersistence
-
setPersistence
-