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.TagsProperty;
28
29
42 public interface TagsPropertyPersistence extends BasePersistence<TagsProperty> {
43 public void cacheResult(
44 com.liferay.portlet.tags.model.TagsProperty tagsProperty);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.tags.model.TagsProperty> tagsProperties);
48
49 public com.liferay.portlet.tags.model.TagsProperty create(long propertyId);
50
51 public com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tags.NoSuchPropertyException;
54
55
58 public com.liferay.portlet.tags.model.TagsProperty update(
59 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.tags.model.TagsProperty updateImpl(
63 com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(
67 long propertyId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.tags.NoSuchPropertyException;
70
71 public com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(
72 long propertyId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
75 long companyId) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
78 long companyId, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
82 long companyId, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.tags.model.TagsProperty findByCompanyId_First(
87 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.tags.NoSuchPropertyException;
90
91 public com.liferay.portlet.tags.model.TagsProperty findByCompanyId_Last(
92 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.tags.NoSuchPropertyException;
95
96 public com.liferay.portlet.tags.model.TagsProperty[] findByCompanyId_PrevAndNext(
97 long propertyId, long companyId,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.tags.NoSuchPropertyException;
101
102 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
103 long entryId) throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
106 long entryId, int start, int end)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
110 long entryId, int start, int end,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portlet.tags.model.TagsProperty findByEntryId_First(
115 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.tags.NoSuchPropertyException;
118
119 public com.liferay.portlet.tags.model.TagsProperty findByEntryId_Last(
120 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.tags.NoSuchPropertyException;
123
124 public com.liferay.portlet.tags.model.TagsProperty[] findByEntryId_PrevAndNext(
125 long propertyId, long entryId,
126 com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portlet.tags.NoSuchPropertyException;
129
130 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
131 long companyId, java.lang.String key)
132 throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
135 long companyId, java.lang.String key, int start, int end)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
139 long companyId, java.lang.String key, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException;
142
143 public com.liferay.portlet.tags.model.TagsProperty findByC_K_First(
144 long companyId, java.lang.String key,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException,
147 com.liferay.portlet.tags.NoSuchPropertyException;
148
149 public com.liferay.portlet.tags.model.TagsProperty findByC_K_Last(
150 long companyId, java.lang.String key,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.tags.NoSuchPropertyException;
154
155 public com.liferay.portlet.tags.model.TagsProperty[] findByC_K_PrevAndNext(
156 long propertyId, long companyId, java.lang.String key,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.tags.NoSuchPropertyException;
160
161 public com.liferay.portlet.tags.model.TagsProperty findByE_K(long entryId,
162 java.lang.String key)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portlet.tags.NoSuchPropertyException;
165
166 public com.liferay.portlet.tags.model.TagsProperty fetchByE_K(
167 long entryId, java.lang.String key)
168 throws com.liferay.portal.SystemException;
169
170 public com.liferay.portlet.tags.model.TagsProperty fetchByE_K(
171 long entryId, java.lang.String key, boolean retrieveFromCache)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll()
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(
178 int start, int end) throws com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(
181 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException;
183
184 public void removeByCompanyId(long companyId)
185 throws com.liferay.portal.SystemException;
186
187 public void removeByEntryId(long entryId)
188 throws com.liferay.portal.SystemException;
189
190 public void removeByC_K(long companyId, java.lang.String key)
191 throws com.liferay.portal.SystemException;
192
193 public void removeByE_K(long entryId, java.lang.String key)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.tags.NoSuchPropertyException;
196
197 public void removeAll() throws com.liferay.portal.SystemException;
198
199 public int countByCompanyId(long companyId)
200 throws com.liferay.portal.SystemException;
201
202 public int countByEntryId(long entryId)
203 throws com.liferay.portal.SystemException;
204
205 public int countByC_K(long companyId, java.lang.String key)
206 throws com.liferay.portal.SystemException;
207
208 public int countByE_K(long entryId, java.lang.String key)
209 throws com.liferay.portal.SystemException;
210
211 public int countAll() throws com.liferay.portal.SystemException;
212 }