1
14
15 package com.liferay.portlet.wiki.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.wiki.model.WikiNode;
20
21
34 public interface WikiNodePersistence extends BasePersistence<WikiNode> {
35 public void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode);
36
37 public void cacheResult(
38 java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes);
39
40 public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
41
42 public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
43 throws com.liferay.portal.kernel.exception.SystemException,
44 com.liferay.portlet.wiki.NoSuchNodeException;
45
46 public com.liferay.portlet.wiki.model.WikiNode updateImpl(
47 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
48 throws com.liferay.portal.kernel.exception.SystemException;
49
50 public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
51 throws com.liferay.portal.kernel.exception.SystemException,
52 com.liferay.portlet.wiki.NoSuchNodeException;
53
54 public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
55 long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
56
57 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
58 java.lang.String uuid)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
62 java.lang.String uuid, int start, int end)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
66 java.lang.String uuid, int start, int end,
67 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
71 java.lang.String uuid,
72 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
73 throws com.liferay.portal.kernel.exception.SystemException,
74 com.liferay.portlet.wiki.NoSuchNodeException;
75
76 public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
77 java.lang.String uuid,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.wiki.NoSuchNodeException;
81
82 public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
83 long nodeId, java.lang.String uuid,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.wiki.NoSuchNodeException;
87
88 public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
89 java.lang.String uuid, long groupId)
90 throws com.liferay.portal.kernel.exception.SystemException,
91 com.liferay.portlet.wiki.NoSuchNodeException;
92
93 public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
94 java.lang.String uuid, long groupId)
95 throws com.liferay.portal.kernel.exception.SystemException;
96
97 public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
98 java.lang.String uuid, long groupId, boolean retrieveFromCache)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
102 long groupId)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
106 long groupId, int start, int end)
107 throws com.liferay.portal.kernel.exception.SystemException;
108
109 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
110 long groupId, int start, int end,
111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
115 long groupId,
116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
117 throws com.liferay.portal.kernel.exception.SystemException,
118 com.liferay.portlet.wiki.NoSuchNodeException;
119
120 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
121 long groupId,
122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123 throws com.liferay.portal.kernel.exception.SystemException,
124 com.liferay.portlet.wiki.NoSuchNodeException;
125
126 public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
127 long nodeId, long groupId,
128 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129 throws com.liferay.portal.kernel.exception.SystemException,
130 com.liferay.portlet.wiki.NoSuchNodeException;
131
132 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
133 long companyId)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
137 long companyId, int start, int end)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
141 long companyId, int start, int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
146 long companyId,
147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148 throws com.liferay.portal.kernel.exception.SystemException,
149 com.liferay.portlet.wiki.NoSuchNodeException;
150
151 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
152 long companyId,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.wiki.NoSuchNodeException;
156
157 public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
158 long nodeId, long companyId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.wiki.NoSuchNodeException;
162
163 public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
164 java.lang.String name)
165 throws com.liferay.portal.kernel.exception.SystemException,
166 com.liferay.portlet.wiki.NoSuchNodeException;
167
168 public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
169 java.lang.String name)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
173 java.lang.String name, boolean retrieveFromCache)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
180 int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
184 int start, int end,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public void removeByUuid(java.lang.String uuid)
189 throws com.liferay.portal.kernel.exception.SystemException;
190
191 public void removeByUUID_G(java.lang.String uuid, long groupId)
192 throws com.liferay.portal.kernel.exception.SystemException,
193 com.liferay.portlet.wiki.NoSuchNodeException;
194
195 public void removeByGroupId(long groupId)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198 public void removeByCompanyId(long companyId)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public void removeByG_N(long groupId, java.lang.String name)
202 throws com.liferay.portal.kernel.exception.SystemException,
203 com.liferay.portlet.wiki.NoSuchNodeException;
204
205 public void removeAll()
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public int countByUuid(java.lang.String uuid)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211 public int countByUUID_G(java.lang.String uuid, long groupId)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214 public int countByGroupId(long groupId)
215 throws com.liferay.portal.kernel.exception.SystemException;
216
217 public int countByCompanyId(long companyId)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220 public int countByG_N(long groupId, java.lang.String name)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public int countAll()
224 throws com.liferay.portal.kernel.exception.SystemException;
225 }