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 |
---|---|
Contact |
ContactPersistence.findByAccountId_First(long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where accountId = ?.
|
static Contact |
ContactUtil.findByAccountId_First(long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where accountId = ?.
|
Contact |
ContactPersistence.findByAccountId_Last(long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where accountId = ?.
|
static Contact |
ContactUtil.findByAccountId_Last(long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where accountId = ?.
|
Contact[] |
ContactPersistence.findByAccountId_PrevAndNext(long contactId,
long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where accountId = ?.
|
static Contact[] |
ContactUtil.findByAccountId_PrevAndNext(long contactId,
long accountId,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where accountId = ?.
|
Contact |
ContactPersistence.findByC_C_First(long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where classNameId = ? and classPK = ?.
|
static Contact |
ContactUtil.findByC_C_First(long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where classNameId = ? and classPK = ?.
|
Contact |
ContactPersistence.findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where classNameId = ? and classPK = ?.
|
static Contact |
ContactUtil.findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where classNameId = ? and classPK = ?.
|
Contact[] |
ContactPersistence.findByC_C_PrevAndNext(long contactId,
long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where classNameId = ? and classPK = ?.
|
static Contact[] |
ContactUtil.findByC_C_PrevAndNext(long contactId,
long classNameId,
long classPK,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where classNameId = ? and classPK = ?.
|
Contact |
ContactPersistence.findByCompanyId_First(long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where companyId = ?.
|
static Contact |
ContactUtil.findByCompanyId_First(long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the first contact in the ordered set where companyId = ?.
|
Contact |
ContactPersistence.findByCompanyId_Last(long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where companyId = ?.
|
static Contact |
ContactUtil.findByCompanyId_Last(long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the last contact in the ordered set where companyId = ?.
|
Contact[] |
ContactPersistence.findByCompanyId_PrevAndNext(long contactId,
long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where companyId = ?.
|
static Contact[] |
ContactUtil.findByCompanyId_PrevAndNext(long contactId,
long companyId,
OrderByComparator<Contact> orderByComparator)
Returns the contacts before and after the current contact in the ordered set where companyId = ?.
|
Contact |
ContactPersistence.findByPrimaryKey(long contactId)
Returns the contact with the primary key or throws a
NoSuchContactException if it could not be found. |
static Contact |
ContactUtil.findByPrimaryKey(long contactId)
Returns the contact with the primary key or throws a
NoSuchContactException if it could not be found. |
Contact |
ContactPersistence.remove(long contactId)
Removes the contact with the primary key from the database.
|
static Contact |
ContactUtil.remove(long contactId)
Removes the contact with the primary key from the database.
|