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.NoSuchAccountException,
36 com.liferay.portal.SystemException;
37
38 public com.liferay.portal.model.Account remove(
39 com.liferay.portal.model.Account account)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portal.model.Account update(
46 com.liferay.portal.model.Account account)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portal.model.Account update(
63 com.liferay.portal.model.Account account, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portal.model.Account updateImpl(
67 com.liferay.portal.model.Account account, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
71 throws com.liferay.portal.NoSuchAccountException,
72 com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<Object> findWithDynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<Object> findWithDynamicQuery(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
83 int end) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portal.model.Account> findAll()
86 throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
89 int end) throws com.liferay.portal.SystemException;
90
91 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
92 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException;
94
95 public void removeAll() throws com.liferay.portal.SystemException;
96
97 public int countAll() throws com.liferay.portal.SystemException;
98
99 public void registerListener(
100 com.liferay.portal.model.ModelListener listener);
101
102 public void unregisterListener(
103 com.liferay.portal.model.ModelListener listener);
104 }