Interface CommerceCatalogPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCatalog>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceCatalog>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceCatalog commerceCatalog) Caches the commerce catalog in the entity cache if it is enabled.void
cacheResult
(List<CommerceCatalog> commerceCatalogs) Caches the commerce catalogs in the entity cache if it is enabled.int
countAll()
Returns the number of commerce catalogs.int
countByAccountEntryId
(long accountEntryId) Returns the number of commerce catalogs where accountEntryId = ?.int
countByC_S
(long companyId, boolean system) Returns the number of commerce catalogs where companyId = ? and system = ?.int
countByCompanyId
(long companyId) Returns the number of commerce catalogs where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of commerce catalogs where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce catalogs where uuid = ? and companyId = ?.create
(long commerceCatalogId) Creates a new commerce catalog with the primary key.fetchByAccountEntryId_First
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.fetchByAccountEntryId_Last
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where accountEntryId = ?.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.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.fetchByPrimaryKey
(long commerceCatalogId) Returns the commerce catalog with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ?.int
filterCountByAccountEntryId
(long accountEntryId) Returns the number of commerce catalogs that the user has permission to view where accountEntryId = ?.int
filterCountByC_S
(long companyId, boolean system) Returns the number of commerce catalogs that the user has permission to view where companyId = ? and system = ?.int
filterCountByCompanyId
(long companyId) Returns the number of commerce catalogs that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of commerce catalogs that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.filterFindByAccountEntryId
(long accountEntryId) Returns all the commerce catalogs that the user has permission to view where accountEntryId = ?.filterFindByAccountEntryId
(long accountEntryId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where accountEntryId = ?.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 = ?.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 = ?.filterFindByC_S
(long companyId, boolean system) Returns all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.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 = ?.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 = ?.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 = ?.filterFindByCompanyId
(long companyId) Returns all the commerce catalogs that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where companyId = ?.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 = ?.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 = ?.filterFindByUuid
(String uuid) Returns all the commerce catalogs that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the commerce catalogs that the user has permission to view where uuid = ?.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 = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.findAll()
Returns all the commerce catalogs.findAll
(int start, int end) Returns a range of all the commerce catalogs.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns an ordered range of all the commerce catalogs.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce catalogs.findByAccountEntryId
(long accountEntryId) Returns all the commerce catalogs where accountEntryId = ?.findByAccountEntryId
(long accountEntryId, int start, int end) Returns a range of all the commerce catalogs where accountEntryId = ?.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 = ?.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 = ?.findByAccountEntryId_First
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where accountEntryId = ?.findByAccountEntryId_Last
(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where accountEntryId = ?.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 = ?.findByC_S
(long companyId, boolean system) Returns all the commerce catalogs where companyId = ? and system = ?.findByC_S
(long companyId, boolean system, int start, int end) Returns a range of all the commerce catalogs where companyId = ? and system = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the commerce catalogs where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce catalogs where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where companyId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws aNoSuchCatalogException
if it could not be found.findByPrimaryKey
(long commerceCatalogId) Returns the commerce catalog with the primary key or throws aNoSuchCatalogException
if it could not be found.findByUuid
(String uuid) Returns all the commerce catalogs where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce catalogs where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce catalogs where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce catalogs where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the first commerce catalog in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) Returns the last commerce catalog in the ordered set where uuid = ?.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 = ?.remove
(long commerceCatalogId) Removes the commerce catalog with the primary key from the database.void
Removes all the commerce catalogs from the database.void
removeByAccountEntryId
(long accountEntryId) Removes all the commerce catalogs where accountEntryId = ? from the database.void
removeByC_S
(long companyId, boolean system) Removes all the commerce catalogs where companyId = ? and system = ? from the database.void
removeByCompanyId
(long companyId) Removes all the commerce catalogs where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce catalogs where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce catalogs where uuid = ? and companyId = ? from the database.updateImpl
(CommerceCatalog commerceCatalog) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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
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 found
-
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
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
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce catalogs where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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
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 found
-
fetchByAccountEntryId_First
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
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 found
-
fetchByAccountEntryId_Last
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
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 found
-
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
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
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
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 found
-
removeByAccountEntryId
void removeByAccountEntryId(long accountEntryId) Removes all the commerce catalogs where accountEntryId = ? from the database.- Parameters:
accountEntryId
- the account entry ID
-
countByAccountEntryId
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
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
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
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
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 found
-
fetchByC_S_First
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
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 found
-
fetchByC_S_Last
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
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 found
-
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
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
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
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 found
-
removeByC_S
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
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
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
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 found
-
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<CommerceCatalog> 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
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
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
void removeAll()Removes all the commerce catalogs from the database. -
countAll
int countAll()Returns the number of commerce catalogs.- Returns:
- the number of commerce catalogs
-