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 |
---|---|
ResourceBlock |
ResourceBlockPersistence.findByC_G_N_First(long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the first resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
static ResourceBlock |
ResourceBlockUtil.findByC_G_N_First(long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the first resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
ResourceBlock |
ResourceBlockPersistence.findByC_G_N_Last(long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the last resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
static ResourceBlock |
ResourceBlockUtil.findByC_G_N_Last(long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the last resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
ResourceBlock |
ResourceBlockPersistence.findByC_G_N_P(long companyId,
long groupId,
String name,
String permissionsHash)
Returns the resource block where companyId = ? and groupId = ? and name = ? and permissionsHash = ? or throws a
NoSuchResourceBlockException if it could not be found. |
static ResourceBlock |
ResourceBlockUtil.findByC_G_N_P(long companyId,
long groupId,
String name,
String permissionsHash)
Returns the resource block where companyId = ? and groupId = ? and name = ? and permissionsHash = ? or throws a
NoSuchResourceBlockException if it could not be found. |
ResourceBlock[] |
ResourceBlockPersistence.findByC_G_N_PrevAndNext(long resourceBlockId,
long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the resource blocks before and after the current resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
static ResourceBlock[] |
ResourceBlockUtil.findByC_G_N_PrevAndNext(long resourceBlockId,
long companyId,
long groupId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the resource blocks before and after the current resource block in the ordered set where companyId = ? and groupId = ? and name = ?.
|
ResourceBlock |
ResourceBlockPersistence.findByC_N_First(long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the first resource block in the ordered set where companyId = ? and name = ?.
|
static ResourceBlock |
ResourceBlockUtil.findByC_N_First(long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the first resource block in the ordered set where companyId = ? and name = ?.
|
ResourceBlock |
ResourceBlockPersistence.findByC_N_Last(long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the last resource block in the ordered set where companyId = ? and name = ?.
|
static ResourceBlock |
ResourceBlockUtil.findByC_N_Last(long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the last resource block in the ordered set where companyId = ? and name = ?.
|
ResourceBlock[] |
ResourceBlockPersistence.findByC_N_PrevAndNext(long resourceBlockId,
long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the resource blocks before and after the current resource block in the ordered set where companyId = ? and name = ?.
|
static ResourceBlock[] |
ResourceBlockUtil.findByC_N_PrevAndNext(long resourceBlockId,
long companyId,
String name,
OrderByComparator<ResourceBlock> orderByComparator)
Returns the resource blocks before and after the current resource block in the ordered set where companyId = ? and name = ?.
|
ResourceBlock |
ResourceBlockPersistence.findByPrimaryKey(long resourceBlockId)
Returns the resource block with the primary key or throws a
NoSuchResourceBlockException if it could not be found. |
static ResourceBlock |
ResourceBlockUtil.findByPrimaryKey(long resourceBlockId)
Returns the resource block with the primary key or throws a
NoSuchResourceBlockException if it could not be found. |
ResourceBlock |
ResourceBlockPersistence.remove(long resourceBlockId)
Removes the resource block with the primary key from the database.
|
static ResourceBlock |
ResourceBlockUtil.remove(long resourceBlockId)
Removes the resource block with the primary key from the database.
|
ResourceBlock |
ResourceBlockPersistence.removeByC_G_N_P(long companyId,
long groupId,
String name,
String permissionsHash)
Removes the resource block where companyId = ? and groupId = ? and name = ? and permissionsHash = ? from the database.
|
static ResourceBlock |
ResourceBlockUtil.removeByC_G_N_P(long companyId,
long groupId,
String name,
String permissionsHash)
Removes the resource block where companyId = ? and groupId = ? and name = ? and permissionsHash = ? from the database.
|