@ProviderType public interface CommerceCatalogPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCatalog>
Caching information and settings can be found in portal.properties
CommerceCatalogUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceCatalog commerceCatalog)
Caches the commerce catalog in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceCatalog> commerceCatalogs)
Caches the commerce catalogs in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce catalogs.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce catalogs where companyId = ? and externalReferenceCode = ?.
|
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 = ?.
|
CommerceCatalog |
create(long commerceCatalogId)
Creates a new commerce catalog with the primary key.
|
CommerceCatalog |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce catalog where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceCatalog |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce catalog where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
CommerceCatalog |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the first commerce catalog in the ordered set where companyId = ?.
|
CommerceCatalog |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the last commerce catalog in the ordered set where companyId = ?.
|
CommerceCatalog |
fetchByPrimaryKey(long commerceCatalogId)
Returns the commerce catalog with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceCatalog> |
filterFindByC_S(long companyId,
boolean system)
Returns all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
java.util.List<CommerceCatalog> |
filterFindByCompanyId(long companyId)
Returns all the commerce catalogs that the user has permission to view where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<CommerceCatalog> |
findAll()
Returns all the commerce catalogs.
|
java.util.List<CommerceCatalog> |
findAll(int start,
int end)
Returns a range of all the commerce catalogs.
|
java.util.List<CommerceCatalog> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns an ordered range of all the commerce catalogs.
|
java.util.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.
|
CommerceCatalog |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce catalog where companyId = ? and externalReferenceCode = ? or throws a
NoSuchCatalogException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceCatalog> |
findByC_S(long companyId,
boolean system)
Returns all the commerce catalogs where companyId = ? and system = ?.
|
java.util.List<CommerceCatalog> |
findByC_S(long companyId,
boolean system,
int start,
int end)
Returns a range of all the commerce catalogs where companyId = ? and system = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceCatalog |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the first commerce catalog in the ordered set where companyId = ?.
|
CommerceCatalog |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the last commerce catalog in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<CommerceCatalog> |
findByCompanyId(long companyId)
Returns all the commerce catalogs where companyId = ?.
|
java.util.List<CommerceCatalog> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce catalogs where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceCatalog |
findByPrimaryKey(long commerceCatalogId)
Returns the commerce catalog with the primary key or throws a
NoSuchCatalogException if it could not be found. |
CommerceCatalog |
remove(long commerceCatalogId)
Removes the commerce catalog with the primary key from the database.
|
void |
removeAll()
Removes all the commerce catalogs from the database.
|
CommerceCatalog |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce catalog where companyId = ? and externalReferenceCode = ? 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.
|
CommerceCatalog |
updateImpl(CommerceCatalog commerceCatalog) |
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, setDataSource, unregisterListener, update, update
java.util.List<CommerceCatalog> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceCatalog> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)java.util.List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)java.util.List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceCatalog findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog[] findByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundjava.util.List<CommerceCatalog> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)java.util.List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)CommerceCatalog[] filterFindByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceCatalog> findByC_S(long companyId, boolean system)
companyId
- the company IDsystem
- the systemjava.util.List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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)java.util.List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)java.util.List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceCatalog findByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
companyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
companyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog findByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
companyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
companyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog[] findByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundjava.util.List<CommerceCatalog> filterFindByC_S(long companyId, boolean system)
companyId
- the company IDsystem
- the systemjava.util.List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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)java.util.List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)CommerceCatalog[] filterFindByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce catalogcompanyId
- the company IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundvoid removeByC_S(long companyId, boolean system)
companyId
- the company IDsystem
- the systemint countByC_S(long companyId, boolean system)
companyId
- the company IDsystem
- the systemint filterCountByC_S(long companyId, boolean system)
companyId
- the company IDsystem
- the systemCommerceCatalog findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCatalogException
NoSuchCatalogException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce catalog could not be foundCommerceCatalog fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce catalog could not be foundCommerceCatalog removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCatalogException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCatalogException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(CommerceCatalog commerceCatalog)
commerceCatalog
- the commerce catalogvoid cacheResult(java.util.List<CommerceCatalog> commerceCatalogs)
commerceCatalogs
- the commerce catalogsCommerceCatalog create(long commerceCatalogId)
commerceCatalogId
- the primary key for the new commerce catalogCommerceCatalog remove(long commerceCatalogId) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the commerce catalogNoSuchCatalogException
- if a commerce catalog with the primary key could not be foundCommerceCatalog updateImpl(CommerceCatalog commerceCatalog)
CommerceCatalog findByPrimaryKey(long commerceCatalogId) throws NoSuchCatalogException
NoSuchCatalogException
if it could not be found.commerceCatalogId
- the primary key of the commerce catalogNoSuchCatalogException
- if a commerce catalog with the primary key could not be foundCommerceCatalog fetchByPrimaryKey(long commerceCatalogId)
null
if it could not be found.commerceCatalogId
- the primary key of the commerce catalognull
if a commerce catalog with the primary key could not be foundjava.util.List<CommerceCatalog> findAll()
java.util.List<CommerceCatalog> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
start
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)java.util.List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)java.util.List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceCatalogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()