1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface AccountPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.Account account);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.Account> accounts);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.Account create(long accountId);
48
49 public com.liferay.portal.model.Account remove(long accountId)
50 throws com.liferay.portal.NoSuchAccountException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.Account remove(
54 com.liferay.portal.model.Account account)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.Account update(
61 com.liferay.portal.model.Account account)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.Account update(
77 com.liferay.portal.model.Account account, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.Account updateImpl(
81 com.liferay.portal.model.Account account, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
85 throws com.liferay.portal.NoSuchAccountException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
89 throws com.liferay.portal.SystemException;
90
91 public java.util.List<Object> findWithDynamicQuery(
92 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List<Object> findWithDynamicQuery(
96 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
97 int end) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.Account> findAll()
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
103 int end) throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
106 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException;
108
109 public void removeAll() throws com.liferay.portal.SystemException;
110
111 public int countAll() throws com.liferay.portal.SystemException;
112 }