1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.tags.model.TagsVocabulary;
28
29
42 public interface TagsVocabularyPersistence extends BasePersistence<TagsVocabulary> {
43 public void cacheResult(
44 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> tagsVocabularies);
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
60 public com.liferay.portlet.tags.model.TagsVocabulary update(
61 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.tags.model.TagsVocabulary updateImpl(
65 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.tags.model.TagsVocabulary findByPrimaryKey(
69 long vocabularyId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.tags.NoSuchVocabularyException;
72
73 public com.liferay.portlet.tags.model.TagsVocabulary fetchByPrimaryKey(
74 long vocabularyId) throws com.liferay.portal.SystemException;
75
76 public com.liferay.portlet.tags.model.TagsVocabulary findByG_N(
77 long groupId, java.lang.String name)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portlet.tags.NoSuchVocabularyException;
80
81 public com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
82 long groupId, java.lang.String name)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
86 long groupId, java.lang.String name, boolean retrieveFromCache)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
90 long groupId, boolean folksonomy)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
94 long groupId, boolean folksonomy, int start, int end)
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
98 long groupId, boolean folksonomy, int start, int end,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.tags.model.TagsVocabulary findByG_F_First(
103 long groupId, boolean folksonomy,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.tags.NoSuchVocabularyException;
107
108 public com.liferay.portlet.tags.model.TagsVocabulary findByG_F_Last(
109 long groupId, boolean folksonomy,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.tags.NoSuchVocabularyException;
113
114 public com.liferay.portlet.tags.model.TagsVocabulary[] findByG_F_PrevAndNext(
115 long vocabularyId, long groupId, boolean folksonomy,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.tags.NoSuchVocabularyException;
119
120 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
121 long companyId, boolean folksonomy)
122 throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
125 long companyId, boolean folksonomy, int start, int end)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
129 long companyId, boolean folksonomy, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException;
132
133 public com.liferay.portlet.tags.model.TagsVocabulary findByC_F_First(
134 long companyId, boolean folksonomy,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.tags.NoSuchVocabularyException;
138
139 public com.liferay.portlet.tags.model.TagsVocabulary findByC_F_Last(
140 long companyId, boolean folksonomy,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.tags.NoSuchVocabularyException;
144
145 public com.liferay.portlet.tags.model.TagsVocabulary[] findByC_F_PrevAndNext(
146 long vocabularyId, long companyId, boolean folksonomy,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.tags.NoSuchVocabularyException;
150
151 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll()
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
155 int start, int end) throws com.liferay.portal.SystemException;
156
157 public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
158 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException;
160
161 public void removeByG_N(long groupId, java.lang.String name)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.tags.NoSuchVocabularyException;
164
165 public void removeByG_F(long groupId, boolean folksonomy)
166 throws com.liferay.portal.SystemException;
167
168 public void removeByC_F(long companyId, boolean folksonomy)
169 throws com.liferay.portal.SystemException;
170
171 public void removeAll() throws com.liferay.portal.SystemException;
172
173 public int countByG_N(long groupId, java.lang.String name)
174 throws com.liferay.portal.SystemException;
175
176 public int countByG_F(long groupId, boolean folksonomy)
177 throws com.liferay.portal.SystemException;
178
179 public int countByC_F(long companyId, boolean folksonomy)
180 throws com.liferay.portal.SystemException;
181
182 public int countAll() throws com.liferay.portal.SystemException;
183 }