1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface AccountPersistence {
32 public com.liferay.portal.model.Account create(long accountId);
33
34 public com.liferay.portal.model.Account remove(long accountId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portal.NoSuchAccountException;
37
38 public com.liferay.portal.model.Account remove(
39 com.liferay.portal.model.Account account)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portal.model.Account update(
43 com.liferay.portal.model.Account account)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portal.model.Account update(
47 com.liferay.portal.model.Account account, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portal.model.Account updateImpl(
51 com.liferay.portal.model.Account account, boolean merge)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
55 throws com.liferay.portal.SystemException,
56 com.liferay.portal.NoSuchAccountException;
57
58 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
59 throws com.liferay.portal.SystemException;
60
61 public java.util.List findWithDynamicQuery(
62 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
63 throws com.liferay.portal.SystemException;
64
65 public java.util.List findWithDynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
67 int begin, int end) throws com.liferay.portal.SystemException;
68
69 public java.util.List findAll() throws com.liferay.portal.SystemException;
70
71 public java.util.List findAll(int begin, int end)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List findAll(int begin, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public void removeAll() throws com.liferay.portal.SystemException;
79
80 public int countAll() throws com.liferay.portal.SystemException;
81 }