1
19
20 package com.liferay.portal.service.persistence;
21
22
28 public interface AccountPersistence extends BasePersistence {
29 public void cacheResult(com.liferay.portal.model.Account account);
30
31 public void cacheResult(
32 java.util.List<com.liferay.portal.model.Account> accounts);
33
34 public void clearCache();
35
36 public com.liferay.portal.model.Account create(long accountId);
37
38 public com.liferay.portal.model.Account remove(long accountId)
39 throws com.liferay.portal.NoSuchAccountException,
40 com.liferay.portal.SystemException;
41
42 public com.liferay.portal.model.Account remove(
43 com.liferay.portal.model.Account account)
44 throws com.liferay.portal.SystemException;
45
46
49 public com.liferay.portal.model.Account update(
50 com.liferay.portal.model.Account account)
51 throws com.liferay.portal.SystemException;
52
53
66 public com.liferay.portal.model.Account update(
67 com.liferay.portal.model.Account account, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.Account updateImpl(
71 com.liferay.portal.model.Account account, boolean merge)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
75 throws com.liferay.portal.NoSuchAccountException,
76 com.liferay.portal.SystemException;
77
78 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<Object> findWithDynamicQuery(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<Object> findWithDynamicQuery(
86 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
87 int end) throws com.liferay.portal.SystemException;
88
89 public java.util.List<com.liferay.portal.model.Account> findAll()
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
93 int end) throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
96 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public void removeAll() throws com.liferay.portal.SystemException;
100
101 public int countAll() throws com.liferay.portal.SystemException;
102 }