1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetEntryServiceWrapper implements AssetEntryService {
35 public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
36 _assetEntryService = assetEntryService;
37 }
38
39 public void deleteEntry(long entryId)
40 throws com.liferay.portal.kernel.exception.PortalException,
41 com.liferay.portal.kernel.exception.SystemException {
42 _assetEntryService.deleteEntry(entryId);
43 }
44
45 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
46 long companyId, int start, int end)
47 throws com.liferay.portal.kernel.exception.SystemException {
48 return _assetEntryService.getCompanyEntries(companyId, start, end);
49 }
50
51 public int getCompanyEntriesCount(long companyId)
52 throws com.liferay.portal.kernel.exception.SystemException {
53 return _assetEntryService.getCompanyEntriesCount(companyId);
54 }
55
56 public java.lang.String getCompanyEntriesRSS(long companyId, int max,
57 java.lang.String type, double version, java.lang.String displayStyle,
58 java.lang.String feedURL, java.lang.String tagURL)
59 throws com.liferay.portal.kernel.exception.PortalException,
60 com.liferay.portal.kernel.exception.SystemException {
61 return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
62 version, displayStyle, feedURL, tagURL);
63 }
64
65 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
66 long companyId, int start, int end, java.lang.String languageId)
67 throws com.liferay.portal.kernel.exception.SystemException {
68 return _assetEntryService.getCompanyEntryDisplays(companyId, start,
69 end, languageId);
70 }
71
72 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
73 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
74 throws com.liferay.portal.kernel.exception.PortalException,
75 com.liferay.portal.kernel.exception.SystemException {
76 return _assetEntryService.getEntries(entryQuery);
77 }
78
79 public int getEntriesCount(
80 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
81 throws com.liferay.portal.kernel.exception.PortalException,
82 com.liferay.portal.kernel.exception.SystemException {
83 return _assetEntryService.getEntriesCount(entryQuery);
84 }
85
86 public java.lang.String getEntriesRSS(
87 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
88 java.lang.String name, java.lang.String type, double version,
89 java.lang.String displayStyle, java.lang.String feedURL,
90 java.lang.String tagURL)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _assetEntryService.getEntriesRSS(entryQuery, name, type,
94 version, displayStyle, feedURL, tagURL);
95 }
96
97 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
98 throws com.liferay.portal.kernel.exception.PortalException,
99 com.liferay.portal.kernel.exception.SystemException {
100 return _assetEntryService.getEntry(entryId);
101 }
102
103 public void incrementViewCounter(java.lang.String className, long classPK)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 _assetEntryService.incrementViewCounter(className, classPK);
107 }
108
109 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
110 long companyId, java.lang.String portletId, java.lang.String keywords,
111 java.lang.String languageId, int start, int end)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _assetEntryService.searchEntryDisplays(companyId, portletId,
114 keywords, languageId, start, end);
115 }
116
117 public int searchEntryDisplaysCount(long companyId,
118 java.lang.String portletId, java.lang.String keywords,
119 java.lang.String languageId)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _assetEntryService.searchEntryDisplaysCount(companyId,
122 portletId, keywords, languageId);
123 }
124
125 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
126 long groupId, java.lang.String className, long classPK,
127 long[] categoryIds, java.lang.String[] tagNames, boolean visible,
128 java.util.Date startDate, java.util.Date endDate,
129 java.util.Date publishDate, java.util.Date expirationDate,
130 java.lang.String mimeType, java.lang.String title,
131 java.lang.String description, java.lang.String summary,
132 java.lang.String url, int height, int width,
133 java.lang.Integer priority, boolean sync)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 return _assetEntryService.updateEntry(groupId, className, classPK,
137 categoryIds, tagNames, visible, startDate, endDate, publishDate,
138 expirationDate, mimeType, title, description, summary, url, height,
139 width, priority, sync);
140 }
141
142 public AssetEntryService getWrappedAssetEntryService() {
143 return _assetEntryService;
144 }
145
146 private AssetEntryService _assetEntryService;
147 }