1
14
15 package com.liferay.portal.service.impl;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.model.Account;
20 import com.liferay.portal.service.base.AccountLocalServiceBaseImpl;
21
22
27 public class AccountLocalServiceImpl extends AccountLocalServiceBaseImpl {
28
29 public Account getAccount(long accountId)
30 throws PortalException, SystemException {
31
32 return accountPersistence.findByPrimaryKey(accountId);
33 }
34
35 public Account getAccount(long companyId, long accountId)
36 throws PortalException, SystemException {
37
38 return accountPersistence.findByPrimaryKey(accountId);
39 }
40
41 }