--- /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.userProperties.service.base;
+
+import com.liferay.counter.service.CounterLocalService;
+
+import com.liferay.portal.kernel.bean.BeanReference;
+import com.liferay.portal.kernel.bean.IdentifiableBean;
+import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
+import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
+import com.liferay.portal.kernel.dao.orm.DynamicQuery;
+import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
+import com.liferay.portal.kernel.exception.PortalException;
+import com.liferay.portal.kernel.exception.SystemException;
+import com.liferay.portal.kernel.search.Indexable;
+import com.liferay.portal.kernel.search.IndexableType;
+import com.liferay.portal.kernel.util.OrderByComparator;
+import com.liferay.portal.model.PersistedModel;
+import com.liferay.portal.service.BaseLocalServiceImpl;
+import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil;
+import com.liferay.portal.service.ResourceLocalService;
+import com.liferay.portal.service.ResourceService;
+import com.liferay.portal.service.UserLocalService;
+import com.liferay.portal.service.UserService;
+import com.liferay.portal.service.persistence.ResourcePersistence;
+import com.liferay.portal.service.persistence.UserPersistence;
+
+import com.pentila.entSavoie.userProperties.model.DashboardConfig;
+import com.pentila.entSavoie.userProperties.service.DashboardConfigLocalService;
+import com.pentila.entSavoie.userProperties.service.DashboardDefaultConfigLocalService;
+import com.pentila.entSavoie.userProperties.service.InternalOauthLocalService;
+import com.pentila.entSavoie.userProperties.service.NotifyConfigLocalService;
+import com.pentila.entSavoie.userProperties.service.UserContactLocalService;
+import com.pentila.entSavoie.userProperties.service.UserInternalSSOLocalService;
+import com.pentila.entSavoie.userProperties.service.UserMailSynchronisationLocalService;
+import com.pentila.entSavoie.userProperties.service.UserMatchingLocalService;
+import com.pentila.entSavoie.userProperties.service.UserMobileNotificationLocalService;
+import com.pentila.entSavoie.userProperties.service.UserPropertiesLocalService;
+import com.pentila.entSavoie.userProperties.service.UserRelationshipLocalService;
+import com.pentila.entSavoie.userProperties.service.persistence.DashboardConfigPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.DashboardDefaultConfigPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.InternalOauthPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.NotifyConfigPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserContactPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserInternalSSOPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserMailSynchronisationPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserMatchingPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserMobileNotificationPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserPropertiesFinder;
+import com.pentila.entSavoie.userProperties.service.persistence.UserPropertiesPersistence;
+import com.pentila.entSavoie.userProperties.service.persistence.UserRelationshipPersistence;
+
+import java.io.Serializable;
+
+import java.util.List;
+
+import javax.sql.DataSource;
+
+/**
+ * The base implementation of the dashboard config local service.
+ *
+ * <p>
+ * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.pentila.entSavoie.userProperties.service.impl.DashboardConfigLocalServiceImpl}.
+ * </p>
+ *
+ * @author Amblard Mathieu - Barma Igor
+ * @see com.pentila.entSavoie.userProperties.service.impl.DashboardConfigLocalServiceImpl
+ * @see com.pentila.entSavoie.userProperties.service.DashboardConfigLocalServiceUtil
+ * @generated
+ */
+public abstract class DashboardConfigLocalServiceBaseImpl
+ extends BaseLocalServiceImpl implements DashboardConfigLocalService,
+ IdentifiableBean {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this class directly. Always use {@link com.pentila.entSavoie.userProperties.service.DashboardConfigLocalServiceUtil} to access the dashboard config local service.
+ */
+
+ /**
+ * Adds the dashboard config to the database. Also notifies the appropriate model listeners.
+ *
+ * @param dashboardConfig the dashboard config
+ * @return the dashboard config that was added
+ * @throws SystemException if a system exception occurred
+ */
+ @Indexable(type = IndexableType.REINDEX)
+ public DashboardConfig addDashboardConfig(DashboardConfig dashboardConfig)
+ throws SystemException {
+ dashboardConfig.setNew(true);
+
+ return dashboardConfigPersistence.update(dashboardConfig, false);
+ }
+
+ /**
+ * Creates a new dashboard config with the primary key. Does not add the dashboard config to the database.
+ *
+ * @param userId the primary key for the new dashboard config
+ * @return the new dashboard config
+ */
+ public DashboardConfig createDashboardConfig(long userId) {
+ return dashboardConfigPersistence.create(userId);
+ }
+
+ /**
+ * Deletes the dashboard config with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param userId the primary key of the dashboard config
+ * @return the dashboard config that was removed
+ * @throws PortalException if a dashboard config with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Indexable(type = IndexableType.DELETE)
+ public DashboardConfig deleteDashboardConfig(long userId)
+ throws PortalException, SystemException {
+ return dashboardConfigPersistence.remove(userId);
+ }
+
+ /**
+ * Deletes the dashboard config from the database. Also notifies the appropriate model listeners.
+ *
+ * @param dashboardConfig the dashboard config
+ * @return the dashboard config that was removed
+ * @throws SystemException if a system exception occurred
+ */
+ @Indexable(type = IndexableType.DELETE)
+ public DashboardConfig deleteDashboardConfig(
+ DashboardConfig dashboardConfig) throws SystemException {
+ return dashboardConfigPersistence.remove(dashboardConfig);
+ }
+
+ public DynamicQuery dynamicQuery() {
+ Class<?> clazz = getClass();
+
+ return DynamicQueryFactoryUtil.forClass(DashboardConfig.class,
+ clazz.getClassLoader());
+ }
+
+ /**
+ * 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 List dynamicQuery(DynamicQuery dynamicQuery)
+ throws SystemException {
+ return dashboardConfigPersistence.findWithDynamicQuery(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 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
+ throws SystemException {
+ return dashboardConfigPersistence.findWithDynamicQuery(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 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
+ OrderByComparator orderByComparator) throws SystemException {
+ return dashboardConfigPersistence.findWithDynamicQuery(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(DynamicQuery dynamicQuery)
+ throws SystemException {
+ return dashboardConfigPersistence.countWithDynamicQuery(dynamicQuery);
+ }
+
+ public DashboardConfig fetchDashboardConfig(long userId)
+ throws SystemException {
+ return dashboardConfigPersistence.fetchByPrimaryKey(userId);
+ }
+
+ /**
+ * Returns the dashboard config with the primary key.
+ *
+ * @param userId the primary key of the dashboard config
+ * @return the dashboard config
+ * @throws PortalException if a dashboard config with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public DashboardConfig getDashboardConfig(long userId)
+ throws PortalException, SystemException {
+ return dashboardConfigPersistence.findByPrimaryKey(userId);
+ }
+
+ public PersistedModel getPersistedModel(Serializable primaryKeyObj)
+ throws PortalException, SystemException {
+ return dashboardConfigPersistence.findByPrimaryKey(primaryKeyObj);
+ }
+
+ /**
+ * Returns a range of all the dashboard configs.
+ *
+ * <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 dashboard configs
+ * @param end the upper bound of the range of dashboard configs (not inclusive)
+ * @return the range of dashboard configs
+ * @throws SystemException if a system exception occurred
+ */
+ public List<DashboardConfig> getDashboardConfigs(int start, int end)
+ throws SystemException {
+ return dashboardConfigPersistence.findAll(start, end);
+ }
+
+ /**
+ * Returns the number of dashboard configs.
+ *
+ * @return the number of dashboard configs
+ * @throws SystemException if a system exception occurred
+ */
+ public int getDashboardConfigsCount() throws SystemException {
+ return dashboardConfigPersistence.countAll();
+ }
+
+ /**
+ * Updates the dashboard config in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
+ *
+ * @param dashboardConfig the dashboard config
+ * @return the dashboard config that was updated
+ * @throws SystemException if a system exception occurred
+ */
+ @Indexable(type = IndexableType.REINDEX)
+ public DashboardConfig updateDashboardConfig(
+ DashboardConfig dashboardConfig) throws SystemException {
+ return updateDashboardConfig(dashboardConfig, true);
+ }
+
+ /**
+ * Updates the dashboard config in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
+ *
+ * @param dashboardConfig the dashboard config
+ * @param merge whether to merge the dashboard config 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 dashboard config that was updated
+ * @throws SystemException if a system exception occurred
+ */
+ @Indexable(type = IndexableType.REINDEX)
+ public DashboardConfig updateDashboardConfig(
+ DashboardConfig dashboardConfig, boolean merge)
+ throws SystemException {
+ dashboardConfig.setNew(false);
+
+ return dashboardConfigPersistence.update(dashboardConfig, merge);
+ }
+
+ /**
+ * Returns the dashboard config local service.
+ *
+ * @return the dashboard config local service
+ */
+ public DashboardConfigLocalService getDashboardConfigLocalService() {
+ return dashboardConfigLocalService;
+ }
+
+ /**
+ * Sets the dashboard config local service.
+ *
+ * @param dashboardConfigLocalService the dashboard config local service
+ */
+ public void setDashboardConfigLocalService(
+ DashboardConfigLocalService dashboardConfigLocalService) {
+ this.dashboardConfigLocalService = dashboardConfigLocalService;
+ }
+
+ /**
+ * Returns the dashboard config persistence.
+ *
+ * @return the dashboard config persistence
+ */
+ public DashboardConfigPersistence getDashboardConfigPersistence() {
+ return dashboardConfigPersistence;
+ }
+
+ /**
+ * Sets the dashboard config persistence.
+ *
+ * @param dashboardConfigPersistence the dashboard config persistence
+ */
+ public void setDashboardConfigPersistence(
+ DashboardConfigPersistence dashboardConfigPersistence) {
+ this.dashboardConfigPersistence = dashboardConfigPersistence;
+ }
+
+ /**
+ * Returns the dashboard default config local service.
+ *
+ * @return the dashboard default config local service
+ */
+ public DashboardDefaultConfigLocalService getDashboardDefaultConfigLocalService() {
+ return dashboardDefaultConfigLocalService;
+ }
+
+ /**
+ * Sets the dashboard default config local service.
+ *
+ * @param dashboardDefaultConfigLocalService the dashboard default config local service
+ */
+ public void setDashboardDefaultConfigLocalService(
+ DashboardDefaultConfigLocalService dashboardDefaultConfigLocalService) {
+ this.dashboardDefaultConfigLocalService = dashboardDefaultConfigLocalService;
+ }
+
+ /**
+ * Returns the dashboard default config persistence.
+ *
+ * @return the dashboard default config persistence
+ */
+ public DashboardDefaultConfigPersistence getDashboardDefaultConfigPersistence() {
+ return dashboardDefaultConfigPersistence;
+ }
+
+ /**
+ * Sets the dashboard default config persistence.
+ *
+ * @param dashboardDefaultConfigPersistence the dashboard default config persistence
+ */
+ public void setDashboardDefaultConfigPersistence(
+ DashboardDefaultConfigPersistence dashboardDefaultConfigPersistence) {
+ this.dashboardDefaultConfigPersistence = dashboardDefaultConfigPersistence;
+ }
+
+ /**
+ * Returns the internal oauth local service.
+ *
+ * @return the internal oauth local service
+ */
+ public InternalOauthLocalService getInternalOauthLocalService() {
+ return internalOauthLocalService;
+ }
+
+ /**
+ * Sets the internal oauth local service.
+ *
+ * @param internalOauthLocalService the internal oauth local service
+ */
+ public void setInternalOauthLocalService(
+ InternalOauthLocalService internalOauthLocalService) {
+ this.internalOauthLocalService = internalOauthLocalService;
+ }
+
+ /**
+ * Returns the internal oauth persistence.
+ *
+ * @return the internal oauth persistence
+ */
+ public InternalOauthPersistence getInternalOauthPersistence() {
+ return internalOauthPersistence;
+ }
+
+ /**
+ * Sets the internal oauth persistence.
+ *
+ * @param internalOauthPersistence the internal oauth persistence
+ */
+ public void setInternalOauthPersistence(
+ InternalOauthPersistence internalOauthPersistence) {
+ this.internalOauthPersistence = internalOauthPersistence;
+ }
+
+ /**
+ * Returns the notify config local service.
+ *
+ * @return the notify config local service
+ */
+ public NotifyConfigLocalService getNotifyConfigLocalService() {
+ return notifyConfigLocalService;
+ }
+
+ /**
+ * Sets the notify config local service.
+ *
+ * @param notifyConfigLocalService the notify config local service
+ */
+ public void setNotifyConfigLocalService(
+ NotifyConfigLocalService notifyConfigLocalService) {
+ this.notifyConfigLocalService = notifyConfigLocalService;
+ }
+
+ /**
+ * Returns the notify config persistence.
+ *
+ * @return the notify config persistence
+ */
+ public NotifyConfigPersistence getNotifyConfigPersistence() {
+ return notifyConfigPersistence;
+ }
+
+ /**
+ * Sets the notify config persistence.
+ *
+ * @param notifyConfigPersistence the notify config persistence
+ */
+ public void setNotifyConfigPersistence(
+ NotifyConfigPersistence notifyConfigPersistence) {
+ this.notifyConfigPersistence = notifyConfigPersistence;
+ }
+
+ /**
+ * Returns the user contact local service.
+ *
+ * @return the user contact local service
+ */
+ public UserContactLocalService getUserContactLocalService() {
+ return userContactLocalService;
+ }
+
+ /**
+ * Sets the user contact local service.
+ *
+ * @param userContactLocalService the user contact local service
+ */
+ public void setUserContactLocalService(
+ UserContactLocalService userContactLocalService) {
+ this.userContactLocalService = userContactLocalService;
+ }
+
+ /**
+ * Returns the user contact persistence.
+ *
+ * @return the user contact persistence
+ */
+ public UserContactPersistence getUserContactPersistence() {
+ return userContactPersistence;
+ }
+
+ /**
+ * Sets the user contact persistence.
+ *
+ * @param userContactPersistence the user contact persistence
+ */
+ public void setUserContactPersistence(
+ UserContactPersistence userContactPersistence) {
+ this.userContactPersistence = userContactPersistence;
+ }
+
+ /**
+ * Returns the user internal s s o local service.
+ *
+ * @return the user internal s s o local service
+ */
+ public UserInternalSSOLocalService getUserInternalSSOLocalService() {
+ return userInternalSSOLocalService;
+ }
+
+ /**
+ * Sets the user internal s s o local service.
+ *
+ * @param userInternalSSOLocalService the user internal s s o local service
+ */
+ public void setUserInternalSSOLocalService(
+ UserInternalSSOLocalService userInternalSSOLocalService) {
+ this.userInternalSSOLocalService = userInternalSSOLocalService;
+ }
+
+ /**
+ * Returns the user internal s s o persistence.
+ *
+ * @return the user internal s s o persistence
+ */
+ public UserInternalSSOPersistence getUserInternalSSOPersistence() {
+ return userInternalSSOPersistence;
+ }
+
+ /**
+ * Sets the user internal s s o persistence.
+ *
+ * @param userInternalSSOPersistence the user internal s s o persistence
+ */
+ public void setUserInternalSSOPersistence(
+ UserInternalSSOPersistence userInternalSSOPersistence) {
+ this.userInternalSSOPersistence = userInternalSSOPersistence;
+ }
+
+ /**
+ * Returns the user mail synchronisation local service.
+ *
+ * @return the user mail synchronisation local service
+ */
+ public UserMailSynchronisationLocalService getUserMailSynchronisationLocalService() {
+ return userMailSynchronisationLocalService;
+ }
+
+ /**
+ * Sets the user mail synchronisation local service.
+ *
+ * @param userMailSynchronisationLocalService the user mail synchronisation local service
+ */
+ public void setUserMailSynchronisationLocalService(
+ UserMailSynchronisationLocalService userMailSynchronisationLocalService) {
+ this.userMailSynchronisationLocalService = userMailSynchronisationLocalService;
+ }
+
+ /**
+ * Returns the user mail synchronisation persistence.
+ *
+ * @return the user mail synchronisation persistence
+ */
+ public UserMailSynchronisationPersistence getUserMailSynchronisationPersistence() {
+ return userMailSynchronisationPersistence;
+ }
+
+ /**
+ * Sets the user mail synchronisation persistence.
+ *
+ * @param userMailSynchronisationPersistence the user mail synchronisation persistence
+ */
+ public void setUserMailSynchronisationPersistence(
+ UserMailSynchronisationPersistence userMailSynchronisationPersistence) {
+ this.userMailSynchronisationPersistence = userMailSynchronisationPersistence;
+ }
+
+ /**
+ * Returns the user matching local service.
+ *
+ * @return the user matching local service
+ */
+ public UserMatchingLocalService getUserMatchingLocalService() {
+ return userMatchingLocalService;
+ }
+
+ /**
+ * Sets the user matching local service.
+ *
+ * @param userMatchingLocalService the user matching local service
+ */
+ public void setUserMatchingLocalService(
+ UserMatchingLocalService userMatchingLocalService) {
+ this.userMatchingLocalService = userMatchingLocalService;
+ }
+
+ /**
+ * Returns the user matching persistence.
+ *
+ * @return the user matching persistence
+ */
+ public UserMatchingPersistence getUserMatchingPersistence() {
+ return userMatchingPersistence;
+ }
+
+ /**
+ * Sets the user matching persistence.
+ *
+ * @param userMatchingPersistence the user matching persistence
+ */
+ public void setUserMatchingPersistence(
+ UserMatchingPersistence userMatchingPersistence) {
+ this.userMatchingPersistence = userMatchingPersistence;
+ }
+
+ /**
+ * Returns the user mobile notification local service.
+ *
+ * @return the user mobile notification local service
+ */
+ public UserMobileNotificationLocalService getUserMobileNotificationLocalService() {
+ return userMobileNotificationLocalService;
+ }
+
+ /**
+ * Sets the user mobile notification local service.
+ *
+ * @param userMobileNotificationLocalService the user mobile notification local service
+ */
+ public void setUserMobileNotificationLocalService(
+ UserMobileNotificationLocalService userMobileNotificationLocalService) {
+ this.userMobileNotificationLocalService = userMobileNotificationLocalService;
+ }
+
+ /**
+ * Returns the user mobile notification persistence.
+ *
+ * @return the user mobile notification persistence
+ */
+ public UserMobileNotificationPersistence getUserMobileNotificationPersistence() {
+ return userMobileNotificationPersistence;
+ }
+
+ /**
+ * Sets the user mobile notification persistence.
+ *
+ * @param userMobileNotificationPersistence the user mobile notification persistence
+ */
+ public void setUserMobileNotificationPersistence(
+ UserMobileNotificationPersistence userMobileNotificationPersistence) {
+ this.userMobileNotificationPersistence = userMobileNotificationPersistence;
+ }
+
+ /**
+ * Returns the user properties local service.
+ *
+ * @return the user properties local service
+ */
+ public UserPropertiesLocalService getUserPropertiesLocalService() {
+ return userPropertiesLocalService;
+ }
+
+ /**
+ * Sets the user properties local service.
+ *
+ * @param userPropertiesLocalService the user properties local service
+ */
+ public void setUserPropertiesLocalService(
+ UserPropertiesLocalService userPropertiesLocalService) {
+ this.userPropertiesLocalService = userPropertiesLocalService;
+ }
+
+ /**
+ * Returns the user properties persistence.
+ *
+ * @return the user properties persistence
+ */
+ public UserPropertiesPersistence getUserPropertiesPersistence() {
+ return userPropertiesPersistence;
+ }
+
+ /**
+ * Sets the user properties persistence.
+ *
+ * @param userPropertiesPersistence the user properties persistence
+ */
+ public void setUserPropertiesPersistence(
+ UserPropertiesPersistence userPropertiesPersistence) {
+ this.userPropertiesPersistence = userPropertiesPersistence;
+ }
+
+ /**
+ * Returns the user properties finder.
+ *
+ * @return the user properties finder
+ */
+ public UserPropertiesFinder getUserPropertiesFinder() {
+ return userPropertiesFinder;
+ }
+
+ /**
+ * Sets the user properties finder.
+ *
+ * @param userPropertiesFinder the user properties finder
+ */
+ public void setUserPropertiesFinder(
+ UserPropertiesFinder userPropertiesFinder) {
+ this.userPropertiesFinder = userPropertiesFinder;
+ }
+
+ /**
+ * Returns the user relationship local service.
+ *
+ * @return the user relationship local service
+ */
+ public UserRelationshipLocalService getUserRelationshipLocalService() {
+ return userRelationshipLocalService;
+ }
+
+ /**
+ * Sets the user relationship local service.
+ *
+ * @param userRelationshipLocalService the user relationship local service
+ */
+ public void setUserRelationshipLocalService(
+ UserRelationshipLocalService userRelationshipLocalService) {
+ this.userRelationshipLocalService = userRelationshipLocalService;
+ }
+
+ /**
+ * Returns the user relationship persistence.
+ *
+ * @return the user relationship persistence
+ */
+ public UserRelationshipPersistence getUserRelationshipPersistence() {
+ return userRelationshipPersistence;
+ }
+
+ /**
+ * Sets the user relationship persistence.
+ *
+ * @param userRelationshipPersistence the user relationship persistence
+ */
+ public void setUserRelationshipPersistence(
+ UserRelationshipPersistence userRelationshipPersistence) {
+ this.userRelationshipPersistence = userRelationshipPersistence;
+ }
+
+ /**
+ * Returns the counter local service.
+ *
+ * @return the counter local service
+ */
+ public CounterLocalService getCounterLocalService() {
+ return counterLocalService;
+ }
+
+ /**
+ * Sets the counter local service.
+ *
+ * @param counterLocalService the counter local service
+ */
+ public void setCounterLocalService(CounterLocalService counterLocalService) {
+ this.counterLocalService = counterLocalService;
+ }
+
+ /**
+ * Returns the resource local service.
+ *
+ * @return the resource local service
+ */
+ public ResourceLocalService getResourceLocalService() {
+ return resourceLocalService;
+ }
+
+ /**
+ * Sets the resource local service.
+ *
+ * @param resourceLocalService the resource local service
+ */
+ public void setResourceLocalService(
+ ResourceLocalService resourceLocalService) {
+ this.resourceLocalService = resourceLocalService;
+ }
+
+ /**
+ * Returns the resource remote service.
+ *
+ * @return the resource remote service
+ */
+ public ResourceService getResourceService() {
+ return resourceService;
+ }
+
+ /**
+ * Sets the resource remote service.
+ *
+ * @param resourceService the resource remote service
+ */
+ public void setResourceService(ResourceService resourceService) {
+ this.resourceService = resourceService;
+ }
+
+ /**
+ * Returns the resource persistence.
+ *
+ * @return the resource persistence
+ */
+ public ResourcePersistence getResourcePersistence() {
+ return resourcePersistence;
+ }
+
+ /**
+ * Sets the resource persistence.
+ *
+ * @param resourcePersistence the resource persistence
+ */
+ public void setResourcePersistence(ResourcePersistence resourcePersistence) {
+ this.resourcePersistence = resourcePersistence;
+ }
+
+ /**
+ * Returns the user local service.
+ *
+ * @return the user local service
+ */
+ public UserLocalService getUserLocalService() {
+ return userLocalService;
+ }
+
+ /**
+ * Sets the user local service.
+ *
+ * @param userLocalService the user local service
+ */
+ public void setUserLocalService(UserLocalService userLocalService) {
+ this.userLocalService = userLocalService;
+ }
+
+ /**
+ * Returns the user remote service.
+ *
+ * @return the user remote service
+ */
+ public UserService getUserService() {
+ return userService;
+ }
+
+ /**
+ * Sets the user remote service.
+ *
+ * @param userService the user remote service
+ */
+ public void setUserService(UserService userService) {
+ this.userService = userService;
+ }
+
+ /**
+ * Returns the user persistence.
+ *
+ * @return the user persistence
+ */
+ public UserPersistence getUserPersistence() {
+ return userPersistence;
+ }
+
+ /**
+ * Sets the user persistence.
+ *
+ * @param userPersistence the user persistence
+ */
+ public void setUserPersistence(UserPersistence userPersistence) {
+ this.userPersistence = userPersistence;
+ }
+
+ public void afterPropertiesSet() {
+ PersistedModelLocalServiceRegistryUtil.register("com.pentila.entSavoie.userProperties.model.DashboardConfig",
+ dashboardConfigLocalService);
+ }
+
+ public void destroy() {
+ PersistedModelLocalServiceRegistryUtil.unregister(
+ "com.pentila.entSavoie.userProperties.model.DashboardConfig");
+ }
+
+ /**
+ * Returns the Spring bean ID for this bean.
+ *
+ * @return the Spring bean ID for this bean
+ */
+ public String getBeanIdentifier() {
+ return _beanIdentifier;
+ }
+
+ /**
+ * Sets the Spring bean ID for this bean.
+ *
+ * @param beanIdentifier the Spring bean ID for this bean
+ */
+ public void setBeanIdentifier(String beanIdentifier) {
+ _beanIdentifier = beanIdentifier;
+ }
+
+ public Object invokeMethod(String name, String[] parameterTypes,
+ Object[] arguments) throws Throwable {
+ return _clpInvoker.invokeMethod(name, parameterTypes, arguments);
+ }
+
+ protected Class<?> getModelClass() {
+ return DashboardConfig.class;
+ }
+
+ protected String getModelClassName() {
+ return DashboardConfig.class.getName();
+ }
+
+ /**
+ * Performs an SQL query.
+ *
+ * @param sql the sql query
+ */
+ protected void runSQL(String sql) throws SystemException {
+ try {
+ DataSource dataSource = dashboardConfigPersistence.getDataSource();
+
+ SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
+ sql, new int[0]);
+
+ sqlUpdate.update();
+ }
+ catch (Exception e) {
+ throw new SystemException(e);
+ }
+ }
+
+ @BeanReference(type = DashboardConfigLocalService.class)
+ protected DashboardConfigLocalService dashboardConfigLocalService;
+ @BeanReference(type = DashboardConfigPersistence.class)
+ protected DashboardConfigPersistence dashboardConfigPersistence;
+ @BeanReference(type = DashboardDefaultConfigLocalService.class)
+ protected DashboardDefaultConfigLocalService dashboardDefaultConfigLocalService;
+ @BeanReference(type = DashboardDefaultConfigPersistence.class)
+ protected DashboardDefaultConfigPersistence dashboardDefaultConfigPersistence;
+ @BeanReference(type = InternalOauthLocalService.class)
+ protected InternalOauthLocalService internalOauthLocalService;
+ @BeanReference(type = InternalOauthPersistence.class)
+ protected InternalOauthPersistence internalOauthPersistence;
+ @BeanReference(type = NotifyConfigLocalService.class)
+ protected NotifyConfigLocalService notifyConfigLocalService;
+ @BeanReference(type = NotifyConfigPersistence.class)
+ protected NotifyConfigPersistence notifyConfigPersistence;
+ @BeanReference(type = UserContactLocalService.class)
+ protected UserContactLocalService userContactLocalService;
+ @BeanReference(type = UserContactPersistence.class)
+ protected UserContactPersistence userContactPersistence;
+ @BeanReference(type = UserInternalSSOLocalService.class)
+ protected UserInternalSSOLocalService userInternalSSOLocalService;
+ @BeanReference(type = UserInternalSSOPersistence.class)
+ protected UserInternalSSOPersistence userInternalSSOPersistence;
+ @BeanReference(type = UserMailSynchronisationLocalService.class)
+ protected UserMailSynchronisationLocalService userMailSynchronisationLocalService;
+ @BeanReference(type = UserMailSynchronisationPersistence.class)
+ protected UserMailSynchronisationPersistence userMailSynchronisationPersistence;
+ @BeanReference(type = UserMatchingLocalService.class)
+ protected UserMatchingLocalService userMatchingLocalService;
+ @BeanReference(type = UserMatchingPersistence.class)
+ protected UserMatchingPersistence userMatchingPersistence;
+ @BeanReference(type = UserMobileNotificationLocalService.class)
+ protected UserMobileNotificationLocalService userMobileNotificationLocalService;
+ @BeanReference(type = UserMobileNotificationPersistence.class)
+ protected UserMobileNotificationPersistence userMobileNotificationPersistence;
+ @BeanReference(type = UserPropertiesLocalService.class)
+ protected UserPropertiesLocalService userPropertiesLocalService;
+ @BeanReference(type = UserPropertiesPersistence.class)
+ protected UserPropertiesPersistence userPropertiesPersistence;
+ @BeanReference(type = UserPropertiesFinder.class)
+ protected UserPropertiesFinder userPropertiesFinder;
+ @BeanReference(type = UserRelationshipLocalService.class)
+ protected UserRelationshipLocalService userRelationshipLocalService;
+ @BeanReference(type = UserRelationshipPersistence.class)
+ protected UserRelationshipPersistence userRelationshipPersistence;
+ @BeanReference(type = CounterLocalService.class)
+ protected CounterLocalService counterLocalService;
+ @BeanReference(type = ResourceLocalService.class)
+ protected ResourceLocalService resourceLocalService;
+ @BeanReference(type = ResourceService.class)
+ protected ResourceService resourceService;
+ @BeanReference(type = ResourcePersistence.class)
+ protected ResourcePersistence resourcePersistence;
+ @BeanReference(type = UserLocalService.class)
+ protected UserLocalService userLocalService;
+ @BeanReference(type = UserService.class)
+ protected UserService userService;
+ @BeanReference(type = UserPersistence.class)
+ protected UserPersistence userPersistence;
+ private String _beanIdentifier;
+ private DashboardConfigLocalServiceClpInvoker _clpInvoker = new DashboardConfigLocalServiceClpInvoker();
+}
\ No newline at end of file