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 com.liferay.portal.PortalException;
64
65 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> dynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> dynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
74 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
75 throws com.liferay.portal.SystemException;
76
77 public void deleteAsset(long assetId)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portal.PortalException;
80
81 public void deleteAsset(java.lang.String className, long classPK)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.PortalException;
88
89 public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portal.PortalException;
92
93 public com.liferay.portlet.tags.model.TagsAsset getAsset(
94 java.lang.String className, long classPK)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portal.PortalException;
97
98 public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
99 java.lang.String languageId);
100
101 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
102 long[] entryIds, long[] notEntryIds, boolean andOperator,
103 boolean excludeZeroViewCount, int begin, int end)
104 throws com.liferay.portal.SystemException;
105
106 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
107 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
108 boolean andOperator, boolean excludeZeroViewCount, int begin, int end)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
112 long[] entryIds, long[] notEntryIds, boolean andOperator,
113 boolean excludeZeroViewCount, java.util.Date publishDate,
114 java.util.Date expirationDate, int begin, int end)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
118 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
119 boolean andOperator, boolean excludeZeroViewCount,
120 java.util.Date publishDate, java.util.Date expirationDate, int begin,
121 int end) throws com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
124 long[] entryIds, long[] notEntryIds, boolean andOperator,
125 java.lang.String orderByCol1, java.lang.String orderByCol2,
126 java.lang.String orderByType1, java.lang.String orderByType2,
127 boolean excludeZeroViewCount, java.util.Date publishDate,
128 java.util.Date expirationDate, int begin, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
132 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
133 boolean andOperator, java.lang.String orderByCol1,
134 java.lang.String orderByCol2, java.lang.String orderByType1,
135 java.lang.String orderByType2, boolean excludeZeroViewCount,
136 java.util.Date publishDate, java.util.Date expirationDate, int begin,
137 int end) throws com.liferay.portal.SystemException;
138
139 public int getAssetsCount(long[] entryIds, long[] notEntryIds,
140 boolean andOperator, boolean excludeZeroViewCount)
141 throws com.liferay.portal.SystemException;
142
143 public int getAssetsCount(long groupId, long[] entryIds,
144 long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
145 throws com.liferay.portal.SystemException;
146
147 public int getAssetsCount(long[] entryIds, long[] notEntryIds,
148 boolean andOperator, boolean excludeZeroViewCount,
149 java.util.Date publishDate, java.util.Date expirationDate)
150 throws com.liferay.portal.SystemException;
151
152 public int getAssetsCount(long groupId, long[] classNameIds,
153 long[] entryIds, long[] notEntryIds, boolean andOperator,
154 boolean excludeZeroViewCount, java.util.Date publishDate,
155 java.util.Date expirationDate)
156 throws com.liferay.portal.SystemException;
157
158 public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
159 long companyId, int begin, int end, java.lang.String languageId)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portal.PortalException;
162
163 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
164 long companyId, int begin, int end)
165 throws com.liferay.portal.SystemException;
166
167 public int getCompanyAssetsCount(long companyId)
168 throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
171 java.lang.String className, boolean asc, int begin, int end)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
175 java.lang.String[] className, boolean asc, int begin, int end)
176 throws com.liferay.portal.SystemException;
177
178 public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
179 java.lang.String className, long classPK)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portal.PortalException;
182
183 public com.liferay.portal.kernel.search.Hits search(long companyId,
184 java.lang.String portletId, java.lang.String keywords)
185 throws com.liferay.portal.SystemException;
186
187 public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
188 long companyId, java.lang.String portletId, java.lang.String keywords,
189 java.lang.String languageId, int begin, int end)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portal.PortalException;
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.SystemException,
201 com.liferay.portal.PortalException;
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.SystemException,
212 com.liferay.portal.PortalException;
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.SystemException,
223 com.liferay.portal.PortalException;
224
225 public void validate(java.lang.String className,
226 java.lang.String[] entryNames)
227 throws com.liferay.portal.PortalException;
228 }