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