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 findByPrimaryKey(long accountId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portal.NoSuchAccountException;
53
54 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
55 throws com.liferay.portal.SystemException;
56
57 public java.util.List findWithDynamicQuery(
58 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
59 throws com.liferay.portal.SystemException;
60
61 public java.util.List findWithDynamicQuery(
62 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
63 int begin, int end) throws com.liferay.portal.SystemException;
64
65 public java.util.List findAll() throws com.liferay.portal.SystemException;
66
67 public java.util.List findAll(int begin, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findAll(int begin, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public void removeAll() throws com.liferay.portal.SystemException;
75
76 public int countAll() throws com.liferay.portal.SystemException;
77 }