Package | Description |
---|---|
com.liferay.trash.kernel.service.persistence |
Modifier and Type | Method and Description |
---|---|
TrashVersion |
TrashVersionPersistence.findByC_C(long classNameId,
long classPK)
Returns the trash version where classNameId = ? and classPK = ? or throws a
NoSuchVersionException if it could not be found. |
static TrashVersion |
TrashVersionUtil.findByC_C(long classNameId,
long classPK)
Returns the trash version where classNameId = ? and classPK = ? or throws a
NoSuchVersionException if it could not be found. |
TrashVersion |
TrashVersionPersistence.findByE_C_First(long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the first trash version in the ordered set where entryId = ? and classNameId = ?.
|
static TrashVersion |
TrashVersionUtil.findByE_C_First(long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the first trash version in the ordered set where entryId = ? and classNameId = ?.
|
TrashVersion |
TrashVersionPersistence.findByE_C_Last(long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the last trash version in the ordered set where entryId = ? and classNameId = ?.
|
static TrashVersion |
TrashVersionUtil.findByE_C_Last(long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the last trash version in the ordered set where entryId = ? and classNameId = ?.
|
TrashVersion[] |
TrashVersionPersistence.findByE_C_PrevAndNext(long versionId,
long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the trash versions before and after the current trash version in the ordered set where entryId = ? and classNameId = ?.
|
static TrashVersion[] |
TrashVersionUtil.findByE_C_PrevAndNext(long versionId,
long entryId,
long classNameId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the trash versions before and after the current trash version in the ordered set where entryId = ? and classNameId = ?.
|
TrashVersion |
TrashVersionPersistence.findByEntryId_First(long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the first trash version in the ordered set where entryId = ?.
|
static TrashVersion |
TrashVersionUtil.findByEntryId_First(long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the first trash version in the ordered set where entryId = ?.
|
TrashVersion |
TrashVersionPersistence.findByEntryId_Last(long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the last trash version in the ordered set where entryId = ?.
|
static TrashVersion |
TrashVersionUtil.findByEntryId_Last(long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the last trash version in the ordered set where entryId = ?.
|
TrashVersion[] |
TrashVersionPersistence.findByEntryId_PrevAndNext(long versionId,
long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the trash versions before and after the current trash version in the ordered set where entryId = ?.
|
static TrashVersion[] |
TrashVersionUtil.findByEntryId_PrevAndNext(long versionId,
long entryId,
OrderByComparator<TrashVersion> orderByComparator)
Returns the trash versions before and after the current trash version in the ordered set where entryId = ?.
|
TrashVersion |
TrashVersionPersistence.findByPrimaryKey(long versionId)
Returns the trash version with the primary key or throws a
NoSuchVersionException if it could not be found. |
static TrashVersion |
TrashVersionUtil.findByPrimaryKey(long versionId)
Returns the trash version with the primary key or throws a
NoSuchVersionException if it could not be found. |
TrashVersion |
TrashVersionPersistence.remove(long versionId)
Removes the trash version with the primary key from the database.
|
static TrashVersion |
TrashVersionUtil.remove(long versionId)
Removes the trash version with the primary key from the database.
|
TrashVersion |
TrashVersionPersistence.removeByC_C(long classNameId,
long classPK)
Removes the trash version where classNameId = ? and classPK = ? from the database.
|
static TrashVersion |
TrashVersionUtil.removeByC_C(long classNameId,
long classPK)
Removes the trash version where classNameId = ? and classPK = ? from the database.
|