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.SystemException;
43
44
47 public com.liferay.portal.model.Account update(
48 com.liferay.portal.model.Account account)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.Account updateImpl(
52 com.liferay.portal.model.Account account, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
56 throws com.liferay.portal.NoSuchAccountException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
60 throws com.liferay.portal.SystemException;
61
62 public java.util.List<com.liferay.portal.model.Account> findAll()
63 throws com.liferay.portal.SystemException;
64
65 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
66 int end) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
69 int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.SystemException;
72
73 public void removeAll() throws com.liferay.portal.SystemException;
74
75 public int countAll() throws com.liferay.portal.SystemException;
76 }