1
14
15 package com.liferay.portlet.tags.service;
16
17
33 public class TagsAssetServiceWrapper implements TagsAssetService {
34 public TagsAssetServiceWrapper(TagsAssetService tagsAssetService) {
35 _tagsAssetService = tagsAssetService;
36 }
37
38 public void deleteAsset(long assetId)
39 throws com.liferay.portal.PortalException,
40 com.liferay.portal.SystemException {
41 _tagsAssetService.deleteAsset(assetId);
42 }
43
44 public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
45 throws com.liferay.portal.PortalException,
46 com.liferay.portal.SystemException {
47 return _tagsAssetService.getAsset(assetId);
48 }
49
50 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
51 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
52 boolean andOperator, java.lang.String orderByCol1,
53 java.lang.String orderByCol2, java.lang.String orderByType1,
54 java.lang.String orderByType2, boolean excludeZeroViewCount,
55 java.util.Date publishDate, java.util.Date expirationDate, int start,
56 int end)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 return _tagsAssetService.getAssets(groupId, classNameIds, entryIds,
60 notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
61 orderByType2, excludeZeroViewCount, publishDate, expirationDate,
62 start, end);
63 }
64
65 public int getAssetsCount(long groupId, long[] classNameIds,
66 long[] entryIds, long[] notEntryIds, boolean andOperator,
67 boolean excludeZeroViewCount, java.util.Date publishDate,
68 java.util.Date expirationDate)
69 throws com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException {
71 return _tagsAssetService.getAssetsCount(groupId, classNameIds,
72 entryIds, notEntryIds, andOperator, excludeZeroViewCount,
73 publishDate, expirationDate);
74 }
75
76 public java.lang.String getAssetsRSS(long groupId, long[] classNameIds,
77 long[] entryIds, long[] notEntryIds, boolean andOperator,
78 java.lang.String orderByCol1, java.lang.String orderByCol2,
79 java.lang.String orderByType1, java.lang.String orderByType2,
80 boolean excludeZeroViewCount, java.util.Date publishDate,
81 java.util.Date expirationDate, int max, java.lang.String type,
82 double version, java.lang.String displayStyle,
83 java.lang.String feedURL, java.lang.String entryURL)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return _tagsAssetService.getAssetsRSS(groupId, classNameIds, entryIds,
87 notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
88 orderByType2, excludeZeroViewCount, publishDate, expirationDate,
89 max, type, version, displayStyle, feedURL, entryURL);
90 }
91
92 public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
93 java.lang.String languageId) {
94 return _tagsAssetService.getAssetTypes(languageId);
95 }
96
97 public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
98 long companyId, int start, int end, java.lang.String languageId)
99 throws com.liferay.portal.SystemException {
100 return _tagsAssetService.getCompanyAssetDisplays(companyId, start, end,
101 languageId);
102 }
103
104 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
105 long companyId, int start, int end)
106 throws com.liferay.portal.SystemException {
107 return _tagsAssetService.getCompanyAssets(companyId, start, end);
108 }
109
110 public int getCompanyAssetsCount(long companyId)
111 throws com.liferay.portal.SystemException {
112 return _tagsAssetService.getCompanyAssetsCount(companyId);
113 }
114
115 public java.lang.String getCompanyAssetsRSS(long companyId, int max,
116 java.lang.String type, double version, java.lang.String displayStyle,
117 java.lang.String feedURL, java.lang.String entryURL)
118 throws com.liferay.portal.PortalException,
119 com.liferay.portal.SystemException {
120 return _tagsAssetService.getCompanyAssetsRSS(companyId, max, type,
121 version, displayStyle, feedURL, entryURL);
122 }
123
124 public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
125 java.lang.String className, long classPK)
126 throws com.liferay.portal.SystemException {
127 return _tagsAssetService.incrementViewCounter(className, classPK);
128 }
129
130 public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
131 long companyId, java.lang.String portletId, java.lang.String keywords,
132 java.lang.String languageId, int start, int end)
133 throws com.liferay.portal.SystemException {
134 return _tagsAssetService.searchAssetDisplays(companyId, portletId,
135 keywords, languageId, start, end);
136 }
137
138 public int searchAssetDisplaysCount(long companyId,
139 java.lang.String portletId, java.lang.String keywords,
140 java.lang.String languageId) throws com.liferay.portal.SystemException {
141 return _tagsAssetService.searchAssetDisplaysCount(companyId, portletId,
142 keywords, languageId);
143 }
144
145 public com.liferay.portlet.tags.model.TagsAsset updateAsset(long groupId,
146 java.lang.String className, long classPK,
147 java.lang.String[] categoryNames, java.lang.String[] entryNames,
148 boolean visible, java.util.Date startDate, java.util.Date endDate,
149 java.util.Date publishDate, java.util.Date expirationDate,
150 java.lang.String mimeType, java.lang.String title,
151 java.lang.String description, java.lang.String summary,
152 java.lang.String url, int height, int width, java.lang.Integer priority)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException {
155 return _tagsAssetService.updateAsset(groupId, className, classPK,
156 categoryNames, entryNames, visible, startDate, endDate,
157 publishDate, expirationDate, mimeType, title, description, summary,
158 url, height, width, priority);
159 }
160
161 public TagsAssetService getWrappedTagsAssetService() {
162 return _tagsAssetService;
163 }
164
165 private TagsAssetService _tagsAssetService;
166 }