1
22
23 package com.liferay.portlet.tags.service;
24
25
26
50 public interface TagsAssetLocalService {
51 public com.liferay.portlet.tags.model.TagsAsset addTagsAsset(
52 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.tags.model.TagsAsset createTagsAsset(
56 long assetId);
57
58 public void deleteTagsAsset(long assetId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteTagsAsset(
63 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tags.model.TagsAsset getTagsAsset(long assetId)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException;
77
78 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
79 int start, int end) throws com.liferay.portal.SystemException;
80
81 public int getTagsAssetsCount() throws com.liferay.portal.SystemException;
82
83 public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
84 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
85 throws com.liferay.portal.SystemException;
86
87 public void deleteAsset(long assetId)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public void deleteAsset(java.lang.String className, long classPK)
92 throws com.liferay.portal.SystemException;
93
94 public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
98 throws com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException;
100
101 public com.liferay.portlet.tags.model.TagsAsset getAsset(
102 java.lang.String className, long classPK)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
107 java.lang.String languageId);
108
109 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
110 long[] entryIds, long[] notEntryIds, boolean andOperator,
111 boolean excludeZeroViewCount, int start, int end)
112 throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
115 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
116 boolean andOperator, boolean excludeZeroViewCount, int start, int end)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
120 long[] entryIds, long[] notEntryIds, boolean andOperator,
121 boolean excludeZeroViewCount, java.util.Date publishDate,
122 java.util.Date expirationDate, int start, int end)
123 throws com.liferay.portal.SystemException;
124
125 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
126 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
127 boolean andOperator, boolean excludeZeroViewCount,
128 java.util.Date publishDate, java.util.Date expirationDate, int start,
129 int end) throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
132 long[] entryIds, long[] notEntryIds, boolean andOperator,
133 java.lang.String orderByCol1, java.lang.String orderByCol2,
134 java.lang.String orderByType1, java.lang.String orderByType2,
135 boolean excludeZeroViewCount, java.util.Date publishDate,
136 java.util.Date expirationDate, int start, int end)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
140 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
141 boolean andOperator, java.lang.String orderByCol1,
142 java.lang.String orderByCol2, java.lang.String orderByType1,
143 java.lang.String orderByType2, boolean excludeZeroViewCount,
144 java.util.Date publishDate, java.util.Date expirationDate, int start,
145 int end) throws com.liferay.portal.SystemException;
146
147 public int getAssetsCount(long[] entryIds, long[] notEntryIds,
148 boolean andOperator, boolean excludeZeroViewCount)
149 throws com.liferay.portal.SystemException;
150
151 public int getAssetsCount(long groupId, long[] entryIds,
152 long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
153 throws com.liferay.portal.SystemException;
154
155 public int getAssetsCount(long[] entryIds, long[] notEntryIds,
156 boolean andOperator, boolean excludeZeroViewCount,
157 java.util.Date publishDate, java.util.Date expirationDate)
158 throws com.liferay.portal.SystemException;
159
160 public int getAssetsCount(long groupId, long[] classNameIds,
161 long[] entryIds, long[] notEntryIds, boolean andOperator,
162 boolean excludeZeroViewCount, java.util.Date publishDate,
163 java.util.Date expirationDate)
164 throws com.liferay.portal.SystemException;
165
166 public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
167 long companyId, int start, int end, java.lang.String languageId)
168 throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
171 long companyId, int start, int end)
172 throws com.liferay.portal.SystemException;
173
174 public int getCompanyAssetsCount(long companyId)
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
178 java.lang.String className, boolean asc, int start, int end)
179 throws com.liferay.portal.SystemException;
180
181 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
182 java.lang.String[] className, boolean asc, int start, int end)
183 throws com.liferay.portal.SystemException;
184
185 public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
186 java.lang.String className, long classPK)
187 throws com.liferay.portal.SystemException;
188
189 public com.liferay.portal.kernel.search.Hits search(long companyId,
190 java.lang.String portletId, java.lang.String keywords, int start,
191 int end) throws com.liferay.portal.SystemException;
192
193 public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
194 long companyId, java.lang.String portletId, java.lang.String keywords,
195 java.lang.String languageId, int start, int end)
196 throws com.liferay.portal.SystemException;
197
198 public int searchAssetDisplaysCount(long companyId,
199 java.lang.String portletId, java.lang.String keywords,
200 java.lang.String languageId) throws com.liferay.portal.SystemException;
201
202 public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
203 long groupId, java.lang.String className, long classPK,
204 java.lang.String[] entryNames)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException;
207
208 public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
209 long groupId, java.lang.String className, long classPK,
210 java.lang.String[] entryNames, java.util.Date startDate,
211 java.util.Date endDate, java.util.Date publishDate,
212 java.util.Date expirationDate, java.lang.String mimeType,
213 java.lang.String title, java.lang.String description,
214 java.lang.String summary, java.lang.String url, int height, int width,
215 java.lang.Integer priority)
216 throws com.liferay.portal.PortalException,
217 com.liferay.portal.SystemException;
218
219 public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
220 long groupId, java.lang.String className, long classPK,
221 java.lang.String[] entryNames, java.util.Date startDate,
222 java.util.Date endDate, java.util.Date publishDate,
223 java.util.Date expirationDate, java.lang.String mimeType,
224 java.lang.String title, java.lang.String description,
225 java.lang.String summary, java.lang.String url, int height, int width,
226 java.lang.Integer priority, boolean sync)
227 throws com.liferay.portal.PortalException,
228 com.liferay.portal.SystemException;
229
230 public void validate(java.lang.String className,
231 java.lang.String[] entryNames)
232 throws com.liferay.portal.PortalException;
233 }