1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TagsVocabularyPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> tagsVocabularies);
46
47 public void clearCache();
48
49 public com.liferay.portlet.tags.model.TagsVocabulary create(
50 long vocabularyId);
51
52 public com.liferay.portlet.tags.model.TagsVocabulary remove(
53 long vocabularyId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.tags.NoSuchVocabularyException;
56
57 public com.liferay.portlet.tags.model.TagsVocabulary remove(
58 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.tags.model.TagsVocabulary update(
65 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.tags.model.TagsVocabulary update(
81 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.tags.model.TagsVocabulary updateImpl(
85 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.tags.model.TagsVocabulary findByPrimaryKey(
89 long vocabularyId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.tags.NoSuchVocabularyException;
92
93 public com.liferay.portlet.tags.model.TagsVocabulary fetchByPrimaryKey(
94 long vocabularyId) throws com.liferay.portal.SystemException;
95
96 public com.liferay.portlet.tags.model.TagsVocabulary findByG_N(
97 long groupId, java.lang.String name)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.tags.NoSuchVocabularyException;
100
101 public com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
102 long groupId, java.lang.String name)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
106 long groupId, java.lang.String name, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
110 long groupId, boolean folksonomy)
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
114 long groupId, boolean folksonomy, int start, int end)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
118 long groupId, boolean folksonomy, int start, int end,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException;
121
122 public com.liferay.portlet.tags.model.TagsVocabulary findByG_F_First(
123 long groupId, boolean folksonomy,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.tags.NoSuchVocabularyException;
127
128 public com.liferay.portlet.tags.model.TagsVocabulary findByG_F_Last(
129 long groupId, boolean folksonomy,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.tags.NoSuchVocabularyException;
133
134 public com.liferay.portlet.tags.model.TagsVocabulary[] findByG_F_PrevAndNext(
135 long vocabularyId, long groupId, boolean folksonomy,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.tags.NoSuchVocabularyException;
139
140 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
141 long companyId, boolean folksonomy)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
145 long companyId, boolean folksonomy, int start, int end)
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
149 long companyId, boolean folksonomy, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.tags.model.TagsVocabulary findByC_F_First(
154 long companyId, boolean folksonomy,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.tags.NoSuchVocabularyException;
158
159 public com.liferay.portlet.tags.model.TagsVocabulary findByC_F_Last(
160 long companyId, boolean folksonomy,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.tags.NoSuchVocabularyException;
164
165 public com.liferay.portlet.tags.model.TagsVocabulary[] findByC_F_PrevAndNext(
166 long vocabularyId, long companyId, boolean folksonomy,
167 com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.tags.NoSuchVocabularyException;
170
171 public java.util.List<Object> findWithDynamicQuery(
172 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
173 throws com.liferay.portal.SystemException;
174
175 public java.util.List<Object> findWithDynamicQuery(
176 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
177 int end) throws com.liferay.portal.SystemException;
178
179 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll()
180 throws com.liferay.portal.SystemException;
181
182 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
183 int start, int end) throws com.liferay.portal.SystemException;
184
185 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
186 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException;
188
189 public void removeByG_N(long groupId, java.lang.String name)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portlet.tags.NoSuchVocabularyException;
192
193 public void removeByG_F(long groupId, boolean folksonomy)
194 throws com.liferay.portal.SystemException;
195
196 public void removeByC_F(long companyId, boolean folksonomy)
197 throws com.liferay.portal.SystemException;
198
199 public void removeAll() throws com.liferay.portal.SystemException;
200
201 public int countByG_N(long groupId, java.lang.String name)
202 throws com.liferay.portal.SystemException;
203
204 public int countByG_F(long groupId, boolean folksonomy)
205 throws com.liferay.portal.SystemException;
206
207 public int countByC_F(long companyId, boolean folksonomy)
208 throws com.liferay.portal.SystemException;
209
210 public int countAll() throws com.liferay.portal.SystemException;
211 }