1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class SCProductScreenshotLocalServiceUtil {
40 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot addSCProductScreenshot(
41 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
42 throws com.liferay.portal.SystemException {
43 return getService().addSCProductScreenshot(scProductScreenshot);
44 }
45
46 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot createSCProductScreenshot(
47 long productScreenshotId) {
48 return getService().createSCProductScreenshot(productScreenshotId);
49 }
50
51 public static void deleteSCProductScreenshot(long productScreenshotId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 getService().deleteSCProductScreenshot(productScreenshotId);
55 }
56
57 public static void deleteSCProductScreenshot(
58 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
59 throws com.liferay.portal.SystemException {
60 getService().deleteSCProductScreenshot(scProductScreenshot);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getSCProductScreenshot(
91 long productScreenshotId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return getService().getSCProductScreenshot(productScreenshotId);
95 }
96
97 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getSCProductScreenshots(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return getService().getSCProductScreenshots(start, end);
100 }
101
102 public static int getSCProductScreenshotsCount()
103 throws com.liferay.portal.SystemException {
104 return getService().getSCProductScreenshotsCount();
105 }
106
107 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateSCProductScreenshot(
108 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
109 throws com.liferay.portal.SystemException {
110 return getService().updateSCProductScreenshot(scProductScreenshot);
111 }
112
113 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateSCProductScreenshot(
114 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
115 boolean merge) throws com.liferay.portal.SystemException {
116 return getService().updateSCProductScreenshot(scProductScreenshot, merge);
117 }
118
119 public static void deleteProductScreenshot(
120 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot productScreenshot)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 getService().deleteProductScreenshot(productScreenshot);
124 }
125
126 public static void deleteProductScreenshots(long productEntryId)
127 throws com.liferay.portal.PortalException,
128 com.liferay.portal.SystemException {
129 getService().deleteProductScreenshots(productEntryId);
130 }
131
132 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshot(
133 long productEntryId, int priority)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException {
136 return getService().getProductScreenshot(productEntryId, priority);
137 }
138
139 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByFullImageId(
140 long fullImageId)
141 throws com.liferay.portal.PortalException,
142 com.liferay.portal.SystemException {
143 return getService().getProductScreenshotByFullImageId(fullImageId);
144 }
145
146 public static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getProductScreenshotByThumbnailId(
147 long thumbnailId)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 return getService().getProductScreenshotByThumbnailId(thumbnailId);
151 }
152
153 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> getProductScreenshots(
154 long productEntryId) throws com.liferay.portal.SystemException {
155 return getService().getProductScreenshots(productEntryId);
156 }
157
158 public static SCProductScreenshotLocalService getService() {
159 if (_service == null) {
160 _service = (SCProductScreenshotLocalService)PortalBeanLocatorUtil.locate(SCProductScreenshotLocalService.class.getName());
161 }
162
163 return _service;
164 }
165
166 public void setService(SCProductScreenshotLocalService service) {
167 _service = service;
168 }
169
170 private static SCProductScreenshotLocalService _service;
171 }