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 |
---|---|
Account |
AccountPersistence.findByPrimaryKey(long accountId)
Returns the account with the primary key or throws a
NoSuchAccountException if it could not be found. |
static Account |
AccountUtil.findByPrimaryKey(long accountId)
Returns the account with the primary key or throws a
NoSuchAccountException if it could not be found. |
Account |
AccountPersistence.remove(long accountId)
Removes the account with the primary key from the database.
|
static Account |
AccountUtil.remove(long accountId)
Removes the account with the primary key from the database.
|