/** * Returns the account with the primary key. * * @param accountId the primary key of the account * @return the account * @throws PortalException if a account with the primary key could not be found */ @Override public com.liferay.portal.kernel.model.Account getAccount(long accountId) throws com.liferay.portal.kernel.exception.PortalException { return _accountLocalService.getAccount(accountId); }
@Override public com.liferay.portal.kernel.model.Account getAccount(long companyId, long accountId) throws com.liferay.portal.kernel.exception.PortalException { return _accountLocalService.getAccount(companyId, accountId); }
public static com.liferay.portal.kernel.model.Account getAccount( long companyId, long accountId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getAccount(companyId, accountId); }
/** * Returns the account with the primary key. * * @param accountId the primary key of the account * @return the account * @throws PortalException if a account with the primary key could not be found */ public static com.liferay.portal.kernel.model.Account getAccount( long accountId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getAccount(accountId); }