001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
032 public class SCProductScreenshotLocalServiceUtil {
033 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot addSCProductScreenshot(
034 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getService().addSCProductScreenshot(scProductScreenshot);
037 }
038
039 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot createSCProductScreenshot(
040 long productScreenshotId) {
041 return getService().createSCProductScreenshot(productScreenshotId);
042 }
043
044 public static void deleteSCProductScreenshot(long productScreenshotId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 getService().deleteSCProductScreenshot(productScreenshotId);
048 }
049
050 public static void deleteSCProductScreenshot(
051 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 getService().deleteSCProductScreenshot(scProductScreenshot);
054 }
055
056 @SuppressWarnings("unchecked")
057 public static java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getService().dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public static java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return getService().dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public static java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getService()
077 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
078 }
079
080 public static long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return getService().dynamicQueryCount(dynamicQuery);
084 }
085
086 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getSCProductScreenshot(
087 long productScreenshotId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return getService().getSCProductScreenshot(productScreenshotId);
091 }
092
093 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getSCProductScreenshots(
094 int start, int end)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return getService().getSCProductScreenshots(start, end);
097 }
098
099 public static int getSCProductScreenshotsCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().getSCProductScreenshotsCount();
102 }
103
104 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateSCProductScreenshot(
105 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().updateSCProductScreenshot(scProductScreenshot);
108 }
109
110 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateSCProductScreenshot(
111 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
112 boolean merge)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return getService().updateSCProductScreenshot(scProductScreenshot, merge);
115 }
116
117 public static void deleteProductScreenshot(
118 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot productScreenshot)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 getService().deleteProductScreenshot(productScreenshot);
122 }
123
124 public static void deleteProductScreenshots(long productEntryId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 getService().deleteProductScreenshots(productEntryId);
128 }
129
130 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshot(
131 long productEntryId, int priority)
132 throws com.liferay.portal.kernel.exception.PortalException,
133 com.liferay.portal.kernel.exception.SystemException {
134 return getService().getProductScreenshot(productEntryId, priority);
135 }
136
137 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByFullImageId(
138 long fullImageId)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 return getService().getProductScreenshotByFullImageId(fullImageId);
142 }
143
144 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByThumbnailId(
145 long thumbnailId)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return getService().getProductScreenshotByThumbnailId(thumbnailId);
149 }
150
151 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getProductScreenshots(
152 long productEntryId)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return getService().getProductScreenshots(productEntryId);
155 }
156
157 public static SCProductScreenshotLocalService getService() {
158 if (_service == null) {
159 _service = (SCProductScreenshotLocalService)PortalBeanLocatorUtil.locate(SCProductScreenshotLocalService.class.getName());
160 }
161
162 return _service;
163 }
164
165 public void setService(SCProductScreenshotLocalService service) {
166 _service = service;
167 }
168
169 private static SCProductScreenshotLocalService _service;
170 }