1
22
23 package com.liferay.portlet.wiki.service.persistence;
24
25
31 public interface WikiNodePersistence {
32 public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
33
34 public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.wiki.NoSuchNodeException;
37
38 public com.liferay.portlet.wiki.model.WikiNode remove(
39 com.liferay.portlet.wiki.model.WikiNode wikiNode)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.wiki.model.WikiNode update(
43 com.liferay.portlet.wiki.model.WikiNode wikiNode)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.wiki.model.WikiNode update(
47 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.wiki.model.WikiNode updateImpl(
51 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
55 throws com.liferay.portal.SystemException,
56 com.liferay.portlet.wiki.NoSuchNodeException;
57
58 public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
59 long nodeId) throws com.liferay.portal.SystemException;
60
61 public java.util.List findByUuid(java.lang.String uuid)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
68 com.liferay.portal.kernel.util.OrderByComparator obc)
69 throws com.liferay.portal.SystemException;
70
71 public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
72 java.lang.String uuid,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.wiki.NoSuchNodeException;
76
77 public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
78 java.lang.String uuid,
79 com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.wiki.NoSuchNodeException;
82
83 public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
84 long nodeId, java.lang.String uuid,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.wiki.NoSuchNodeException;
88
89 public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
90 java.lang.String uuid, long groupId)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.wiki.NoSuchNodeException;
93
94 public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
95 java.lang.String uuid, long groupId)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List findByGroupId(long groupId)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List findByGroupId(long groupId, int begin, int end)
102 throws com.liferay.portal.SystemException;
103
104 public java.util.List findByGroupId(long groupId, int begin, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
109 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.wiki.NoSuchNodeException;
112
113 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
114 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.wiki.NoSuchNodeException;
117
118 public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
119 long nodeId, long groupId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.wiki.NoSuchNodeException;
123
124 public java.util.List findByCompanyId(long companyId)
125 throws com.liferay.portal.SystemException;
126
127 public java.util.List findByCompanyId(long companyId, int begin, int end)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List findByCompanyId(long companyId, int begin, int end,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
135 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.wiki.NoSuchNodeException;
138
139 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
140 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException,
142 com.liferay.portlet.wiki.NoSuchNodeException;
143
144 public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
145 long nodeId, long companyId,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.wiki.NoSuchNodeException;
149
150 public java.util.List findWithDynamicQuery(
151 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List findWithDynamicQuery(
155 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
156 int begin, int end) throws com.liferay.portal.SystemException;
157
158 public java.util.List findAll() throws com.liferay.portal.SystemException;
159
160 public java.util.List findAll(int begin, int end)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List findAll(int begin, int end,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException;
166
167 public void removeByUuid(java.lang.String uuid)
168 throws com.liferay.portal.SystemException;
169
170 public void removeByUUID_G(java.lang.String uuid, long groupId)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.wiki.NoSuchNodeException;
173
174 public void removeByGroupId(long groupId)
175 throws com.liferay.portal.SystemException;
176
177 public void removeByCompanyId(long companyId)
178 throws com.liferay.portal.SystemException;
179
180 public void removeAll() throws com.liferay.portal.SystemException;
181
182 public int countByUuid(java.lang.String uuid)
183 throws com.liferay.portal.SystemException;
184
185 public int countByUUID_G(java.lang.String uuid, long groupId)
186 throws com.liferay.portal.SystemException;
187
188 public int countByGroupId(long groupId)
189 throws com.liferay.portal.SystemException;
190
191 public int countByCompanyId(long companyId)
192 throws com.liferay.portal.SystemException;
193
194 public int countAll() throws com.liferay.portal.SystemException;
195 }