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 |
---|---|
static Repository |
RepositoryUtil.findByG_N_P(long groupId,
String name,
String portletId)
Returns the repository where groupId = ? and name = ? and portletId = ? or throws a
NoSuchRepositoryException if it could not be found. |
Repository |
RepositoryPersistence.findByG_N_P(long groupId,
String name,
String portletId)
Returns the repository where groupId = ? and name = ? and portletId = ? or throws a
NoSuchRepositoryException if it could not be found. |
static Repository |
RepositoryUtil.findByGroupId_First(long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where groupId = ?.
|
Repository |
RepositoryPersistence.findByGroupId_First(long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where groupId = ?.
|
static Repository |
RepositoryUtil.findByGroupId_Last(long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where groupId = ?.
|
Repository |
RepositoryPersistence.findByGroupId_Last(long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where groupId = ?.
|
static Repository[] |
RepositoryUtil.findByGroupId_PrevAndNext(long repositoryId,
long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where groupId = ?.
|
Repository[] |
RepositoryPersistence.findByGroupId_PrevAndNext(long repositoryId,
long groupId,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where groupId = ?.
|
static Repository |
RepositoryUtil.findByPrimaryKey(long repositoryId)
Returns the repository with the primary key or throws a
NoSuchRepositoryException if it could not be found. |
Repository |
RepositoryPersistence.findByPrimaryKey(long repositoryId)
Returns the repository with the primary key or throws a
NoSuchRepositoryException if it could not be found. |
static Repository |
RepositoryUtil.findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where uuid = ? and companyId = ?.
|
Repository |
RepositoryPersistence.findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where uuid = ? and companyId = ?.
|
static Repository |
RepositoryUtil.findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where uuid = ? and companyId = ?.
|
Repository |
RepositoryPersistence.findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where uuid = ? and companyId = ?.
|
static Repository[] |
RepositoryUtil.findByUuid_C_PrevAndNext(long repositoryId,
String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where uuid = ? and companyId = ?.
|
Repository[] |
RepositoryPersistence.findByUuid_C_PrevAndNext(long repositoryId,
String uuid,
long companyId,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where uuid = ? and companyId = ?.
|
static Repository |
RepositoryUtil.findByUuid_First(String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where uuid = ?.
|
Repository |
RepositoryPersistence.findByUuid_First(String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the first repository in the ordered set where uuid = ?.
|
static Repository |
RepositoryUtil.findByUUID_G(String uuid,
long groupId)
Returns the repository where uuid = ? and groupId = ? or throws a
NoSuchRepositoryException if it could not be found. |
Repository |
RepositoryPersistence.findByUUID_G(String uuid,
long groupId)
Returns the repository where uuid = ? and groupId = ? or throws a
NoSuchRepositoryException if it could not be found. |
static Repository |
RepositoryUtil.findByUuid_Last(String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where uuid = ?.
|
Repository |
RepositoryPersistence.findByUuid_Last(String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the last repository in the ordered set where uuid = ?.
|
static Repository[] |
RepositoryUtil.findByUuid_PrevAndNext(long repositoryId,
String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where uuid = ?.
|
Repository[] |
RepositoryPersistence.findByUuid_PrevAndNext(long repositoryId,
String uuid,
OrderByComparator<Repository> orderByComparator)
Returns the repositories before and after the current repository in the ordered set where uuid = ?.
|
static Repository |
RepositoryUtil.remove(long repositoryId)
Removes the repository with the primary key from the database.
|
Repository |
RepositoryPersistence.remove(long repositoryId)
Removes the repository with the primary key from the database.
|
static Repository |
RepositoryUtil.removeByG_N_P(long groupId,
String name,
String portletId)
Removes the repository where groupId = ? and name = ? and portletId = ? from the database.
|
Repository |
RepositoryPersistence.removeByG_N_P(long groupId,
String name,
String portletId)
Removes the repository where groupId = ? and name = ? and portletId = ? from the database.
|
static Repository |
RepositoryUtil.removeByUUID_G(String uuid,
long groupId)
Removes the repository where uuid = ? and groupId = ? from the database.
|
Repository |
RepositoryPersistence.removeByUUID_G(String uuid,
long groupId)
Removes the repository where uuid = ? and groupId = ? from the database.
|