Class CPConfigurationEntryUtil
com.liferay.commerce.product.service.persistence.impl.CPConfigurationEntryPersistenceImpl 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 voidcacheResult(CPConfigurationEntry cpConfigurationEntry) Caches the cp configuration entry in the entity cache if it is enabled.static voidcacheResult(List<CPConfigurationEntry> cpConfigurationEntries) Caches the cp configuration entries in the entity cache if it is enabled.static voidstatic voidclearCache(CPConfigurationEntry cpConfigurationEntry) static intcountAll()Returns the number of cp configuration entries.static intcountByC_C(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.static intcountByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.static intcountByCompanyId(long companyId) Returns the number of cp configuration entries where companyId = ?.static intcountByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of cp configuration entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp configuration entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of cp configuration entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPConfigurationEntrycreate(long CPConfigurationEntryId) Creates a new cp configuration entry with the primary key.static CPConfigurationEntryfetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found.static CPConfigurationEntryfetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPConfigurationEntryfetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static CPConfigurationEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.static CPConfigurationEntryfetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CPConfigurationEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPConfigurationEntryfetchByPrimaryKey(long CPConfigurationEntryId) Returns the cp configuration entry with the primary key or returnsnullif it could not be found.static Map<Serializable, CPConfigurationEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPConfigurationEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.static CPConfigurationEntryfetchByUUID_G(String uuid, long groupId) Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnullif it could not be found.static CPConfigurationEntryfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static List<CPConfigurationEntry> findAll()Returns all the cp configuration entries.static List<CPConfigurationEntry> findAll(int start, int end) Returns a range of all the cp configuration entries.static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK) Returns all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.static CPConfigurationEntryfindByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.static CPConfigurationEntryfindByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static List<CPConfigurationEntry> findByCompanyId(long companyId) Returns all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where companyId = ?.static CPConfigurationEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId) Returns all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.static CPConfigurationEntryfindByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.static CPConfigurationEntryfindByPrimaryKey(long CPConfigurationEntryId) Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.static List<CPConfigurationEntry> findByUuid(String uuid) Returns all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end) Returns a range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId) Returns all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.static CPConfigurationEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.static CPConfigurationEntryfindByUUID_G(String uuid, long groupId) Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) static CPConfigurationEntryremove(long CPConfigurationEntryId) Removes the cp configuration entry with the primary key from the database.static voidRemoves all the cp configuration entries from the database.static voidremoveByC_C(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.static CPConfigurationEntryremoveByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the cp configuration entries where companyId = ? from the database.static voidremoveByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.static CPConfigurationEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp configuration entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.static CPConfigurationEntryremoveByUUID_G(String uuid, long groupId) Removes the cp configuration entry where uuid = ? and groupId = ? from the database.static voidsetPersistence(CPConfigurationEntryPersistence persistence) static CPConfigurationEntryupdate(CPConfigurationEntry cpConfigurationEntry) static CPConfigurationEntryupdate(CPConfigurationEntry cpConfigurationEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPConfigurationEntryupdateImpl(CPConfigurationEntry cpConfigurationEntry)
-
Constructor Details
-
CPConfigurationEntryUtil
public CPConfigurationEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CPConfigurationEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CPConfigurationEntry update(CPConfigurationEntry cpConfigurationEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the cp configuration entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp configuration entries
-
findByUuid
Returns a range of all the cp configuration entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid
public static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid
public static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid_First
public static CPConfigurationEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry
-
fetchByUuid_First
public static CPConfigurationEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByUuid
Removes all the cp configuration entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp configuration entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp configuration entries
-
findByUUID_G
public static CPConfigurationEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp configuration entry
-
fetchByUUID_G
Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
fetchByUUID_G
Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnullif 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 cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByUUID_G
public static CPConfigurationEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByUUID_G
Returns the number of cp configuration entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp configuration entries
-
findByUuid_C
Returns all the cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid_C_First
public static CPConfigurationEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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 cp configuration entry
-
fetchByUuid_C_First
public static CPConfigurationEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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 cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByUuid_C
Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCompanyId
Returns all the cp configuration entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching cp configuration entries
-
findByCompanyId
Returns a range of all the cp configuration entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCompanyId
public static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entries
-
findByCompanyId
public static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp configuration entries
-
findByCompanyId_First
public static CPConfigurationEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry
-
fetchByCompanyId_First
public static CPConfigurationEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the cp configuration entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of cp configuration entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCPConfigurationListId
Returns all the cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId- the cp configuration list ID- Returns:
- the matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
CPConfigurationListId- the cp configuration list IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
CPConfigurationListId- the cp configuration list IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
CPConfigurationListId- the cp configuration list IDstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp configuration entries
-
findByCPConfigurationListId_First
public static CPConfigurationEntry findByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId- the cp configuration list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry
-
fetchByCPConfigurationListId_First
public static CPConfigurationEntry fetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId- the cp configuration list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByCPConfigurationListId
public static void removeByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.- Parameters:
CPConfigurationListId- the cp configuration list ID
-
countByCPConfigurationListId
public static int countByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByC_C
Returns all the cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C_First
public static CPConfigurationEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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 cp configuration entry
-
fetchByC_C_First
public static CPConfigurationEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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 cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching cp configuration entries
-
findByC_C_C
public static CPConfigurationEntry findByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.- Parameters:
classNameId- the class name IDclassPK- the class pkCPConfigurationListId- the cp configuration list ID- Returns:
- the matching cp configuration entry
-
fetchByC_C_C
public static CPConfigurationEntry fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkCPConfigurationListId- the cp configuration list ID- Returns:
- the matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
fetchByC_C_C
public static CPConfigurationEntry fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkCPConfigurationListId- the cp configuration list IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByC_C_C
public static CPConfigurationEntry removeByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pkCPConfigurationListId- the cp configuration list ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByC_C_C
public static int countByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkCPConfigurationListId- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByERC_C
public static CPConfigurationEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cp configuration entry
-
fetchByERC_C
Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
fetchByERC_C
public static CPConfigurationEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
nullif a matching cp configuration entry could not be found
-
removeByERC_C
public static CPConfigurationEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByERC_C
Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching cp configuration entries
-
cacheResult
Caches the cp configuration entry in the entity cache if it is enabled.- Parameters:
cpConfigurationEntry- the cp configuration entry
-
cacheResult
Caches the cp configuration entries in the entity cache if it is enabled.- Parameters:
cpConfigurationEntries- the cp configuration entries
-
create
Creates a new cp configuration entry with the primary key. Does not add the cp configuration entry to the database.- Parameters:
CPConfigurationEntryId- the primary key for the new cp configuration entry- Returns:
- the new cp configuration entry
-
remove
public static CPConfigurationEntry remove(long CPConfigurationEntryId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPConfigurationEntryId- the primary key of the cp configuration entry- Returns:
- the cp configuration entry that was removed
-
updateImpl
-
findByPrimaryKey
public static CPConfigurationEntry findByPrimaryKey(long CPConfigurationEntryId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryExceptionif it could not be found.- Parameters:
CPConfigurationEntryId- the primary key of the cp configuration entry- Returns:
- the cp configuration entry
-
fetchByPrimaryKey
Returns the cp configuration entry with the primary key or returnsnullif it could not be found.- Parameters:
CPConfigurationEntryId- the primary key of the cp configuration entry- Returns:
- the cp configuration entry, or
nullif a cp configuration entry with the primary key could not be found
-
findAll
Returns all the cp configuration entries.- Returns:
- the cp configuration entries
-
findAll
Returns a range of all the cp configuration entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of cp configuration entries
-
findAll
public static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cp configuration entries
-
findAll
public static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPConfigurationEntryModelImpl.- Parameters:
start- the lower bound of the range of cp configuration entriesend- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cp configuration entries
-
removeAll
public static void removeAll()Removes all the cp configuration entries from the database. -
countAll
public static int countAll()Returns the number of cp configuration entries.- Returns:
- the number of cp configuration entries
-
getPersistence
-
setPersistence
-