001
014
015 package com.liferay.portal.service.impl;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.model.Account;
020 import com.liferay.portal.service.base.AccountLocalServiceBaseImpl;
021
022
025 public class AccountLocalServiceImpl extends AccountLocalServiceBaseImpl {
026
027 @Override
028 public Account getAccount(long accountId)
029 throws PortalException, SystemException {
030
031 return accountPersistence.findByPrimaryKey(accountId);
032 }
033
034 public Account getAccount(long companyId, long accountId)
035 throws PortalException, SystemException {
036
037 return accountPersistence.findByPrimaryKey(accountId);
038 }
039
040 }