@ProviderType public interface CommerceCatalogPersistence extends 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
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_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(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce catalogs where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce catalogs where uuid = ?.
|
CommerceCatalog |
create(long commerceCatalogId)
Creates a new commerce catalog with the primary key.
|
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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceCatalog |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceCatalog |
fetchByPrimaryKey(long commerceCatalogId)
Returns the commerce catalog with the primary key or returns
null if it could not be found. |
CommerceCatalog |
fetchByUuid_C_First(java.lang.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 = ?.
|
CommerceCatalog |
fetchByUuid_C_Last(java.lang.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 = ?.
|
CommerceCatalog |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the first commerce catalog in the ordered set where uuid = ?.
|
CommerceCatalog |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the last commerce catalog in the ordered set where uuid = ?.
|
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_C(java.lang.String uuid,
long companyId)
Returns the number of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce catalogs that the user has permission to view where uuid = ?.
|
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 = ?.
|
CommerceCatalog[] |
filterFindByUuid_C_PrevAndNext(long commerceCatalogId,
java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid_C(java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid_C(java.lang.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 = ?.
|
CommerceCatalog[] |
filterFindByUuid_PrevAndNext(long commerceCatalogId,
java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce catalogs that the user has permission to view where uuid = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce catalogs that the user has permission to view where uuid = ?.
|
java.util.List<CommerceCatalog> |
filterFindByUuid(java.lang.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 = ?.
|
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_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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws a
NoSuchCatalogException if it could not be found. |
CommerceCatalog |
findByPrimaryKey(long commerceCatalogId)
Returns the commerce catalog with the primary key or throws a
NoSuchCatalogException if it could not be found. |
CommerceCatalog |
findByUuid_C_First(java.lang.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 = ?.
|
CommerceCatalog |
findByUuid_C_Last(java.lang.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 = ?.
|
CommerceCatalog[] |
findByUuid_C_PrevAndNext(long commerceCatalogId,
java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce catalogs where uuid = ? and companyId = ?.
|
java.util.List<CommerceCatalog> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce catalogs where uuid = ? and companyId = ?.
|
java.util.List<CommerceCatalog> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
findByUuid_C(java.lang.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 = ?.
|
CommerceCatalog |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the first commerce catalog in the ordered set where uuid = ?.
|
CommerceCatalog |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
Returns the last commerce catalog in the ordered set where uuid = ?.
|
CommerceCatalog[] |
findByUuid_PrevAndNext(long commerceCatalogId,
java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
findByUuid(java.lang.String uuid)
Returns all the commerce catalogs where uuid = ?.
|
java.util.List<CommerceCatalog> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce catalogs where uuid = ?.
|
java.util.List<CommerceCatalog> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CommerceCatalog> |
findByUuid(java.lang.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 = ?.
|
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.
|
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 |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce catalogs where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce catalogs where uuid = ? from the database.
|
CommerceCatalog |
updateImpl(CommerceCatalog commerceCatalog) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceCatalog> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)java.util.List<CommerceCatalog> findByUuid(java.lang.String uuid, 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
.
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 (optionally null
)java.util.List<CommerceCatalog> findByUuid(java.lang.String uuid, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceCatalog findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog[] findByUuid_PrevAndNext(long commerceCatalogId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidorderByComparator
- 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> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceCatalog> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of commerce catalogsend
- the upper bound of the range of commerce catalogs (not inclusive)java.util.List<CommerceCatalog> filterFindByUuid(java.lang.String uuid, 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
.
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 (optionally null
)CommerceCatalog[] filterFindByUuid_PrevAndNext(long commerceCatalogId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a commerce catalog with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceCatalog> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceCatalog> findByUuid_C(java.lang.String uuid, 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
.
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)java.util.List<CommerceCatalog> findByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)java.util.List<CommerceCatalog> findByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceCatalog findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce catalog could not be foundCommerceCatalog[] findByUuid_C_PrevAndNext(long commerceCatalogId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidcompanyId
- 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> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceCatalog> filterFindByUuid_C(java.lang.String uuid, 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
.
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)java.util.List<CommerceCatalog> filterFindByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)CommerceCatalog[] filterFindByUuid_C_PrevAndNext(long commerceCatalogId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
commerceCatalogId
- the primary key of the current commerce cataloguuid
- the uuidcompanyId
- 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 removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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 findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCatalogException
NoSuchCatalogException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCatalogException
- if a matching commerce catalog could not be foundCommerceCatalog fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce catalog could not be foundCommerceCatalog fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce catalog could not be foundCommerceCatalog removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchCatalogException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchCatalogException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid 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()