Package | Description |
---|---|
com.liferay.announcements.kernel.service.persistence |
Modifier and Type | Method and Description |
---|---|
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.findByPrimaryKey(long deliveryId)
Returns the announcements delivery with the primary key or throws a
NoSuchDeliveryException if it could not be found. |
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.findByPrimaryKey(long deliveryId)
Returns the announcements delivery with the primary key or throws a
NoSuchDeliveryException if it could not be found. |
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.findByU_T(long userId,
String type)
Returns the announcements delivery where userId = ? and type = ? or throws a
NoSuchDeliveryException if it could not be found. |
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.findByU_T(long userId,
String type)
Returns the announcements delivery where userId = ? and type = ? or throws a
NoSuchDeliveryException if it could not be found. |
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.findByUserId_First(long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the first announcements delivery in the ordered set where userId = ?.
|
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.findByUserId_First(long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the first announcements delivery in the ordered set where userId = ?.
|
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.findByUserId_Last(long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the last announcements delivery in the ordered set where userId = ?.
|
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.findByUserId_Last(long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the last announcements delivery in the ordered set where userId = ?.
|
AnnouncementsDelivery[] |
AnnouncementsDeliveryPersistence.findByUserId_PrevAndNext(long deliveryId,
long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the announcements deliveries before and after the current announcements delivery in the ordered set where userId = ?.
|
static AnnouncementsDelivery[] |
AnnouncementsDeliveryUtil.findByUserId_PrevAndNext(long deliveryId,
long userId,
OrderByComparator<AnnouncementsDelivery> orderByComparator)
Returns the announcements deliveries before and after the current announcements delivery in the ordered set where userId = ?.
|
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.remove(long deliveryId)
Removes the announcements delivery with the primary key from the database.
|
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.remove(long deliveryId)
Removes the announcements delivery with the primary key from the database.
|
AnnouncementsDelivery |
AnnouncementsDeliveryPersistence.removeByU_T(long userId,
String type)
Removes the announcements delivery where userId = ? and type = ? from the database.
|
static AnnouncementsDelivery |
AnnouncementsDeliveryUtil.removeByU_T(long userId,
String type)
Removes the announcements delivery where userId = ? and type = ? from the database.
|