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