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 public Account getAccount(long accountId)
028 throws PortalException, SystemException {
029
030 return accountPersistence.findByPrimaryKey(accountId);
031 }
032
033 public Account getAccount(long companyId, long accountId)
034 throws PortalException, SystemException {
035
036 return accountPersistence.findByPrimaryKey(accountId);
037 }
038
039 }