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