Class CommerceCatalogUtil
com.liferay.commerce.product.service.persistence.impl.CommerceCatalogPersistenceImpl 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(CommerceCatalog commerceCatalog) static voidcacheResult(List<CommerceCatalog> commerceCatalogs) static voidstatic voidclearCache(CommerceCatalog commerceCatalog) static intcountByAccountEntryId(long accountEntryId) Returns the number of commerce catalogs where accountEntryId = ?.static intcountByC_S(long companyId, boolean system) Returns the number of commerce catalogs where companyId = ? and system = ?.static intcountByCompanyId(long companyId) Returns the number of commerce catalogs where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of commerce catalogs where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce catalogs where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceCatalogcreate(long commerceCatalogId) Creates a new commerce catalog with the primary key.static CommerceCatalogfetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.static CommerceCatalogfetchByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.static CommerceCatalogfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.static CommerceCatalogfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommerceCatalogfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceCatalogfetchByPrimaryKey(long commerceCatalogId) Returns the commerce catalog with the primary key or returnsnullif it could not be found.static Map<Serializable, CommerceCatalog> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceCatalogfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ? and companyId = ?.static CommerceCatalogfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.static intfilterCountByAccountEntryId(long accountEntryId) Returns the number of commerce catalogs that the user has permission to view where accountEntryId = ?.static intfilterCountByC_S(long companyId, boolean system) Returns the number of commerce catalogs that the user has permission to view where companyId = ? and system = ?.static intfilterCountByCompanyId(long companyId) Returns the number of commerce catalogs that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of commerce catalogs that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId) Returns all the commerce catalogs that the user has permission to view where accountEntryId = ?.static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where accountEntryId = ?.static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where accountEntryId = ?.static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system) Returns all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where companyId = ? and system = ?.static List<CommerceCatalog> filterFindByCompanyId(long companyId) Returns all the commerce catalogs that the user has permission to view where companyId = ?.static List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where companyId = ?.static List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where companyId = ?.static List<CommerceCatalog> filterFindByUuid(String uuid) Returns all the commerce catalogs that the user has permission to view where uuid = ?.static List<CommerceCatalog> filterFindByUuid(String uuid, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where uuid = ?.static List<CommerceCatalog> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where uuid = ?.static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId) Returns all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where uuid = ? and companyId = ?.static List<CommerceCatalog> findByAccountEntryId(long accountEntryId) Returns all the commerce catalogs where accountEntryId = ?.static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the commerce catalogs where accountEntryId = ?.static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where accountEntryId = ?.static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where accountEntryId = ?.static CommerceCatalogfindByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.static List<CommerceCatalog> findByC_S(long companyId, boolean system) Returns all the commerce catalogs where companyId = ? and system = ?.static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end) Returns a range of all the commerce catalogs where companyId = ? and system = ?.static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.static CommerceCatalogfindByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.static List<CommerceCatalog> findByCompanyId(long companyId) Returns all the commerce catalogs where companyId = ?.static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce catalogs where companyId = ?.static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where companyId = ?.static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where companyId = ?.static CommerceCatalogfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.static CommerceCatalogfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws aNoSuchCatalogExceptionif it could not be found.static CommerceCatalogfindByPrimaryKey(long commerceCatalogId) Returns the commerce catalog with the primary key or throws aNoSuchCatalogExceptionif it could not be found.static List<CommerceCatalog> findByUuid(String uuid) Returns all the commerce catalogs where uuid = ?.static List<CommerceCatalog> findByUuid(String uuid, int start, int end) Returns a range of all the commerce catalogs where uuid = ?.static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where uuid = ?.static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where uuid = ?.static List<CommerceCatalog> findByUuid_C(String uuid, long companyId) Returns all the commerce catalogs where uuid = ? and companyId = ?.static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce catalogs where uuid = ? and companyId = ?.static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where uuid = ? and companyId = ?.static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where uuid = ? and companyId = ?.static CommerceCatalogfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ? and companyId = ?.static CommerceCatalogfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) static CommerceCatalogPersistencestatic CommerceCatalogremove(long commerceCatalogId) Removes the commerce catalog with the primary key from the database.static voidremoveByAccountEntryId(long accountEntryId) Removes all the commerce catalogs where accountEntryId = ? from the database.static voidremoveByC_S(long companyId, boolean system) Removes all the commerce catalogs where companyId = ? and system = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the commerce catalogs where companyId = ? from the database.static CommerceCatalogremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce catalogs where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce catalogs where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommerceCatalogPersistence persistence) static CommerceCatalogupdate(CommerceCatalog commerceCatalog) static CommerceCatalogupdate(CommerceCatalog commerceCatalog, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceCatalogupdateImpl(CommerceCatalog commerceCatalog)
-
Constructor Details
-
CommerceCatalogUtil
public CommerceCatalogUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
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
- See Also:
-
findWithDynamicQuery
public static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CommerceCatalog update(CommerceCatalog commerceCatalog, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce catalogs
-
findByUuid_First
public static CommerceCatalog findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the first commerce catalog in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog
-
fetchByUuid_First
public static CommerceCatalog fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog, or
nullif a matching commerce catalog could not be found
-
filterFindByUuid
public static List<CommerceCatalog> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs that the user has permission to view
-
removeByUuid
Removes all the commerce catalogs where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce catalogs where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce catalogs
-
filterCountByUuid
Returns the number of commerce catalogs that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce catalogs that the user has permission to view
-
findByUuid_C
public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce catalogs
-
findByUuid_C_First
public static CommerceCatalog findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the first commerce catalog 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 commerce catalog
-
fetchByUuid_C_First
public static CommerceCatalog fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog 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 commerce catalog, or
nullif a matching commerce catalog could not be found
-
filterFindByUuid_C
public static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs that the user has permission to view
-
removeByUuid_C
Removes all the commerce catalogs where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce catalogs where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce catalogs
-
filterCountByUuid_C
Returns the number of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce catalogs that the user has permission to view
-
findByCompanyId
public static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce catalogs
-
findByCompanyId_First
public static CommerceCatalog findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the first commerce catalog in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog
-
fetchByCompanyId_First
public static CommerceCatalog fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog, or
nullif a matching commerce catalog could not be found
-
filterFindByCompanyId
public static List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view 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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs that the user has permission to view
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce catalogs where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of commerce catalogs where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce catalogs
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of commerce catalogs that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce catalogs that the user has permission to view
-
findByAccountEntryId
public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where accountEntryId = ?.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.CommerceCatalogModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce catalogs
-
findByAccountEntryId_First
public static CommerceCatalog findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the first commerce catalog in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog
-
fetchByAccountEntryId_First
public static CommerceCatalog fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog, or
nullif a matching commerce catalog could not be found
-
filterFindByAccountEntryId
public static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where accountEntryId = ?.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.CommerceCatalogModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs that the user has permission to view
-
removeByAccountEntryId
public static void removeByAccountEntryId(long accountEntryId) Removes all the commerce catalogs where accountEntryId = ? from the database.- Parameters:
accountEntryId- the account entry ID
-
countByAccountEntryId
public static int countByAccountEntryId(long accountEntryId) Returns the number of commerce catalogs where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the number of matching commerce catalogs
-
filterCountByAccountEntryId
public static int filterCountByAccountEntryId(long accountEntryId) Returns the number of commerce catalogs that the user has permission to view where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the number of matching commerce catalogs that the user has permission to view
-
findByC_S
public static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDsystem- the systemstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce catalogs
-
findByC_S_First
public static CommerceCatalog findByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the systemorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog
-
fetchByC_S_First
public static CommerceCatalog fetchByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the systemorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce catalog, or
nullif a matching commerce catalog could not be found
-
filterFindByC_S
public static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs that the user has permissions to view where companyId = ? and system = ?.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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDsystem- the systemstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs that the user has permission to view
-
removeByC_S
public static void removeByC_S(long companyId, boolean system) Removes all the commerce catalogs where companyId = ? and system = ? from the database.- Parameters:
companyId- the company IDsystem- the system
-
countByC_S
public static int countByC_S(long companyId, boolean system) Returns the number of commerce catalogs where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the system- Returns:
- the number of matching commerce catalogs
-
filterCountByC_S
public static int filterCountByC_S(long companyId, boolean system) Returns the number of commerce catalogs that the user has permission to view where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the system- Returns:
- the number of matching commerce catalogs that the user has permission to view
-
findByERC_C
public static CommerceCatalog findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCatalogException Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws aNoSuchCatalogExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce catalog
-
fetchByERC_C
public static CommerceCatalog fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce catalog 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 commerce catalog, or
nullif a matching commerce catalog could not be found
-
removeByERC_C
public static CommerceCatalog removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCatalogException Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce catalog that was removed
- Throws:
NoSuchCatalogException
-
countByERC_C
Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce catalogs
-
create
Creates a new commerce catalog with the primary key. Does not add the commerce catalog to the database.- Parameters:
commerceCatalogId- the primary key for the new commerce catalog- Returns:
- the new commerce catalog
-
remove
Removes the commerce catalog with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceCatalogId- the primary key of the commerce catalog- Returns:
- the commerce catalog that was removed
-
updateImpl
-
findByPrimaryKey
public static CommerceCatalog findByPrimaryKey(long commerceCatalogId) throws NoSuchCatalogException Returns the commerce catalog with the primary key or throws aNoSuchCatalogExceptionif it could not be found.- Parameters:
commerceCatalogId- the primary key of the commerce catalog- Returns:
- the commerce catalog
-
fetchByPrimaryKey
Returns the commerce catalog with the primary key or returnsnullif it could not be found.- Parameters:
commerceCatalogId- the primary key of the commerce catalog- Returns:
- the commerce catalog, or
nullif a commerce catalog with the primary key could not be found
-
fetchByERC_C
Returns the commerce catalog 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 commerce catalog, or
nullif a matching commerce catalog could not be found
-
findByUuid
Returns all the commerce catalogs where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce catalogs
-
findByUuid
Returns a range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs
-
findByUuid
public static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs
-
filterFindByUuid
Returns all the commerce catalogs that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce catalogs that the user has permission to view
-
filterFindByUuid
Returns a range of all the commerce catalogs that the user has permission to view 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs that the user has permission to view
-
findByUuid_C
Returns all the commerce catalogs where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce catalogs
-
findByUuid_C
Returns a range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs
-
findByUuid_C
public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs
-
filterFindByUuid_C
Returns all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce catalogs that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view 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.CommerceCatalogModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs that the user has permission to view
-
findByCompanyId
Returns all the commerce catalogs where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce catalogs
-
findByCompanyId
Returns a range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs
-
findByCompanyId
public static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs 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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs
-
filterFindByCompanyId
Returns all the commerce catalogs that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce catalogs that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the commerce catalogs that the user has permission to view 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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs that the user has permission to view
-
findByAccountEntryId
Returns all the commerce catalogs where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the matching commerce catalogs
-
findByAccountEntryId
Returns a range of all the commerce catalogs where accountEntryId = ?.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.CommerceCatalogModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs
-
findByAccountEntryId
public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where accountEntryId = ?.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.CommerceCatalogModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs
-
filterFindByAccountEntryId
Returns all the commerce catalogs that the user has permission to view where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the matching commerce catalogs that the user has permission to view
-
filterFindByAccountEntryId
public static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where accountEntryId = ?.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.CommerceCatalogModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs that the user has permission to view
-
findByC_S
Returns all the commerce catalogs where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the system- Returns:
- the matching commerce catalogs
-
findByC_S
Returns a range of all the commerce catalogs where companyId = ? and system = ?.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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDsystem- the systemstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs
-
findByC_S
public static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDsystem- the systemstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce catalogs
-
filterFindByC_S
Returns all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.- Parameters:
companyId- the company IDsystem- the system- Returns:
- the matching commerce catalogs that the user has permission to view
-
filterFindByC_S
public static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.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.CommerceCatalogModelImpl.- Parameters:
companyId- the company IDsystem- the systemstart- the lower bound of the range of commerce catalogsend- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of matching commerce catalogs that the user has permission to view
-
getPersistence
-
setPersistence
-