public class CommerceDataIntegrationProcessUtil
extends java.lang.Object
com.liferay.commerce.data.integration.service.persistence.impl.CommerceDataIntegrationProcessPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CommerceDataIntegrationProcessPersistence| Constructor and Description |
|---|
CommerceDataIntegrationProcessUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CommerceDataIntegrationProcess commerceDataIntegrationProcess)
Caches the commerce data integration process in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceDataIntegrationProcess> commerceDataIntegrationProcesses)
Caches the commerce data integration processes in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceDataIntegrationProcess commerceDataIntegrationProcess) |
static int |
countAll()
Returns the number of commerce data integration processes.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of commerce data integration processes where companyId = ? and name = ?.
|
static int |
countByC_T(long companyId,
java.lang.String type)
Returns the number of commerce data integration processes where companyId = ? and type = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of commerce data integration processes where companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceDataIntegrationProcess |
create(long commerceDataIntegrationProcessId)
Creates a new commerce data integration process with the primary key.
|
static CommerceDataIntegrationProcess |
fetchByC_N(long companyId,
java.lang.String name)
Returns the commerce data integration process where companyId = ? and name = ? or returns
null if it could not be found. |
static CommerceDataIntegrationProcess |
fetchByC_N(long companyId,
java.lang.String name,
boolean useFinderCache)
Returns the commerce data integration process where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceDataIntegrationProcess |
fetchByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the first commerce data integration process in the ordered set where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess |
fetchByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the last commerce data integration process in the ordered set where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the first commerce data integration process in the ordered set where companyId = ?.
|
static CommerceDataIntegrationProcess |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the last commerce data integration process in the ordered set where companyId = ?.
|
static CommerceDataIntegrationProcess |
fetchByPrimaryKey(long commerceDataIntegrationProcessId)
Returns the commerce data integration process with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceDataIntegrationProcess> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static int |
filterCountByC_T(long companyId,
java.lang.String type)
Returns the number of commerce data integration processes that the user has permission to view where companyId = ? and type = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of commerce data integration processes that the user has permission to view where companyId = ?.
|
static CommerceDataIntegrationProcess[] |
filterFindByC_T_PrevAndNext(long commerceDataIntegrationProcessId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the commerce data integration processes before and after the current commerce data integration process in the ordered set of commerce data integration processes that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByC_T(long companyId,
java.lang.String type)
Returns all the commerce data integration processes that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByC_T(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce data integration processes that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns an ordered range of all the commerce data integration processes that the user has permissions to view where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess[] |
filterFindByCompanyId_PrevAndNext(long commerceDataIntegrationProcessId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the commerce data integration processes before and after the current commerce data integration process in the ordered set of commerce data integration processes that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByCompanyId(long companyId)
Returns all the commerce data integration processes that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce data integration processes that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns an ordered range of all the commerce data integration processes that the user has permissions to view where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findAll()
Returns all the commerce data integration processes.
|
static java.util.List<CommerceDataIntegrationProcess> |
findAll(int start,
int end)
Returns a range of all the commerce data integration processes.
|
static java.util.List<CommerceDataIntegrationProcess> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns an ordered range of all the commerce data integration processes.
|
static java.util.List<CommerceDataIntegrationProcess> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce data integration processes.
|
static CommerceDataIntegrationProcess |
findByC_N(long companyId,
java.lang.String name)
Returns the commerce data integration process where companyId = ? and name = ? or throws a
NoSuchDataIntegrationProcessException if it could not be found. |
static CommerceDataIntegrationProcess |
findByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the first commerce data integration process in the ordered set where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess |
findByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the last commerce data integration process in the ordered set where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess[] |
findByC_T_PrevAndNext(long commerceDataIntegrationProcessId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the commerce data integration processes before and after the current commerce data integration process in the ordered set where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByC_T(long companyId,
java.lang.String type)
Returns all the commerce data integration processes where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce data integration processes where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns an ordered range of all the commerce data integration processes where companyId = ? and type = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce data integration processes where companyId = ? and type = ?.
|
static CommerceDataIntegrationProcess |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the first commerce data integration process in the ordered set where companyId = ?.
|
static CommerceDataIntegrationProcess |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the last commerce data integration process in the ordered set where companyId = ?.
|
static CommerceDataIntegrationProcess[] |
findByCompanyId_PrevAndNext(long commerceDataIntegrationProcessId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns the commerce data integration processes before and after the current commerce data integration process in the ordered set where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByCompanyId(long companyId)
Returns all the commerce data integration processes where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce data integration processes where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
Returns an ordered range of all the commerce data integration processes where companyId = ?.
|
static java.util.List<CommerceDataIntegrationProcess> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce data integration processes where companyId = ?.
|
static CommerceDataIntegrationProcess |
findByPrimaryKey(long commerceDataIntegrationProcessId)
Returns the commerce data integration process with the primary key or throws a
NoSuchDataIntegrationProcessException if it could not be found. |
static java.util.List<CommerceDataIntegrationProcess> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceDataIntegrationProcess> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceDataIntegrationProcess> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) |
static CommerceDataIntegrationProcessPersistence |
getPersistence() |
static CommerceDataIntegrationProcess |
remove(long commerceDataIntegrationProcessId)
Removes the commerce data integration process with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce data integration processes from the database.
|
static CommerceDataIntegrationProcess |
removeByC_N(long companyId,
java.lang.String name)
Removes the commerce data integration process where companyId = ? and name = ? from the database.
|
static void |
removeByC_T(long companyId,
java.lang.String type)
Removes all the commerce data integration processes where companyId = ? and type = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the commerce data integration processes where companyId = ? from the database.
|
static void |
setPersistence(CommerceDataIntegrationProcessPersistence persistence) |
static CommerceDataIntegrationProcess |
update(CommerceDataIntegrationProcess commerceDataIntegrationProcess) |
static CommerceDataIntegrationProcess |
update(CommerceDataIntegrationProcess commerceDataIntegrationProcess,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceDataIntegrationProcess |
updateImpl(CommerceDataIntegrationProcess commerceDataIntegrationProcess) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CommerceDataIntegrationProcess commerceDataIntegrationProcess)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.Map<java.io.Serializable,CommerceDataIntegrationProcess> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<CommerceDataIntegrationProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CommerceDataIntegrationProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CommerceDataIntegrationProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CommerceDataIntegrationProcess update(CommerceDataIntegrationProcess commerceDataIntegrationProcess)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CommerceDataIntegrationProcess update(CommerceDataIntegrationProcess commerceDataIntegrationProcess, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CommerceDataIntegrationProcess> findByCompanyId(long companyId)
companyId - the company IDpublic static java.util.List<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)public static java.util.List<CommerceDataIntegrationProcess> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceDataIntegrationProcess> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceDataIntegrationProcess findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess[] findByCompanyId_PrevAndNext(long commerceDataIntegrationProcessId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
commerceDataIntegrationProcessId - the primary key of the current commerce data integration processcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static java.util.List<CommerceDataIntegrationProcess> filterFindByCompanyId(long companyId)
companyId - the company IDpublic static java.util.List<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)public static java.util.List<CommerceDataIntegrationProcess> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static CommerceDataIntegrationProcess[] filterFindByCompanyId_PrevAndNext(long commerceDataIntegrationProcessId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
commerceDataIntegrationProcessId - the primary key of the current commerce data integration processcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId - the company IDpublic static int countByCompanyId(long companyId)
companyId - the company IDpublic static int filterCountByCompanyId(long companyId)
companyId - the company IDpublic static CommerceDataIntegrationProcess findByC_N(long companyId, java.lang.String name) throws NoSuchDataIntegrationProcessException
NoSuchDataIntegrationProcessException if it could not be found.companyId - the company IDname - the nameNoSuchDataIntegrationProcessException - if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByC_N(long companyId, java.lang.String name)
null if it could not be found. Uses the finder cache.companyId - the company IDname - the namenull if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByC_N(long companyId, java.lang.String name, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess removeByC_N(long companyId, java.lang.String name) throws NoSuchDataIntegrationProcessException
companyId - the company IDname - the nameNoSuchDataIntegrationProcessExceptionpublic static int countByC_N(long companyId,
java.lang.String name)
companyId - the company IDname - the namepublic static java.util.List<CommerceDataIntegrationProcess> findByC_T(long companyId, java.lang.String type)
companyId - the company IDtype - the typepublic static java.util.List<CommerceDataIntegrationProcess> findByC_T(long companyId, java.lang.String type, 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)public static java.util.List<CommerceDataIntegrationProcess> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceDataIntegrationProcess> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceDataIntegrationProcess findByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess findByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess fetchByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator)
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce data integration process could not be foundpublic static CommerceDataIntegrationProcess[] findByC_T_PrevAndNext(long commerceDataIntegrationProcessId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
commerceDataIntegrationProcessId - the primary key of the current commerce data integration processcompanyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static java.util.List<CommerceDataIntegrationProcess> filterFindByC_T(long companyId, java.lang.String type)
companyId - the company IDtype - the typepublic static java.util.List<CommerceDataIntegrationProcess> filterFindByC_T(long companyId, java.lang.String type, 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)public static java.util.List<CommerceDataIntegrationProcess> filterFindByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static CommerceDataIntegrationProcess[] filterFindByC_T_PrevAndNext(long commerceDataIntegrationProcessId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> orderByComparator) throws NoSuchDataIntegrationProcessException
commerceDataIntegrationProcessId - the primary key of the current commerce data integration processcompanyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static void removeByC_T(long companyId,
java.lang.String type)
companyId - the company IDtype - the typepublic static int countByC_T(long companyId,
java.lang.String type)
companyId - the company IDtype - the typepublic static int filterCountByC_T(long companyId,
java.lang.String type)
companyId - the company IDtype - the typepublic static void cacheResult(CommerceDataIntegrationProcess commerceDataIntegrationProcess)
commerceDataIntegrationProcess - the commerce data integration processpublic static void cacheResult(java.util.List<CommerceDataIntegrationProcess> commerceDataIntegrationProcesses)
commerceDataIntegrationProcesses - the commerce data integration processespublic static CommerceDataIntegrationProcess create(long commerceDataIntegrationProcessId)
commerceDataIntegrationProcessId - the primary key for the new commerce data integration processpublic static CommerceDataIntegrationProcess remove(long commerceDataIntegrationProcessId) throws NoSuchDataIntegrationProcessException
commerceDataIntegrationProcessId - the primary key of the commerce data integration processNoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static CommerceDataIntegrationProcess updateImpl(CommerceDataIntegrationProcess commerceDataIntegrationProcess)
public static CommerceDataIntegrationProcess findByPrimaryKey(long commerceDataIntegrationProcessId) throws NoSuchDataIntegrationProcessException
NoSuchDataIntegrationProcessException if it could not be found.commerceDataIntegrationProcessId - the primary key of the commerce data integration processNoSuchDataIntegrationProcessException - if a commerce data integration process with the primary key could not be foundpublic static CommerceDataIntegrationProcess fetchByPrimaryKey(long commerceDataIntegrationProcessId)
null if it could not be found.commerceDataIntegrationProcessId - the primary key of the commerce data integration processnull if a commerce data integration process with the primary key could not be foundpublic static java.util.List<CommerceDataIntegrationProcess> findAll()
public static java.util.List<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
start - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)public static java.util.List<CommerceDataIntegrationProcess> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
start - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceDataIntegrationProcess> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDataIntegrationProcess> 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 CommerceDataIntegrationProcessModelImpl.
start - the lower bound of the range of commerce data integration processesend - the upper bound of the range of commerce data integration processes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceDataIntegrationProcessPersistence getPersistence()
public static void setPersistence(CommerceDataIntegrationProcessPersistence persistence)