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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
115 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.wiki.NoSuchNodeException;
118
119 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
120 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.kernel.exception.SystemException,
122 com.liferay.portlet.wiki.NoSuchNodeException;
123
124 public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
125 long nodeId, long groupId,
126 com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.kernel.exception.SystemException,
128 com.liferay.portlet.wiki.NoSuchNodeException;
129
130 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
131 long companyId)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
135 long companyId, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
139 long companyId, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
144 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.kernel.exception.SystemException,
146 com.liferay.portlet.wiki.NoSuchNodeException;
147
148 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
149 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.kernel.exception.SystemException,
151 com.liferay.portlet.wiki.NoSuchNodeException;
152
153 public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
154 long nodeId, long companyId,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.kernel.exception.SystemException,
157 com.liferay.portlet.wiki.NoSuchNodeException;
158
159 public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
160 java.lang.String name)
161 throws com.liferay.portal.kernel.exception.SystemException,
162 com.liferay.portlet.wiki.NoSuchNodeException;
163
164 public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
165 java.lang.String name)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
169 java.lang.String name, boolean retrieveFromCache)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
176 int start, int end)
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, com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void removeByUuid(java.lang.String uuid)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public void removeByUUID_G(java.lang.String uuid, long groupId)
187 throws com.liferay.portal.kernel.exception.SystemException,
188 com.liferay.portlet.wiki.NoSuchNodeException;
189
190 public void removeByGroupId(long groupId)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public void removeByCompanyId(long companyId)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public void removeByG_N(long groupId, java.lang.String name)
197 throws com.liferay.portal.kernel.exception.SystemException,
198 com.liferay.portlet.wiki.NoSuchNodeException;
199
200 public void removeAll()
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public int countByUuid(java.lang.String uuid)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206 public int countByUUID_G(java.lang.String uuid, long groupId)
207 throws com.liferay.portal.kernel.exception.SystemException;
208
209 public int countByGroupId(long groupId)
210 throws com.liferay.portal.kernel.exception.SystemException;
211
212 public int countByCompanyId(long companyId)
213 throws com.liferay.portal.kernel.exception.SystemException;
214
215 public int countByG_N(long groupId, java.lang.String name)
216 throws com.liferay.portal.kernel.exception.SystemException;
217
218 public int countAll()
219 throws com.liferay.portal.kernel.exception.SystemException;
220 }