--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.gestionMenus.service;
+
+import com.liferay.portal.service.ServiceWrapper;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link EntityMenuLocalService}.
+ * </p>
+ *
+ * @author DIMIER Cedric et TARDY Camille
+ * @see EntityMenuLocalService
+ * @generated
+ */
+public class EntityMenuLocalServiceWrapper implements EntityMenuLocalService,
+ ServiceWrapper<EntityMenuLocalService> {
+ public EntityMenuLocalServiceWrapper(
+ EntityMenuLocalService entityMenuLocalService) {
+ _entityMenuLocalService = entityMenuLocalService;
+ }
+
+ /**
+ * Adds the entity menu to the database. Also notifies the appropriate model listeners.
+ *
+ * @param entityMenu the entity menu
+ * @return the entity menu that was added
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu addEntityMenu(
+ com.pentila.entSavoie.gestionMenus.model.EntityMenu entityMenu)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.addEntityMenu(entityMenu);
+ }
+
+ /**
+ * Creates a new entity menu with the primary key. Does not add the entity menu to the database.
+ *
+ * @param entityId the primary key for the new entity menu
+ * @return the new entity menu
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu createEntityMenu(
+ long entityId) {
+ return _entityMenuLocalService.createEntityMenu(entityId);
+ }
+
+ /**
+ * Deletes the entity menu with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param entityId the primary key of the entity menu
+ * @return the entity menu that was removed
+ * @throws PortalException if a entity menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu deleteEntityMenu(
+ long entityId)
+ throws com.liferay.portal.kernel.exception.PortalException,
+ com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.deleteEntityMenu(entityId);
+ }
+
+ /**
+ * Deletes the entity menu from the database. Also notifies the appropriate model listeners.
+ *
+ * @param entityMenu the entity menu
+ * @return the entity menu that was removed
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu deleteEntityMenu(
+ com.pentila.entSavoie.gestionMenus.model.EntityMenu entityMenu)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.deleteEntityMenu(entityMenu);
+ }
+
+ public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
+ return _entityMenuLocalService.dynamicQuery();
+ }
+
+ /**
+ * Performs a dynamic query on the database and returns the matching rows.
+ *
+ * @param dynamicQuery the dynamic query
+ * @return the matching rows
+ * @throws SystemException if a system exception occurred
+ */
+ @SuppressWarnings("rawtypes")
+ public java.util.List dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.dynamicQuery(dynamicQuery);
+ }
+
+ /**
+ * Performs a dynamic query on the database and returns a range of the matching rows.
+ *
+ * <p>
+ * 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.
+ * </p>
+ *
+ * @param dynamicQuery the dynamic query
+ * @param start the lower bound of the range of model instances
+ * @param end the upper bound of the range of model instances (not inclusive)
+ * @return the range of matching rows
+ * @throws SystemException if a system exception occurred
+ */
+ @SuppressWarnings("rawtypes")
+ public java.util.List dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
+ int end) throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.dynamicQuery(dynamicQuery, start, end);
+ }
+
+ /**
+ * Performs a dynamic query on the database and returns an ordered range of the matching rows.
+ *
+ * <p>
+ * 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.
+ * </p>
+ *
+ * @param dynamicQuery the dynamic query
+ * @param start the lower bound of the range of model instances
+ * @param end the upper bound of the range of model instances (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rows
+ * @throws SystemException if a system exception occurred
+ */
+ @SuppressWarnings("rawtypes")
+ public java.util.List dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
+ int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.dynamicQuery(dynamicQuery, start, end,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the number of rows that match the dynamic query.
+ *
+ * @param dynamicQuery the dynamic query
+ * @return the number of rows that match the dynamic query
+ * @throws SystemException if a system exception occurred
+ */
+ public long dynamicQueryCount(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.dynamicQueryCount(dynamicQuery);
+ }
+
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu fetchEntityMenu(
+ long entityId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.fetchEntityMenu(entityId);
+ }
+
+ /**
+ * Returns the entity menu with the primary key.
+ *
+ * @param entityId the primary key of the entity menu
+ * @return the entity menu
+ * @throws PortalException if a entity menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu getEntityMenu(
+ long entityId)
+ throws com.liferay.portal.kernel.exception.PortalException,
+ com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenu(entityId);
+ }
+
+ public com.liferay.portal.model.PersistedModel getPersistedModel(
+ java.io.Serializable primaryKeyObj)
+ throws com.liferay.portal.kernel.exception.PortalException,
+ com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getPersistedModel(primaryKeyObj);
+ }
+
+ /**
+ * Returns a range of all the entity menus.
+ *
+ * <p>
+ * 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.
+ * </p>
+ *
+ * @param start the lower bound of the range of entity menus
+ * @param end the upper bound of the range of entity menus (not inclusive)
+ * @return the range of entity menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getEntityMenus(
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenus(start, end);
+ }
+
+ /**
+ * Returns the number of entity menus.
+ *
+ * @return the number of entity menus
+ * @throws SystemException if a system exception occurred
+ */
+ public int getEntityMenusCount()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenusCount();
+ }
+
+ /**
+ * Updates the entity menu in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
+ *
+ * @param entityMenu the entity menu
+ * @return the entity menu that was updated
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu updateEntityMenu(
+ com.pentila.entSavoie.gestionMenus.model.EntityMenu entityMenu)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.updateEntityMenu(entityMenu);
+ }
+
+ /**
+ * Updates the entity menu in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
+ *
+ * @param entityMenu the entity menu
+ * @param merge whether to merge the entity menu 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.
+ * @return the entity menu that was updated
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu updateEntityMenu(
+ com.pentila.entSavoie.gestionMenus.model.EntityMenu entityMenu,
+ boolean merge)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.updateEntityMenu(entityMenu, merge);
+ }
+
+ /**
+ * Returns the Spring bean ID for this bean.
+ *
+ * @return the Spring bean ID for this bean
+ */
+ public java.lang.String getBeanIdentifier() {
+ return _entityMenuLocalService.getBeanIdentifier();
+ }
+
+ /**
+ * Sets the Spring bean ID for this bean.
+ *
+ * @param beanIdentifier the Spring bean ID for this bean
+ */
+ public void setBeanIdentifier(java.lang.String beanIdentifier) {
+ _entityMenuLocalService.setBeanIdentifier(beanIdentifier);
+ }
+
+ public java.lang.Object invokeMethod(java.lang.String name,
+ java.lang.String[] parameterTypes, java.lang.Object[] arguments)
+ throws java.lang.Throwable {
+ return _entityMenuLocalService.invokeMethod(name, parameterTypes,
+ arguments);
+ }
+
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getEntityMenusByEtabId(
+ long etabId) throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenusByEtabId(etabId);
+ }
+
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getEntityMenusByAppRoleId(
+ long appRoleId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenusByAppRoleId(appRoleId);
+ }
+
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getEntityMenusByEtabId_NodePath(
+ long etabId, java.lang.String nodePath)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenusByEtabId_NodePath(etabId,
+ nodePath);
+ }
+
+ public com.pentila.entSavoie.gestionMenus.model.EntityMenu addEntityMenu()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.addEntityMenu();
+ }
+
+ public int countEntityMenuByEtabId_NodePath(long etabId,
+ java.lang.String nodePath)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.countEntityMenuByEtabId_NodePath(etabId,
+ nodePath);
+ }
+
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getOrCreateEntityMenu(
+ long etabId, java.lang.String parentNode,
+ com.liferay.portal.model.User user)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getOrCreateEntityMenu(etabId,
+ parentNode, user);
+ }
+
+ public boolean canDeleteImage(long imageId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.canDeleteImage(imageId);
+ }
+
+ public java.util.List<com.pentila.entSavoie.gestionMenus.model.EntityMenu> getEntityMenuByCateory(
+ long etabId, java.lang.String category)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _entityMenuLocalService.getEntityMenuByCateory(etabId, category);
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedService}
+ */
+ public EntityMenuLocalService getWrappedEntityMenuLocalService() {
+ return _entityMenuLocalService;
+ }
+
+ /**
+ * @deprecated Renamed to {@link #setWrappedService}
+ */
+ public void setWrappedEntityMenuLocalService(
+ EntityMenuLocalService entityMenuLocalService) {
+ _entityMenuLocalService = entityMenuLocalService;
+ }
+
+ public EntityMenuLocalService getWrappedService() {
+ return _entityMenuLocalService;
+ }
+
+ public void setWrappedService(EntityMenuLocalService entityMenuLocalService) {
+ _entityMenuLocalService = entityMenuLocalService;
+ }
+
+ private EntityMenuLocalService _entityMenuLocalService;
+}
\ No newline at end of file