public class CommerceTermEntryUtil
extends java.lang.Object
com.liferay.commerce.term.service.persistence.impl.CommerceTermEntryPersistenceImpl
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
CommerceTermEntryPersistence
Constructor and Description |
---|
CommerceTermEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceTermEntry commerceTermEntry)
Caches the commerce term entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceTermEntry> commerceTermEntries)
Caches the commerce term entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceTermEntry commerceTermEntry) |
static int |
countAll()
Returns the number of commerce term entries.
|
static int |
countByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns the number of commerce term entries where companyId = ? and active = ? and type LIKE ?.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of commerce term entries where companyId = ? and active = ?.
|
static int |
countByC_LikeType(long companyId,
java.lang.String type)
Returns the number of commerce term entries where companyId = ? and type LIKE ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of commerce term entries where companyId = ? and name = ?.
|
static int |
countByC_P_T(long companyId,
double priority,
java.lang.String type)
Returns the number of commerce term entries where companyId = ? and priority = ? and type = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce term entries where externalReferenceCode = ? and companyId = ?.
|
static int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce term entries where displayDate < ? and status = ?.
|
static int |
countByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce term entries where expirationDate < ? and status = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce term entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce term entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceTermEntry |
create(long commerceTermEntryId)
Creates a new commerce term entry with the primary key.
|
static CommerceTermEntry |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and active = ?.
|
static CommerceTermEntry |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and active = ?.
|
static CommerceTermEntry |
fetchByC_A_LikeType_First(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry |
fetchByC_A_LikeType_Last(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry |
fetchByC_LikeType_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and type LIKE ?.
|
static CommerceTermEntry |
fetchByC_LikeType_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and type LIKE ?.
|
static CommerceTermEntry |
fetchByC_N(long companyId,
java.lang.String name)
Returns the commerce term entry where companyId = ? and name = ? or returns
null if it could not be found. |
static CommerceTermEntry |
fetchByC_N(long companyId,
java.lang.String name,
boolean useFinderCache)
Returns the commerce term entry where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceTermEntry |
fetchByC_P_T(long companyId,
double priority,
java.lang.String type)
Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns
null if it could not be found. |
static CommerceTermEntry |
fetchByC_P_T(long companyId,
double priority,
java.lang.String type,
boolean useFinderCache)
Returns the commerce term entry where companyId = ? and priority = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceTermEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static CommerceTermEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceTermEntry |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where displayDate < ? and status = ?.
|
static CommerceTermEntry |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where displayDate < ? and status = ?.
|
static CommerceTermEntry |
fetchByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where expirationDate < ? and status = ?.
|
static CommerceTermEntry |
fetchByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where expirationDate < ? and status = ?.
|
static CommerceTermEntry |
fetchByPrimaryKey(long commerceTermEntryId)
Returns the commerce term entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceTermEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommerceTermEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where uuid = ? and companyId = ?.
|
static CommerceTermEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where uuid = ? and companyId = ?.
|
static CommerceTermEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where uuid = ?.
|
static CommerceTermEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where uuid = ?.
|
static int |
filterCountByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns the number of commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of commerce term entries that the user has permission to view where companyId = ? and active = ?.
|
static int |
filterCountByC_LikeType(long companyId,
java.lang.String type)
Returns the number of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static int |
filterCountByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce term entries that the user has permission to view where displayDate < ? and status = ?.
|
static int |
filterCountByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce term entries that the user has permission to view where uuid = ?.
|
static CommerceTermEntry[] |
filterFindByC_A_LikeType_PrevAndNext(long commerceTermEntryId,
long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry[] |
filterFindByC_A_PrevAndNext(long commerceTermEntryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A(long companyId,
boolean active)
Returns all the commerce term entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and active = ?.
|
static CommerceTermEntry[] |
filterFindByC_LikeType_PrevAndNext(long commerceTermEntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type)
Returns all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where companyId = ? and type LIKE ?.
|
static CommerceTermEntry[] |
filterFindByLtD_S_PrevAndNext(long commerceTermEntryId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where displayDate < ? and status = ?.
|
static CommerceTermEntry[] |
filterFindByLtE_S_PrevAndNext(long commerceTermEntryId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where expirationDate < ? and status = ?.
|
static CommerceTermEntry[] |
filterFindByUuid_C_PrevAndNext(long commerceTermEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where uuid = ? and companyId = ?.
|
static CommerceTermEntry[] |
filterFindByUuid_PrevAndNext(long commerceTermEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set of commerce term entries that the user has permission to view where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce term entries that the user has permission to view where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce term entries that the user has permission to view where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries that the user has permissions to view where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findAll()
Returns all the commerce term entries.
|
static java.util.List<CommerceTermEntry> |
findAll(int start,
int end)
Returns a range of all the commerce term entries.
|
static java.util.List<CommerceTermEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries.
|
static java.util.List<CommerceTermEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries.
|
static CommerceTermEntry |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and active = ?.
|
static CommerceTermEntry |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and active = ?.
|
static CommerceTermEntry |
findByC_A_LikeType_First(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry |
findByC_A_LikeType_Last(long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry[] |
findByC_A_LikeType_PrevAndNext(long commerceTermEntryId,
long companyId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Returns all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A_LikeType(long companyId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where companyId = ? and active = ? and type LIKE ?.
|
static CommerceTermEntry[] |
findByC_A_PrevAndNext(long commerceTermEntryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A(long companyId,
boolean active)
Returns all the commerce term entries where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce term entries where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where companyId = ? and active = ?.
|
static java.util.List<CommerceTermEntry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where companyId = ? and active = ?.
|
static CommerceTermEntry |
findByC_LikeType_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where companyId = ? and type LIKE ?.
|
static CommerceTermEntry |
findByC_LikeType_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where companyId = ? and type LIKE ?.
|
static CommerceTermEntry[] |
findByC_LikeType_PrevAndNext(long commerceTermEntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_LikeType(long companyId,
java.lang.String type)
Returns all the commerce term entries where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the commerce term entries where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where companyId = ? and type LIKE ?.
|
static java.util.List<CommerceTermEntry> |
findByC_LikeType(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where companyId = ? and type LIKE ?.
|
static CommerceTermEntry |
findByC_N(long companyId,
java.lang.String name)
Returns the commerce term entry where companyId = ? and name = ? or throws a
NoSuchTermEntryException if it could not be found. |
static CommerceTermEntry |
findByC_P_T(long companyId,
double priority,
java.lang.String type)
Returns the commerce term entry where companyId = ? and priority = ? and type = ? or throws a
NoSuchTermEntryException if it could not be found. |
static CommerceTermEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce term entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchTermEntryException if it could not be found. |
static CommerceTermEntry |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where displayDate < ? and status = ?.
|
static CommerceTermEntry |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where displayDate < ? and status = ?.
|
static CommerceTermEntry[] |
findByLtD_S_PrevAndNext(long commerceTermEntryId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce term entries where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce term entries where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where displayDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where displayDate < ? and status = ?.
|
static CommerceTermEntry |
findByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where expirationDate < ? and status = ?.
|
static CommerceTermEntry |
findByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where expirationDate < ? and status = ?.
|
static CommerceTermEntry[] |
findByLtE_S_PrevAndNext(long commerceTermEntryId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce term entries where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce term entries where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where expirationDate < ? and status = ?.
|
static java.util.List<CommerceTermEntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where expirationDate < ? and status = ?.
|
static CommerceTermEntry |
findByPrimaryKey(long commerceTermEntryId)
Returns the commerce term entry with the primary key or throws a
NoSuchTermEntryException if it could not be found. |
static CommerceTermEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where uuid = ? and companyId = ?.
|
static CommerceTermEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where uuid = ? and companyId = ?.
|
static CommerceTermEntry[] |
findByUuid_C_PrevAndNext(long commerceTermEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce term entries where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce term entries where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where uuid = ? and companyId = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where uuid = ? and companyId = ?.
|
static CommerceTermEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the first commerce term entry in the ordered set where uuid = ?.
|
static CommerceTermEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the last commerce term entry in the ordered set where uuid = ?.
|
static CommerceTermEntry[] |
findByUuid_PrevAndNext(long commerceTermEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns the commerce term entries before and after the current commerce term entry in the ordered set where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid(java.lang.String uuid)
Returns all the commerce term entries where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce term entries where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
Returns an ordered range of all the commerce term entries where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce term entries where uuid = ?.
|
static java.util.List<CommerceTermEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceTermEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceTermEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) |
static CommerceTermEntryPersistence |
getPersistence() |
static CommerceTermEntry |
remove(long commerceTermEntryId)
Removes the commerce term entry with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce term entries from the database.
|
static void |
removeByC_A_LikeType(long companyId,
boolean active,
java.lang.String type)
Removes all the commerce term entries where companyId = ? and active = ? and type LIKE ? from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the commerce term entries where companyId = ? and active = ? from the database.
|
static void |
removeByC_LikeType(long companyId,
java.lang.String type)
Removes all the commerce term entries where companyId = ? and type LIKE ? from the database.
|
static CommerceTermEntry |
removeByC_N(long companyId,
java.lang.String name)
Removes the commerce term entry where companyId = ? and name = ? from the database.
|
static CommerceTermEntry |
removeByC_P_T(long companyId,
double priority,
java.lang.String type)
Removes the commerce term entry where companyId = ? and priority = ? and type = ? from the database.
|
static CommerceTermEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce term entry where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the commerce term entries where displayDate < ? and status = ? from the database.
|
static void |
removeByLtE_S(java.util.Date expirationDate,
int status)
Removes all the commerce term entries where expirationDate < ? and status = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce term entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce term entries where uuid = ? from the database.
|
static void |
setPersistence(CommerceTermEntryPersistence persistence) |
static CommerceTermEntry |
update(CommerceTermEntry commerceTermEntry) |
static CommerceTermEntry |
update(CommerceTermEntry commerceTermEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceTermEntry |
updateImpl(CommerceTermEntry commerceTermEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceTermEntry commerceTermEntry)
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,CommerceTermEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceTermEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceTermEntry update(CommerceTermEntry commerceTermEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceTermEntry update(CommerceTermEntry commerceTermEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceTermEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByUuid_PrevAndNext(long commerceTermEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByUuid_PrevAndNext(long commerceTermEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceTermEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByUuid_C_PrevAndNext(long commerceTermEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByUuid_C_PrevAndNext(long commerceTermEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceTermEntry> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<CommerceTermEntry> findByC_A(long companyId, boolean active, 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<CommerceTermEntry> filterFindByC_A(long companyId, boolean active, 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByC_A_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static CommerceTermEntry findByC_N(long companyId, java.lang.String name) throws NoSuchTermEntryException
NoSuchTermEntryException
if it could not be found.companyId
- the company IDname
- the nameNoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry 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 term entry could not be foundpublic static CommerceTermEntry 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 term entry could not be foundpublic static CommerceTermEntry removeByC_N(long companyId, java.lang.String name) throws NoSuchTermEntryException
companyId
- the company IDname
- the nameNoSuchTermEntryException
public static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<CommerceTermEntry> findByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<CommerceTermEntry> findByC_LikeType(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 CommerceTermEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByC_LikeType_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_LikeType_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByC_LikeType_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_LikeType_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<CommerceTermEntry> filterFindByC_LikeType(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 CommerceTermEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByC_LikeType(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByC_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int countByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int filterCountByC_LikeType(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<CommerceTermEntry> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommerceTermEntry> findByLtD_S(java.util.Date displayDate, int status, 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 CommerceTermEntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByLtD_S_PrevAndNext(long commerceTermEntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommerceTermEntry> filterFindByLtD_S(java.util.Date displayDate, int status, 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 CommerceTermEntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByLtD_S_PrevAndNext(long commerceTermEntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int filterCountByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommerceTermEntry> findByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<CommerceTermEntry> findByLtE_S(java.util.Date expirationDate, int status, 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 CommerceTermEntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByLtE_S_PrevAndNext(long commerceTermEntryId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<CommerceTermEntry> filterFindByLtE_S(java.util.Date expirationDate, int status, 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 CommerceTermEntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByLtE_S_PrevAndNext(long commerceTermEntryId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static int countByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static int filterCountByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static java.util.List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceTermEntry findByC_A_LikeType_First(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_A_LikeType_First(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry findByC_A_LikeType_Last(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_A_LikeType_Last(long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator)
companyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce term entry could not be foundpublic static CommerceTermEntry[] findByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static java.util.List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> filterFindByC_A_LikeType(long companyId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
companyId
- the company IDactive
- the activetype
- the typestart
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceTermEntry[] filterFindByC_A_LikeType_PrevAndNext(long commerceTermEntryId, long companyId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> orderByComparator) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the current commerce term entrycompanyId
- the company IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static void removeByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static int countByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static int filterCountByC_A_LikeType(long companyId, boolean active, java.lang.String type)
companyId
- the company IDactive
- the activetype
- the typepublic static CommerceTermEntry findByC_P_T(long companyId, double priority, java.lang.String type) throws NoSuchTermEntryException
NoSuchTermEntryException
if it could not be found.companyId
- the company IDpriority
- the prioritytype
- the typeNoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_P_T(long companyId, double priority, java.lang.String type)
null
if it could not be found. Uses the finder cache.companyId
- the company IDpriority
- the prioritytype
- the typenull
if a matching commerce term entry could not be foundpublic static CommerceTermEntry fetchByC_P_T(long companyId, double priority, java.lang.String type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDpriority
- the prioritytype
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching commerce term entry could not be foundpublic static CommerceTermEntry removeByC_P_T(long companyId, double priority, java.lang.String type) throws NoSuchTermEntryException
companyId
- the company IDpriority
- the prioritytype
- the typeNoSuchTermEntryException
public static int countByC_P_T(long companyId, double priority, java.lang.String type)
companyId
- the company IDpriority
- the prioritytype
- the typepublic static CommerceTermEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchTermEntryException
NoSuchTermEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchTermEntryException
- if a matching commerce term entry could not be foundpublic static CommerceTermEntry 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 term entry could not be foundpublic static CommerceTermEntry 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 term entry could not be foundpublic static CommerceTermEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchTermEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchTermEntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(CommerceTermEntry commerceTermEntry)
commerceTermEntry
- the commerce term entrypublic static void cacheResult(java.util.List<CommerceTermEntry> commerceTermEntries)
commerceTermEntries
- the commerce term entriespublic static CommerceTermEntry create(long commerceTermEntryId)
commerceTermEntryId
- the primary key for the new commerce term entrypublic static CommerceTermEntry remove(long commerceTermEntryId) throws NoSuchTermEntryException
commerceTermEntryId
- the primary key of the commerce term entryNoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static CommerceTermEntry updateImpl(CommerceTermEntry commerceTermEntry)
public static CommerceTermEntry findByPrimaryKey(long commerceTermEntryId) throws NoSuchTermEntryException
NoSuchTermEntryException
if it could not be found.commerceTermEntryId
- the primary key of the commerce term entryNoSuchTermEntryException
- if a commerce term entry with the primary key could not be foundpublic static CommerceTermEntry fetchByPrimaryKey(long commerceTermEntryId)
null
if it could not be found.commerceTermEntryId
- the primary key of the commerce term entrynull
if a commerce term entry with the primary key could not be foundpublic static java.util.List<CommerceTermEntry> findAll()
public static java.util.List<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
start
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)public static java.util.List<CommerceTermEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
start
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceTermEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntry> 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 CommerceTermEntryModelImpl
.
start
- the lower bound of the range of commerce term entriesend
- the upper bound of the range of commerce term entries (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 CommerceTermEntryPersistence getPersistence()
public static void setPersistence(CommerceTermEntryPersistence persistence)