001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetEntryServiceWrapper implements AssetEntryService {
027 public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
028 _assetEntryService = assetEntryService;
029 }
030
031 public void deleteEntry(long entryId)
032 throws com.liferay.portal.kernel.exception.PortalException,
033 com.liferay.portal.kernel.exception.SystemException {
034 _assetEntryService.deleteEntry(entryId);
035 }
036
037 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
038 long companyId, int start, int end)
039 throws com.liferay.portal.kernel.exception.SystemException {
040 return _assetEntryService.getCompanyEntries(companyId, start, end);
041 }
042
043 public int getCompanyEntriesCount(long companyId)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _assetEntryService.getCompanyEntriesCount(companyId);
046 }
047
048 public java.lang.String getCompanyEntriesRSS(long companyId, int max,
049 java.lang.String type, double version, java.lang.String displayStyle,
050 java.lang.String feedURL, java.lang.String tagURL)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
054 version, displayStyle, feedURL, tagURL);
055 }
056
057 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
058 long companyId, int start, int end, java.lang.String languageId)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return _assetEntryService.getCompanyEntryDisplays(companyId, start,
061 end, languageId);
062 }
063
064 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
065 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _assetEntryService.getEntries(entryQuery);
069 }
070
071 public int getEntriesCount(
072 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _assetEntryService.getEntriesCount(entryQuery);
076 }
077
078 public java.lang.String getEntriesRSS(
079 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
080 java.lang.String name, java.lang.String type, double version,
081 java.lang.String displayStyle, java.lang.String feedURL,
082 java.lang.String tagURL)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 return _assetEntryService.getEntriesRSS(entryQuery, name, type,
086 version, displayStyle, feedURL, tagURL);
087 }
088
089 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException {
092 return _assetEntryService.getEntry(entryId);
093 }
094
095 public void incrementViewCounter(java.lang.String className, long classPK)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException {
098 _assetEntryService.incrementViewCounter(className, classPK);
099 }
100
101 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
102 long companyId, java.lang.String portletId, java.lang.String keywords,
103 java.lang.String languageId, int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return _assetEntryService.searchEntryDisplays(companyId, portletId,
106 keywords, languageId, start, end);
107 }
108
109 public int searchEntryDisplaysCount(long companyId,
110 java.lang.String portletId, java.lang.String keywords,
111 java.lang.String languageId)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _assetEntryService.searchEntryDisplaysCount(companyId,
114 portletId, keywords, languageId);
115 }
116
117 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
118 long groupId, java.lang.String className, long classPK,
119 java.lang.String classUuid, long[] categoryIds,
120 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
121 java.util.Date endDate, java.util.Date publishDate,
122 java.util.Date expirationDate, java.lang.String mimeType,
123 java.lang.String title, java.lang.String description,
124 java.lang.String summary, java.lang.String url, int height, int width,
125 java.lang.Integer priority, boolean sync)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return _assetEntryService.updateEntry(groupId, className, classPK,
129 classUuid, categoryIds, tagNames, visible, startDate, endDate,
130 publishDate, expirationDate, mimeType, title, description, summary,
131 url, height, width, priority, sync);
132 }
133
134 public AssetEntryService getWrappedAssetEntryService() {
135 return _assetEntryService;
136 }
137
138 private AssetEntryService _assetEntryService;
139 }