Package | Description |
---|---|
com.liferay.announcements.kernel.service.persistence |
Modifier and Type | Method and Description |
---|---|
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByCompanyId_First(long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the first announcements flag in the ordered set where companyId = ?.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByCompanyId_First(long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the first announcements flag in the ordered set where companyId = ?.
|
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByCompanyId_Last(long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the last announcements flag in the ordered set where companyId = ?.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByCompanyId_Last(long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the last announcements flag in the ordered set where companyId = ?.
|
static AnnouncementsFlag[] |
AnnouncementsFlagUtil.findByCompanyId_PrevAndNext(long flagId,
long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the announcements flags before and after the current announcements flag in the ordered set where companyId = ?.
|
AnnouncementsFlag[] |
AnnouncementsFlagPersistence.findByCompanyId_PrevAndNext(long flagId,
long companyId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the announcements flags before and after the current announcements flag in the ordered set where companyId = ?.
|
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByEntryId_First(long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the first announcements flag in the ordered set where entryId = ?.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByEntryId_First(long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the first announcements flag in the ordered set where entryId = ?.
|
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByEntryId_Last(long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the last announcements flag in the ordered set where entryId = ?.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByEntryId_Last(long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the last announcements flag in the ordered set where entryId = ?.
|
static AnnouncementsFlag[] |
AnnouncementsFlagUtil.findByEntryId_PrevAndNext(long flagId,
long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the announcements flags before and after the current announcements flag in the ordered set where entryId = ?.
|
AnnouncementsFlag[] |
AnnouncementsFlagPersistence.findByEntryId_PrevAndNext(long flagId,
long entryId,
OrderByComparator<AnnouncementsFlag> orderByComparator)
Returns the announcements flags before and after the current announcements flag in the ordered set where entryId = ?.
|
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByPrimaryKey(long flagId)
Returns the announcements flag with the primary key or throws a
NoSuchFlagException if it could not be found. |
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByPrimaryKey(long flagId)
Returns the announcements flag with the primary key or throws a
NoSuchFlagException if it could not be found. |
static AnnouncementsFlag |
AnnouncementsFlagUtil.findByU_E_V(long userId,
long entryId,
int value)
Returns the announcements flag where userId = ? and entryId = ? and value = ? or throws a
NoSuchFlagException if it could not be found. |
AnnouncementsFlag |
AnnouncementsFlagPersistence.findByU_E_V(long userId,
long entryId,
int value)
Returns the announcements flag where userId = ? and entryId = ? and value = ? or throws a
NoSuchFlagException if it could not be found. |
static AnnouncementsFlag |
AnnouncementsFlagUtil.remove(long flagId)
Removes the announcements flag with the primary key from the database.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.remove(long flagId)
Removes the announcements flag with the primary key from the database.
|
static AnnouncementsFlag |
AnnouncementsFlagUtil.removeByU_E_V(long userId,
long entryId,
int value)
Removes the announcements flag where userId = ? and entryId = ? and value = ? from the database.
|
AnnouncementsFlag |
AnnouncementsFlagPersistence.removeByU_E_V(long userId,
long entryId,
int value)
Removes the announcements flag where userId = ? and entryId = ? and value = ? from the database.
|