1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.Account;
18
19
32 public interface AccountPersistence extends BasePersistence<Account> {
33 public void cacheResult(com.liferay.portal.model.Account account);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.Account> accounts);
37
38 public com.liferay.portal.model.Account create(long accountId);
39
40 public com.liferay.portal.model.Account remove(long accountId)
41 throws com.liferay.portal.NoSuchAccountException,
42 com.liferay.portal.kernel.exception.SystemException;
43
44 public com.liferay.portal.model.Account updateImpl(
45 com.liferay.portal.model.Account account, boolean merge)
46 throws com.liferay.portal.kernel.exception.SystemException;
47
48 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
49 throws com.liferay.portal.NoSuchAccountException,
50 com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
53 throws com.liferay.portal.kernel.exception.SystemException;
54
55 public java.util.List<com.liferay.portal.model.Account> findAll()
56 throws com.liferay.portal.kernel.exception.SystemException;
57
58 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
59 int end) throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
62 int end,
63 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
64 throws com.liferay.portal.kernel.exception.SystemException;
65
66 public void removeAll()
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public int countAll()
70 throws com.liferay.portal.kernel.exception.SystemException;
71 }