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