/portal-service/src/com/liferay/portlet/dynamicdatamapping/service/DDMStructureLinkLocalServiceWrapper.java

https://github.com/spreddy/liferay-portal · Java · 328 lines · 157 code · 31 blank · 140 comment · 0 complexity · 670d9389dbda90b9732841bfa3e9e5cd MD5 · raw file

  1. /**
  2. * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.portlet.dynamicdatamapping.service;
  15. /**
  16. * <p>
  17. * This class is a wrapper for {@link DDMStructureLinkLocalService}.
  18. * </p>
  19. *
  20. * @author Brian Wing Shun Chan
  21. * @see DDMStructureLinkLocalService
  22. * @generated
  23. */
  24. public class DDMStructureLinkLocalServiceWrapper
  25. implements DDMStructureLinkLocalService {
  26. public DDMStructureLinkLocalServiceWrapper(
  27. DDMStructureLinkLocalService ddmStructureLinkLocalService) {
  28. _ddmStructureLinkLocalService = ddmStructureLinkLocalService;
  29. }
  30. /**
  31. * Adds the d d m structure link to the database. Also notifies the appropriate model listeners.
  32. *
  33. * @param ddmStructureLink the d d m structure link
  34. * @return the d d m structure link that was added
  35. * @throws SystemException if a system exception occurred
  36. */
  37. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink addDDMStructureLink(
  38. com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink)
  39. throws com.liferay.portal.kernel.exception.SystemException {
  40. return _ddmStructureLinkLocalService.addDDMStructureLink(ddmStructureLink);
  41. }
  42. /**
  43. * Creates a new d d m structure link with the primary key. Does not add the d d m structure link to the database.
  44. *
  45. * @param structureLinkId the primary key for the new d d m structure link
  46. * @return the new d d m structure link
  47. */
  48. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink createDDMStructureLink(
  49. long structureLinkId) {
  50. return _ddmStructureLinkLocalService.createDDMStructureLink(structureLinkId);
  51. }
  52. /**
  53. * Deletes the d d m structure link with the primary key from the database. Also notifies the appropriate model listeners.
  54. *
  55. * @param structureLinkId the primary key of the d d m structure link
  56. * @throws PortalException if a d d m structure link with the primary key could not be found
  57. * @throws SystemException if a system exception occurred
  58. */
  59. public void deleteDDMStructureLink(long structureLinkId)
  60. throws com.liferay.portal.kernel.exception.PortalException,
  61. com.liferay.portal.kernel.exception.SystemException {
  62. _ddmStructureLinkLocalService.deleteDDMStructureLink(structureLinkId);
  63. }
  64. /**
  65. * Deletes the d d m structure link from the database. Also notifies the appropriate model listeners.
  66. *
  67. * @param ddmStructureLink the d d m structure link
  68. * @throws SystemException if a system exception occurred
  69. */
  70. public void deleteDDMStructureLink(
  71. com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink)
  72. throws com.liferay.portal.kernel.exception.SystemException {
  73. _ddmStructureLinkLocalService.deleteDDMStructureLink(ddmStructureLink);
  74. }
  75. /**
  76. * Performs a dynamic query on the database and returns the matching rows.
  77. *
  78. * @param dynamicQuery the dynamic query
  79. * @return the matching rows
  80. * @throws SystemException if a system exception occurred
  81. */
  82. @SuppressWarnings("rawtypes")
  83. public java.util.List dynamicQuery(
  84. com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
  85. throws com.liferay.portal.kernel.exception.SystemException {
  86. return _ddmStructureLinkLocalService.dynamicQuery(dynamicQuery);
  87. }
  88. /**
  89. * Performs a dynamic query on the database and returns a range of the matching rows.
  90. *
  91. * <p>
  92. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
  93. * </p>
  94. *
  95. * @param dynamicQuery the dynamic query
  96. * @param start the lower bound of the range of model instances
  97. * @param end the upper bound of the range of model instances (not inclusive)
  98. * @return the range of matching rows
  99. * @throws SystemException if a system exception occurred
  100. */
  101. @SuppressWarnings("rawtypes")
  102. public java.util.List dynamicQuery(
  103. com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
  104. int end) throws com.liferay.portal.kernel.exception.SystemException {
  105. return _ddmStructureLinkLocalService.dynamicQuery(dynamicQuery, start,
  106. end);
  107. }
  108. /**
  109. * Performs a dynamic query on the database and returns an ordered range of the matching rows.
  110. *
  111. * <p>
  112. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
  113. * </p>
  114. *
  115. * @param dynamicQuery the dynamic query
  116. * @param start the lower bound of the range of model instances
  117. * @param end the upper bound of the range of model instances (not inclusive)
  118. * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
  119. * @return the ordered range of matching rows
  120. * @throws SystemException if a system exception occurred
  121. */
  122. @SuppressWarnings("rawtypes")
  123. public java.util.List dynamicQuery(
  124. com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
  125. int end,
  126. com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
  127. throws com.liferay.portal.kernel.exception.SystemException {
  128. return _ddmStructureLinkLocalService.dynamicQuery(dynamicQuery, start,
  129. end, orderByComparator);
  130. }
  131. /**
  132. * Returns the number of rows that match the dynamic query.
  133. *
  134. * @param dynamicQuery the dynamic query
  135. * @return the number of rows that match the dynamic query
  136. * @throws SystemException if a system exception occurred
  137. */
  138. public long dynamicQueryCount(
  139. com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
  140. throws com.liferay.portal.kernel.exception.SystemException {
  141. return _ddmStructureLinkLocalService.dynamicQueryCount(dynamicQuery);
  142. }
  143. /**
  144. * Returns the d d m structure link with the primary key.
  145. *
  146. * @param structureLinkId the primary key of the d d m structure link
  147. * @return the d d m structure link
  148. * @throws PortalException if a d d m structure link with the primary key could not be found
  149. * @throws SystemException if a system exception occurred
  150. */
  151. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink getDDMStructureLink(
  152. long structureLinkId)
  153. throws com.liferay.portal.kernel.exception.PortalException,
  154. com.liferay.portal.kernel.exception.SystemException {
  155. return _ddmStructureLinkLocalService.getDDMStructureLink(structureLinkId);
  156. }
  157. public com.liferay.portal.model.PersistedModel getPersistedModel(
  158. java.io.Serializable primaryKeyObj)
  159. throws com.liferay.portal.kernel.exception.PortalException,
  160. com.liferay.portal.kernel.exception.SystemException {
  161. return _ddmStructureLinkLocalService.getPersistedModel(primaryKeyObj);
  162. }
  163. /**
  164. * Returns a range of all the d d m structure links.
  165. *
  166. * <p>
  167. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
  168. * </p>
  169. *
  170. * @param start the lower bound of the range of d d m structure links
  171. * @param end the upper bound of the range of d d m structure links (not inclusive)
  172. * @return the range of d d m structure links
  173. * @throws SystemException if a system exception occurred
  174. */
  175. public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> getDDMStructureLinks(
  176. int start, int end)
  177. throws com.liferay.portal.kernel.exception.SystemException {
  178. return _ddmStructureLinkLocalService.getDDMStructureLinks(start, end);
  179. }
  180. /**
  181. * Returns the number of d d m structure links.
  182. *
  183. * @return the number of d d m structure links
  184. * @throws SystemException if a system exception occurred
  185. */
  186. public int getDDMStructureLinksCount()
  187. throws com.liferay.portal.kernel.exception.SystemException {
  188. return _ddmStructureLinkLocalService.getDDMStructureLinksCount();
  189. }
  190. /**
  191. * Updates the d d m structure link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
  192. *
  193. * @param ddmStructureLink the d d m structure link
  194. * @return the d d m structure link that was updated
  195. * @throws SystemException if a system exception occurred
  196. */
  197. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink updateDDMStructureLink(
  198. com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink)
  199. throws com.liferay.portal.kernel.exception.SystemException {
  200. return _ddmStructureLinkLocalService.updateDDMStructureLink(ddmStructureLink);
  201. }
  202. /**
  203. * Updates the d d m structure link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
  204. *
  205. * @param ddmStructureLink the d d m structure link
  206. * @param merge whether to merge the d d m structure link with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
  207. * @return the d d m structure link that was updated
  208. * @throws SystemException if a system exception occurred
  209. */
  210. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink updateDDMStructureLink(
  211. com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink,
  212. boolean merge)
  213. throws com.liferay.portal.kernel.exception.SystemException {
  214. return _ddmStructureLinkLocalService.updateDDMStructureLink(ddmStructureLink,
  215. merge);
  216. }
  217. /**
  218. * Returns the Spring bean ID for this bean.
  219. *
  220. * @return the Spring bean ID for this bean
  221. */
  222. public java.lang.String getBeanIdentifier() {
  223. return _ddmStructureLinkLocalService.getBeanIdentifier();
  224. }
  225. /**
  226. * Sets the Spring bean ID for this bean.
  227. *
  228. * @param beanIdentifier the Spring bean ID for this bean
  229. */
  230. public void setBeanIdentifier(java.lang.String beanIdentifier) {
  231. _ddmStructureLinkLocalService.setBeanIdentifier(beanIdentifier);
  232. }
  233. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink addStructureLink(
  234. long classNameId, long classPK, long structureId,
  235. com.liferay.portal.service.ServiceContext serviceContext)
  236. throws com.liferay.portal.kernel.exception.SystemException {
  237. return _ddmStructureLinkLocalService.addStructureLink(classNameId,
  238. classPK, structureId, serviceContext);
  239. }
  240. public void deleteClassStructureLink(long classPK)
  241. throws com.liferay.portal.kernel.exception.PortalException,
  242. com.liferay.portal.kernel.exception.SystemException {
  243. _ddmStructureLinkLocalService.deleteClassStructureLink(classPK);
  244. }
  245. public void deleteStructureLink(
  246. com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink structureLink)
  247. throws com.liferay.portal.kernel.exception.SystemException {
  248. _ddmStructureLinkLocalService.deleteStructureLink(structureLink);
  249. }
  250. public void deleteStructureLink(long structureLinkId)
  251. throws com.liferay.portal.kernel.exception.PortalException,
  252. com.liferay.portal.kernel.exception.SystemException {
  253. _ddmStructureLinkLocalService.deleteStructureLink(structureLinkId);
  254. }
  255. public void deleteStructureStructureLinks(long structureId)
  256. throws com.liferay.portal.kernel.exception.SystemException {
  257. _ddmStructureLinkLocalService.deleteStructureStructureLinks(structureId);
  258. }
  259. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink getClassStructureLink(
  260. long classPK)
  261. throws com.liferay.portal.kernel.exception.PortalException,
  262. com.liferay.portal.kernel.exception.SystemException {
  263. return _ddmStructureLinkLocalService.getClassStructureLink(classPK);
  264. }
  265. public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> getClassStructureLinks(
  266. long classNameId)
  267. throws com.liferay.portal.kernel.exception.SystemException {
  268. return _ddmStructureLinkLocalService.getClassStructureLinks(classNameId);
  269. }
  270. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink getStructureLink(
  271. long structureLinkId)
  272. throws com.liferay.portal.kernel.exception.PortalException,
  273. com.liferay.portal.kernel.exception.SystemException {
  274. return _ddmStructureLinkLocalService.getStructureLink(structureLinkId);
  275. }
  276. public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> getStructureLinks(
  277. long structureId, int start, int end)
  278. throws com.liferay.portal.kernel.exception.SystemException {
  279. return _ddmStructureLinkLocalService.getStructureLinks(structureId,
  280. start, end);
  281. }
  282. public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink updateStructureLink(
  283. long structureLinkId, long classNameId, long classPK, long structureId)
  284. throws com.liferay.portal.kernel.exception.PortalException,
  285. com.liferay.portal.kernel.exception.SystemException {
  286. return _ddmStructureLinkLocalService.updateStructureLink(structureLinkId,
  287. classNameId, classPK, structureId);
  288. }
  289. public DDMStructureLinkLocalService getWrappedDDMStructureLinkLocalService() {
  290. return _ddmStructureLinkLocalService;
  291. }
  292. public void setWrappedDDMStructureLinkLocalService(
  293. DDMStructureLinkLocalService ddmStructureLinkLocalService) {
  294. _ddmStructureLinkLocalService = ddmStructureLinkLocalService;
  295. }
  296. private DDMStructureLinkLocalService _ddmStructureLinkLocalService;
  297. }