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