Package | Description |
---|---|
com.liferay.portal.kernel.service.persistence |
This package defines the portal service persistence interfaces, classes, and utilities.
|
Modifier and Type | Method and Description |
---|---|
Subscription |
SubscriptionPersistence.findByC_C_C_First(long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static Subscription |
SubscriptionUtil.findByC_C_C_First(long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Subscription |
SubscriptionPersistence.findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static Subscription |
SubscriptionUtil.findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Subscription[] |
SubscriptionPersistence.findByC_C_C_PrevAndNext(long subscriptionId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static Subscription[] |
SubscriptionUtil.findByC_C_C_PrevAndNext(long subscriptionId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Subscription |
SubscriptionPersistence.findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws a
NoSuchSubscriptionException if it could not be found. |
static Subscription |
SubscriptionUtil.findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws a
NoSuchSubscriptionException if it could not be found. |
Subscription |
SubscriptionPersistence.findByG_U_First(long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where groupId = ? and userId = ?.
|
static Subscription |
SubscriptionUtil.findByG_U_First(long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where groupId = ? and userId = ?.
|
Subscription |
SubscriptionPersistence.findByG_U_Last(long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where groupId = ? and userId = ?.
|
static Subscription |
SubscriptionUtil.findByG_U_Last(long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where groupId = ? and userId = ?.
|
Subscription[] |
SubscriptionPersistence.findByG_U_PrevAndNext(long subscriptionId,
long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where groupId = ? and userId = ?.
|
static Subscription[] |
SubscriptionUtil.findByG_U_PrevAndNext(long subscriptionId,
long groupId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where groupId = ? and userId = ?.
|
Subscription |
SubscriptionPersistence.findByPrimaryKey(long subscriptionId)
Returns the subscription with the primary key or throws a
NoSuchSubscriptionException if it could not be found. |
static Subscription |
SubscriptionUtil.findByPrimaryKey(long subscriptionId)
Returns the subscription with the primary key or throws a
NoSuchSubscriptionException if it could not be found. |
Subscription |
SubscriptionPersistence.findByU_C_First(long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
|
static Subscription |
SubscriptionUtil.findByU_C_First(long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
|
Subscription |
SubscriptionPersistence.findByU_C_Last(long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
|
static Subscription |
SubscriptionUtil.findByU_C_Last(long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
|
Subscription[] |
SubscriptionPersistence.findByU_C_PrevAndNext(long subscriptionId,
long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where userId = ? and classNameId = ?.
|
static Subscription[] |
SubscriptionUtil.findByU_C_PrevAndNext(long subscriptionId,
long userId,
long classNameId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where userId = ? and classNameId = ?.
|
Subscription |
SubscriptionPersistence.findByUserId_First(long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where userId = ?.
|
static Subscription |
SubscriptionUtil.findByUserId_First(long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the first subscription in the ordered set where userId = ?.
|
Subscription |
SubscriptionPersistence.findByUserId_Last(long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where userId = ?.
|
static Subscription |
SubscriptionUtil.findByUserId_Last(long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the last subscription in the ordered set where userId = ?.
|
Subscription[] |
SubscriptionPersistence.findByUserId_PrevAndNext(long subscriptionId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where userId = ?.
|
static Subscription[] |
SubscriptionUtil.findByUserId_PrevAndNext(long subscriptionId,
long userId,
OrderByComparator<Subscription> orderByComparator)
Returns the subscriptions before and after the current subscription in the ordered set where userId = ?.
|
Subscription |
SubscriptionPersistence.remove(long subscriptionId)
Removes the subscription with the primary key from the database.
|
static Subscription |
SubscriptionUtil.remove(long subscriptionId)
Removes the subscription with the primary key from the database.
|
Subscription |
SubscriptionPersistence.removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
Removes the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.
|
static Subscription |
SubscriptionUtil.removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
Removes the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.
|