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 void
cacheResult
(CommerceCatalog commerceCatalog) Caches the commerce catalog in the entity cache if it is enabled.static void
cacheResult
(List<CommerceCatalog> commerceCatalogs) Caches the commerce catalogs in the entity cache if it is enabled.static void
static void
clearCache
(CommerceCatalog commerceCatalog) static int
countAll()
Returns the number of commerce catalogs.static int
countByAccountEntryId
(long accountEntryId) Returns the number of commerce catalogs where accountEntryId = ?.static int
countByC_S
(long companyId, boolean system) Returns the number of commerce catalogs where companyId = ? and system = ?.static int
countByCompanyId
(long companyId) Returns the number of commerce catalogs where companyId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.static int
countByUuid
(String uuid) Returns the number of commerce catalogs where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce catalogs where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceCatalog
create
(long commerceCatalogId) Creates a new commerce catalog with the primary key.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 = ?.static CommerceCatalog
fetchByAccountEntryId_Last
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where accountEntryId = ?.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 = ?.static CommerceCatalog
fetchByC_S_Last
(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ? and system = ?.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 = ?.static CommerceCatalog
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ?.static CommerceCatalog
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CommerceCatalog
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommerceCatalog
fetchByPrimaryKey
(long commerceCatalogId) Returns the commerce catalog with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CommerceCatalog> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.static CommerceCatalog
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ? and companyId = ?.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 = ?.static CommerceCatalog
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ?.static int
filterCountByAccountEntryId
(long accountEntryId) Returns the number of commerce catalogs that the user has permission to view where accountEntryId = ?.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 = ?.static int
filterCountByCompanyId
(long companyId) Returns the number of commerce catalogs that the user has permission to view where companyId = ?.static int
filterCountByUuid
(String uuid) Returns the number of commerce catalogs that the user has permission to view where uuid = ?.static int
filterCountByUuid_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 CommerceCatalog[]
filterFindByAccountEntryId_PrevAndNext
(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission 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 CommerceCatalog[]
filterFindByC_S_PrevAndNext
(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission 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 CommerceCatalog[]
filterFindByCompanyId_PrevAndNext
(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission 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 CommerceCatalog[]
filterFindByUuid_C_PrevAndNext
(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.static CommerceCatalog[]
filterFindByUuid_PrevAndNext
(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ?.static List<CommerceCatalog>
findAll()
Returns all the commerce catalogs.static List<CommerceCatalog>
findAll
(int start, int end) Returns a range of all the commerce catalogs.static List<CommerceCatalog>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs.static List<CommerceCatalog>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs.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 CommerceCatalog
findByAccountEntryId_First
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.static CommerceCatalog
findByAccountEntryId_Last
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where accountEntryId = ?.static CommerceCatalog[]
findByAccountEntryId_PrevAndNext
(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current 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 CommerceCatalog
findByC_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 CommerceCatalog
findByC_S_Last
(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ? and system = ?.static CommerceCatalog[]
findByC_S_PrevAndNext
(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current 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 CommerceCatalog
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.static CommerceCatalog
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ?.static CommerceCatalog[]
findByCompanyId_PrevAndNext
(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set where companyId = ?.static CommerceCatalog
findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws aNoSuchCatalogException
if it could not be found.static CommerceCatalog
findByPrimaryKey
(long commerceCatalogId) Returns the commerce catalog with the primary key or throws aNoSuchCatalogException
if 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 CommerceCatalog
findByUuid_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 CommerceCatalog
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ? and companyId = ?.static CommerceCatalog[]
findByUuid_C_PrevAndNext
(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current commerce catalog in the ordered set where uuid = ? and companyId = ?.static CommerceCatalog
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.static CommerceCatalog
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ?.static CommerceCatalog[]
findByUuid_PrevAndNext
(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the commerce catalogs before and after the current 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 CommerceCatalogPersistence
static CommerceCatalog
remove
(long commerceCatalogId) Removes the commerce catalog with the primary key from the database.static void
Removes all the commerce catalogs from the database.static void
removeByAccountEntryId
(long accountEntryId) Removes all the commerce catalogs where accountEntryId = ? from the database.static void
removeByC_S
(long companyId, boolean system) Removes all the commerce catalogs where companyId = ? and system = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the commerce catalogs where companyId = ? from the database.static CommerceCatalog
removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.static void
removeByUuid
(String uuid) Removes all the commerce catalogs where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce catalogs where uuid = ? and companyId = ? from the database.static void
setPersistence
(CommerceCatalogPersistence persistence) static CommerceCatalog
update
(CommerceCatalog commerceCatalog) static CommerceCatalog
update
(CommerceCatalog commerceCatalog, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceCatalog
updateImpl
(CommerceCatalog commerceCatalog)
-
Constructor Details
-
CommerceCatalogUtil
public CommerceCatalogUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceCatalog> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceCatalog update(CommerceCatalog commerceCatalog, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
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
null
if a matching commerce catalog could not be found
-
findByUuid_Last
public static CommerceCatalog findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the last commerce catalog in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByUuid_Last
public static CommerceCatalog fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
findByUuid_PrevAndNext
public static CommerceCatalog[] findByUuid_PrevAndNext(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set where uuid = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
filterFindByUuid_PrevAndNext
public static CommerceCatalog[] filterFindByUuid_PrevAndNext(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
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
null
if a matching commerce catalog could not be found
-
findByUuid_C_Last
public static CommerceCatalog findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the last 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 last matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByUuid_C_Last
public static CommerceCatalog fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last 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 last matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
findByUuid_C_PrevAndNext
public static CommerceCatalog[] findByUuid_C_PrevAndNext(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
filterFindByUuid_C_PrevAndNext
public static CommerceCatalog[] filterFindByUuid_C_PrevAndNext(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
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
null
if a matching commerce catalog could not be found
-
findByCompanyId_Last
public static CommerceCatalog findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the last commerce catalog in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByCompanyId_Last
public static CommerceCatalog fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
findByCompanyId_PrevAndNext
public static CommerceCatalog[] findByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set where companyId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
filterFindByCompanyId_PrevAndNext
public static CommerceCatalog[] filterFindByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where companyId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
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
null
if a matching commerce catalog could not be found
-
findByAccountEntryId_Last
public static CommerceCatalog findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the last commerce catalog in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByAccountEntryId_Last
public static CommerceCatalog fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
findByAccountEntryId_PrevAndNext
public static CommerceCatalog[] findByAccountEntryId_PrevAndNext(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set where accountEntryId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
filterFindByAccountEntryId_PrevAndNext
public static CommerceCatalog[] filterFindByAccountEntryId_PrevAndNext(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where accountEntryId = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
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
null
if a matching commerce catalog could not be found
-
findByC_S_Last
public static CommerceCatalog findByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the last 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 last matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByC_S_Last
public static CommerceCatalog fetchByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last 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 last matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
findByC_S_PrevAndNext
public static CommerceCatalog[] findByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set where companyId = ? and system = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- 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
-
filterFindByC_S_PrevAndNext
public static CommerceCatalog[] filterFindByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where companyId = ? and system = ?.- Parameters:
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
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 aNoSuchCatalogException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce catalog
- Throws:
NoSuchCatalogException
- if a matching commerce catalog could not be foundNoSuchCatalogException
-
fetchByERC_C
Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce catalog, or
null
if a matching commerce catalog could not be found
-
fetchByERC_C
public static CommerceCatalog fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if 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
-
cacheResult
Caches the commerce catalog in the entity cache if it is enabled.- Parameters:
commerceCatalog
- the commerce catalog
-
cacheResult
Caches the commerce catalogs in the entity cache if it is enabled.- Parameters:
commerceCatalogs
- the 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
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
updateImpl
-
findByPrimaryKey
public static CommerceCatalog findByPrimaryKey(long commerceCatalogId) throws NoSuchCatalogException Returns the commerce catalog with the primary key or throws aNoSuchCatalogException
if it could not be found.- Parameters:
commerceCatalogId
- the primary key of the commerce catalog- Returns:
- the commerce catalog
- Throws:
NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundNoSuchCatalogException
-
fetchByPrimaryKey
Returns the commerce catalog with the primary key or returnsnull
if it could not be found.- Parameters:
commerceCatalogId
- the primary key of the commerce catalog- Returns:
- the commerce catalog, or
null
if a commerce catalog with the primary key could not be found
-
findAll
Returns all the commerce catalogs.- Returns:
- the commerce catalogs
-
findAll
Returns a range of all the commerce catalogs.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- Parameters:
start
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)- Returns:
- the range of commerce catalogs
-
findAll
public static List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- Parameters:
start
- 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 commerce catalogs
-
findAll
public static List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceCatalogModelImpl
.- Parameters:
start
- 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 commerce catalogs
-
removeAll
public static void removeAll()Removes all the commerce catalogs from the database. -
countAll
public static int countAll()Returns the number of commerce catalogs.- Returns:
- the number of commerce catalogs
-
getPersistence
-
setPersistence
-