1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25
31 public interface TagsAssetPersistence {
32 public com.liferay.portlet.tags.model.TagsAsset create(long assetId);
33
34 public com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.tags.NoSuchAssetException;
37
38 public com.liferay.portlet.tags.model.TagsAsset remove(
39 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.tags.model.TagsAsset update(
43 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.tags.model.TagsAsset update(
47 com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(
51 long assetId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tags.NoSuchAssetException;
54
55 public com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(
56 long assetId) throws com.liferay.portal.SystemException;
57
58 public java.util.List findByCompanyId(long companyId)
59 throws com.liferay.portal.SystemException;
60
61 public java.util.List findByCompanyId(long companyId, int begin, int end)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List findByCompanyId(long companyId, int begin, int end,
65 com.liferay.portal.kernel.util.OrderByComparator obc)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.tags.model.TagsAsset findByCompanyId_First(
69 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.tags.NoSuchAssetException;
72
73 public com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(
74 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portlet.tags.NoSuchAssetException;
77
78 public com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(
79 long assetId, long companyId,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.tags.NoSuchAssetException;
83
84 public com.liferay.portlet.tags.model.TagsAsset findByC_C(
85 long classNameId, long classPK)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.tags.NoSuchAssetException;
88
89 public com.liferay.portlet.tags.model.TagsAsset fetchByC_C(
90 long classNameId, long classPK)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List findWithDynamicQuery(
94 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List findWithDynamicQuery(
98 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
99 int begin, int end) throws com.liferay.portal.SystemException;
100
101 public java.util.List findAll() throws com.liferay.portal.SystemException;
102
103 public java.util.List findAll(int begin, int end)
104 throws com.liferay.portal.SystemException;
105
106 public java.util.List findAll(int begin, int end,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException;
109
110 public void removeByCompanyId(long companyId)
111 throws com.liferay.portal.SystemException;
112
113 public void removeByC_C(long classNameId, long classPK)
114 throws com.liferay.portal.SystemException,
115 com.liferay.portlet.tags.NoSuchAssetException;
116
117 public void removeAll() throws com.liferay.portal.SystemException;
118
119 public int countByCompanyId(long companyId)
120 throws com.liferay.portal.SystemException;
121
122 public int countByC_C(long classNameId, long classPK)
123 throws com.liferay.portal.SystemException;
124
125 public int countAll() throws com.liferay.portal.SystemException;
126
127 public java.util.List getTagsEntries(long pk)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.tags.NoSuchAssetException;
130
131 public java.util.List getTagsEntries(long pk, int begin, int end)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.tags.NoSuchAssetException;
134
135 public java.util.List getTagsEntries(long pk, int begin, int end,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.tags.NoSuchAssetException;
139
140 public int getTagsEntriesSize(long pk)
141 throws com.liferay.portal.SystemException;
142
143 public boolean containsTagsEntry(long pk, long tagsEntryPK)
144 throws com.liferay.portal.SystemException;
145
146 public boolean containsTagsEntrys(long pk)
147 throws com.liferay.portal.SystemException;
148
149 public void addTagsEntry(long pk, long tagsEntryPK)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.tags.NoSuchAssetException,
152 com.liferay.portlet.tags.NoSuchEntryException;
153
154 public void addTagsEntry(long pk,
155 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.tags.NoSuchAssetException,
158 com.liferay.portlet.tags.NoSuchEntryException;
159
160 public void addTagsEntries(long pk, long[] tagsEntryPKs)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.tags.NoSuchAssetException,
163 com.liferay.portlet.tags.NoSuchEntryException;
164
165 public void addTagsEntries(long pk, java.util.List tagsEntries)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.tags.NoSuchAssetException,
168 com.liferay.portlet.tags.NoSuchEntryException;
169
170 public void clearTagsEntries(long pk)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.tags.NoSuchAssetException;
173
174 public void removeTagsEntry(long pk, long tagsEntryPK)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.tags.NoSuchAssetException,
177 com.liferay.portlet.tags.NoSuchEntryException;
178
179 public void removeTagsEntry(long pk,
180 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.tags.NoSuchAssetException,
183 com.liferay.portlet.tags.NoSuchEntryException;
184
185 public void removeTagsEntries(long pk, long[] tagsEntryPKs)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.tags.NoSuchAssetException,
188 com.liferay.portlet.tags.NoSuchEntryException;
189
190 public void removeTagsEntries(long pk, java.util.List tagsEntries)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.tags.NoSuchAssetException,
193 com.liferay.portlet.tags.NoSuchEntryException;
194
195 public void setTagsEntries(long pk, long[] tagsEntryPKs)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.tags.NoSuchAssetException,
198 com.liferay.portlet.tags.NoSuchEntryException;
199
200 public void setTagsEntries(long pk, java.util.List tagsEntries)
201 throws com.liferay.portal.SystemException,
202 com.liferay.portlet.tags.NoSuchAssetException,
203 com.liferay.portlet.tags.NoSuchEntryException;
204 }