@ProviderType public interface CommerceSubscriptionEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceSubscriptionEntry>
Caching information and settings can be found in portal.properties
CommerceSubscriptionEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceSubscriptionEntry commerceSubscriptionEntry)
Caches the commerce subscription entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceSubscriptionEntry> commerceSubscriptionEntries)
Caches the commerce subscription entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce subscription entries.
|
int |
countByC_C_C(java.lang.String CPInstanceUuid,
long CProductId,
long commerceOrderItemId)
Returns the number of commerce subscription entries where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ?.
|
int |
countByC_U(long companyId,
long userId)
Returns the number of commerce subscription entries where companyId = ? and userId = ?.
|
int |
countByCommerceOrderItemId(long commerceOrderItemId)
Returns the number of commerce subscription entries where commerceOrderItemId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce subscription entries where companyId = ?.
|
int |
countByG_C_U(long groupId,
long companyId,
long userId)
Returns the number of commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce subscription entries where groupId = ?.
|
int |
countBySubscriptionStatus(int subscriptionStatus)
Returns the number of commerce subscription entries where subscriptionStatus = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce subscription entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce subscription entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce subscription entries where uuid = ?.
|
CommerceSubscriptionEntry |
create(long commerceSubscriptionEntryId)
Creates a new commerce subscription entry with the primary key.
|
CommerceSubscriptionEntry |
fetchByC_C_C(java.lang.String CPInstanceUuid,
long CProductId,
long commerceOrderItemId)
Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returns
null if it could not be found. |
CommerceSubscriptionEntry |
fetchByC_C_C(java.lang.String CPInstanceUuid,
long CProductId,
long commerceOrderItemId,
boolean useFinderCache)
Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceSubscriptionEntry |
fetchByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
fetchByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
fetchByCommerceOrderItemId(long commerceOrderItemId)
Returns the commerce subscription entry where commerceOrderItemId = ? or returns
null if it could not be found. |
CommerceSubscriptionEntry |
fetchByCommerceOrderItemId(long commerceOrderItemId,
boolean useFinderCache)
Returns the commerce subscription entry where commerceOrderItemId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceSubscriptionEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where companyId = ?.
|
CommerceSubscriptionEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where companyId = ?.
|
CommerceSubscriptionEntry |
fetchByG_C_U_First(long groupId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
fetchByG_C_U_Last(long groupId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where groupId = ?.
|
CommerceSubscriptionEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where groupId = ?.
|
CommerceSubscriptionEntry |
fetchByPrimaryKey(long commerceSubscriptionEntryId)
Returns the commerce subscription entry with the primary key or returns
null if it could not be found. |
CommerceSubscriptionEntry |
fetchBySubscriptionStatus_First(int subscriptionStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.
|
CommerceSubscriptionEntry |
fetchBySubscriptionStatus_Last(int subscriptionStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where subscriptionStatus = ?.
|
CommerceSubscriptionEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where uuid = ? and companyId = ?.
|
CommerceSubscriptionEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where uuid = ? and companyId = ?.
|
CommerceSubscriptionEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where uuid = ?.
|
CommerceSubscriptionEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce subscription entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceSubscriptionEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce subscription entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceSubscriptionEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where uuid = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findAll()
Returns all the commerce subscription entries.
|
java.util.List<CommerceSubscriptionEntry> |
findAll(int start,
int end)
Returns a range of all the commerce subscription entries.
|
java.util.List<CommerceSubscriptionEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries.
|
java.util.List<CommerceSubscriptionEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries.
|
CommerceSubscriptionEntry |
findByC_C_C(java.lang.String CPInstanceUuid,
long CProductId,
long commerceOrderItemId)
Returns the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? or throws a
NoSuchSubscriptionEntryException if it could not be found. |
CommerceSubscriptionEntry |
findByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
findByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where companyId = ? and userId = ?.
|
CommerceSubscriptionEntry[] |
findByC_U_PrevAndNext(long commerceSubscriptionEntryId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByC_U(long companyId,
long userId)
Returns all the commerce subscription entries where companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the commerce subscription entries where companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
findByCommerceOrderItemId(long commerceOrderItemId)
Returns the commerce subscription entry where commerceOrderItemId = ? or throws a
NoSuchSubscriptionEntryException if it could not be found. |
CommerceSubscriptionEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where companyId = ?.
|
CommerceSubscriptionEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where companyId = ?.
|
CommerceSubscriptionEntry[] |
findByCompanyId_PrevAndNext(long commerceSubscriptionEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByCompanyId(long companyId)
Returns all the commerce subscription entries where companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce subscription entries where companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where companyId = ?.
|
CommerceSubscriptionEntry |
findByG_C_U_First(long groupId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
findByG_C_U_Last(long groupId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.
|
CommerceSubscriptionEntry[] |
findByG_C_U_PrevAndNext(long commerceSubscriptionEntryId,
long groupId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ? and companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByG_C_U(long groupId,
long companyId,
long userId)
Returns all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByG_C_U(long groupId,
long companyId,
long userId,
int start,
int end)
Returns a range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByG_C_U(long groupId,
long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByG_C_U(long groupId,
long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where groupId = ? and companyId = ? and userId = ?.
|
CommerceSubscriptionEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where groupId = ?.
|
CommerceSubscriptionEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where groupId = ?.
|
CommerceSubscriptionEntry[] |
findByGroupId_PrevAndNext(long commerceSubscriptionEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByGroupId(long groupId)
Returns all the commerce subscription entries where groupId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce subscription entries where groupId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where groupId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where groupId = ?.
|
CommerceSubscriptionEntry |
findByPrimaryKey(long commerceSubscriptionEntryId)
Returns the commerce subscription entry with the primary key or throws a
NoSuchSubscriptionEntryException if it could not be found. |
CommerceSubscriptionEntry |
findBySubscriptionStatus_First(int subscriptionStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where subscriptionStatus = ?.
|
CommerceSubscriptionEntry |
findBySubscriptionStatus_Last(int subscriptionStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where subscriptionStatus = ?.
|
CommerceSubscriptionEntry[] |
findBySubscriptionStatus_PrevAndNext(long commerceSubscriptionEntryId,
int subscriptionStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where subscriptionStatus = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findBySubscriptionStatus(int subscriptionStatus)
Returns all the commerce subscription entries where subscriptionStatus = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findBySubscriptionStatus(int subscriptionStatus,
int start,
int end)
Returns a range of all the commerce subscription entries where subscriptionStatus = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findBySubscriptionStatus(int subscriptionStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findBySubscriptionStatus(int subscriptionStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where subscriptionStatus = ?.
|
CommerceSubscriptionEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where uuid = ? and companyId = ?.
|
CommerceSubscriptionEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where uuid = ? and companyId = ?.
|
CommerceSubscriptionEntry[] |
findByUuid_C_PrevAndNext(long commerceSubscriptionEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce subscription entries where uuid = ? and companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce subscription entries where uuid = ? and companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where uuid = ? and companyId = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where uuid = ? and companyId = ?.
|
CommerceSubscriptionEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the first commerce subscription entry in the ordered set where uuid = ?.
|
CommerceSubscriptionEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce subscription entry where uuid = ? and groupId = ? or throws a
NoSuchSubscriptionEntryException if it could not be found. |
CommerceSubscriptionEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the last commerce subscription entry in the ordered set where uuid = ?.
|
CommerceSubscriptionEntry[] |
findByUuid_PrevAndNext(long commerceSubscriptionEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where uuid = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid(java.lang.String uuid)
Returns all the commerce subscription entries where uuid = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce subscription entries where uuid = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
Returns an ordered range of all the commerce subscription entries where uuid = ?.
|
java.util.List<CommerceSubscriptionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce subscription entries where uuid = ?.
|
CommerceSubscriptionEntry |
remove(long commerceSubscriptionEntryId)
Removes the commerce subscription entry with the primary key from the database.
|
void |
removeAll()
Removes all the commerce subscription entries from the database.
|
CommerceSubscriptionEntry |
removeByC_C_C(java.lang.String CPInstanceUuid,
long CProductId,
long commerceOrderItemId)
Removes the commerce subscription entry where CPInstanceUuid = ? and CProductId = ? and commerceOrderItemId = ? from the database.
|
void |
removeByC_U(long companyId,
long userId)
Removes all the commerce subscription entries where companyId = ? and userId = ? from the database.
|
CommerceSubscriptionEntry |
removeByCommerceOrderItemId(long commerceOrderItemId)
Removes the commerce subscription entry where commerceOrderItemId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce subscription entries where companyId = ? from the database.
|
void |
removeByG_C_U(long groupId,
long companyId,
long userId)
Removes all the commerce subscription entries where groupId = ? and companyId = ? and userId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce subscription entries where groupId = ? from the database.
|
void |
removeBySubscriptionStatus(int subscriptionStatus)
Removes all the commerce subscription entries where subscriptionStatus = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce subscription entries where uuid = ? and companyId = ? from the database.
|
CommerceSubscriptionEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce subscription entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce subscription entries where uuid = ? from the database.
|
CommerceSubscriptionEntry |
updateImpl(CommerceSubscriptionEntry commerceSubscriptionEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceSubscriptionEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByUuid_PrevAndNext(long commerceSubscriptionEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceSubscriptionEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSubscriptionEntryException
NoSuchSubscriptionEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSubscriptionEntryException
uuid
- the uuidgroupId
- the group IDNoSuchSubscriptionEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceSubscriptionEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByUuid_C_PrevAndNext(long commerceSubscriptionEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceSubscriptionEntry> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceSubscriptionEntry> findByGroupId(long groupId, 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByGroupId_PrevAndNext(long commerceSubscriptionEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceSubscriptionEntry> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByCompanyId_PrevAndNext(long commerceSubscriptionEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDCommerceSubscriptionEntry findByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchSubscriptionEntryException
NoSuchSubscriptionEntryException
if it could not be found.commerceOrderItemId
- the commerce order item IDNoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByCommerceOrderItemId(long commerceOrderItemId)
null
if it could not be found. Uses the finder cache.commerceOrderItemId
- the commerce order item IDnull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByCommerceOrderItemId(long commerceOrderItemId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceOrderItemId
- the commerce order item IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry removeByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchSubscriptionEntryException
commerceOrderItemId
- the commerce order item IDNoSuchSubscriptionEntryException
int countByCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item IDjava.util.List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus)
subscriptionStatus
- the subscription statusjava.util.List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, 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 CommerceSubscriptionEntryModelImpl
.
subscriptionStatus
- the subscription statusstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
subscriptionStatus
- the subscription statusstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findBySubscriptionStatus(int subscriptionStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
subscriptionStatus
- the subscription statusstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchBySubscriptionStatus_First(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findBySubscriptionStatus_Last(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchBySubscriptionStatus_Last(int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
subscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findBySubscriptionStatus_PrevAndNext(long commerceSubscriptionEntryId, int subscriptionStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrysubscriptionStatus
- the subscription statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeBySubscriptionStatus(int subscriptionStatus)
subscriptionStatus
- the subscription statusint countBySubscriptionStatus(int subscriptionStatus)
subscriptionStatus
- the subscription statusjava.util.List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, 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 CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByC_U_PrevAndNext(long commerceSubscriptionEntryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrycompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDint countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId)
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDjava.util.List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findByG_C_U(long groupId, long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceSubscriptionEntry findByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByG_C_U_First(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry findByG_C_U_Last(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByG_C_U_Last(long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry[] findByG_C_U_PrevAndNext(long commerceSubscriptionEntryId, long groupId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the current commerce subscription entrygroupId
- the group IDcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundvoid removeByG_C_U(long groupId, long companyId, long userId)
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDint countByG_C_U(long groupId, long companyId, long userId)
groupId
- the group IDcompanyId
- the company IDuserId
- the user IDCommerceSubscriptionEntry findByC_C_C(java.lang.String CPInstanceUuid, long CProductId, long commerceOrderItemId) throws NoSuchSubscriptionEntryException
NoSuchSubscriptionEntryException
if it could not be found.CPInstanceUuid
- the cp instance uuidCProductId
- the c product IDcommerceOrderItemId
- the commerce order item IDNoSuchSubscriptionEntryException
- if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByC_C_C(java.lang.String CPInstanceUuid, long CProductId, long commerceOrderItemId)
null
if it could not be found. Uses the finder cache.CPInstanceUuid
- the cp instance uuidCProductId
- the c product IDcommerceOrderItemId
- the commerce order item IDnull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry fetchByC_C_C(java.lang.String CPInstanceUuid, long CProductId, long commerceOrderItemId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPInstanceUuid
- the cp instance uuidCProductId
- the c product IDcommerceOrderItemId
- the commerce order item IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce subscription entry could not be foundCommerceSubscriptionEntry removeByC_C_C(java.lang.String CPInstanceUuid, long CProductId, long commerceOrderItemId) throws NoSuchSubscriptionEntryException
CPInstanceUuid
- the cp instance uuidCProductId
- the c product IDcommerceOrderItemId
- the commerce order item IDNoSuchSubscriptionEntryException
int countByC_C_C(java.lang.String CPInstanceUuid, long CProductId, long commerceOrderItemId)
CPInstanceUuid
- the cp instance uuidCProductId
- the c product IDcommerceOrderItemId
- the commerce order item IDvoid cacheResult(CommerceSubscriptionEntry commerceSubscriptionEntry)
commerceSubscriptionEntry
- the commerce subscription entryvoid cacheResult(java.util.List<CommerceSubscriptionEntry> commerceSubscriptionEntries)
commerceSubscriptionEntries
- the commerce subscription entriesCommerceSubscriptionEntry create(long commerceSubscriptionEntryId)
commerceSubscriptionEntryId
- the primary key for the new commerce subscription entryCommerceSubscriptionEntry remove(long commerceSubscriptionEntryId) throws NoSuchSubscriptionEntryException
commerceSubscriptionEntryId
- the primary key of the commerce subscription entryNoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundCommerceSubscriptionEntry updateImpl(CommerceSubscriptionEntry commerceSubscriptionEntry)
CommerceSubscriptionEntry findByPrimaryKey(long commerceSubscriptionEntryId) throws NoSuchSubscriptionEntryException
NoSuchSubscriptionEntryException
if it could not be found.commerceSubscriptionEntryId
- the primary key of the commerce subscription entryNoSuchSubscriptionEntryException
- if a commerce subscription entry with the primary key could not be foundCommerceSubscriptionEntry fetchByPrimaryKey(long commerceSubscriptionEntryId)
null
if it could not be found.commerceSubscriptionEntryId
- the primary key of the commerce subscription entrynull
if a commerce subscription entry with the primary key could not be foundjava.util.List<CommerceSubscriptionEntry> findAll()
java.util.List<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
start
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)java.util.List<CommerceSubscriptionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
start
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceSubscriptionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> 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 CommerceSubscriptionEntryModelImpl
.
start
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()