--- /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.communityInfos.service.persistence;
+
+import com.liferay.portal.service.persistence.BasePersistence;
+
+import com.pentila.entSavoie.communityInfos.model.OrganizationMapping;
+
+/**
+ * The persistence interface for the organization mapping service.
+ *
+ * <p>
+ * Caching information and settings can be found in <code>portal.properties</code>
+ * </p>
+ *
+ * @author Barma Igor
+ * @see OrganizationMappingPersistenceImpl
+ * @see OrganizationMappingUtil
+ * @generated
+ */
+public interface OrganizationMappingPersistence extends BasePersistence<OrganizationMapping> {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this interface directly. Always use {@link OrganizationMappingUtil} to access the organization mapping persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
+ */
+
+ /**
+ * Caches the organization mapping in the entity cache if it is enabled.
+ *
+ * @param organizationMapping the organization mapping
+ */
+ public void cacheResult(
+ com.pentila.entSavoie.communityInfos.model.OrganizationMapping organizationMapping);
+
+ /**
+ * Caches the organization mappings in the entity cache if it is enabled.
+ *
+ * @param organizationMappings the organization mappings
+ */
+ public void cacheResult(
+ java.util.List<com.pentila.entSavoie.communityInfos.model.OrganizationMapping> organizationMappings);
+
+ /**
+ * Creates a new organization mapping with the primary key. Does not add the organization mapping to the database.
+ *
+ * @param entStructureUAI the primary key for the new organization mapping
+ * @return the new organization mapping
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping create(
+ java.lang.String entStructureUAI);
+
+ /**
+ * Removes the organization mapping with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param entStructureUAI the primary key of the organization mapping
+ * @return the organization mapping that was removed
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException if a organization mapping with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping remove(
+ java.lang.String entStructureUAI)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException;
+
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping updateImpl(
+ com.pentila.entSavoie.communityInfos.model.OrganizationMapping organizationMapping,
+ boolean merge)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the organization mapping with the primary key or throws a {@link com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException} if it could not be found.
+ *
+ * @param entStructureUAI the primary key of the organization mapping
+ * @return the organization mapping
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException if a organization mapping with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping findByPrimaryKey(
+ java.lang.String entStructureUAI)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException;
+
+ /**
+ * Returns the organization mapping with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param entStructureUAI the primary key of the organization mapping
+ * @return the organization mapping, or <code>null</code> if a organization mapping with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping fetchByPrimaryKey(
+ java.lang.String entStructureUAI)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the organization mapping where organizationId = ? or throws a {@link com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException} if it could not be found.
+ *
+ * @param organizationId the organization ID
+ * @return the matching organization mapping
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException if a matching organization mapping could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping findByorganisationId(
+ long organizationId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException;
+
+ /**
+ * Returns the organization mapping where organizationId = ? or returns <code>null</code> if it could not be found. Uses the finder cache.
+ *
+ * @param organizationId the organization ID
+ * @return the matching organization mapping, or <code>null</code> if a matching organization mapping could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping fetchByorganisationId(
+ long organizationId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the organization mapping where organizationId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache.
+ *
+ * @param organizationId the organization ID
+ * @param retrieveFromCache whether to use the finder cache
+ * @return the matching organization mapping, or <code>null</code> if a matching organization mapping could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping fetchByorganisationId(
+ long organizationId, boolean retrieveFromCache)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns all the organization mappings.
+ *
+ * @return the organization mappings
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.communityInfos.model.OrganizationMapping> findAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the organization mappings.
+ *
+ * <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 organization mappings
+ * @param end the upper bound of the range of organization mappings (not inclusive)
+ * @return the range of organization mappings
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.communityInfos.model.OrganizationMapping> findAll(
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the organization mappings.
+ *
+ * <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 organization mappings
+ * @param end the upper bound of the range of organization mappings (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of organization mappings
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.communityInfos.model.OrganizationMapping> findAll(
+ int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes the organization mapping where organizationId = ? from the database.
+ *
+ * @param organizationId the organization ID
+ * @return the organization mapping that was removed
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.communityInfos.model.OrganizationMapping removeByorganisationId(
+ long organizationId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.communityInfos.NoSuchOrganizationMappingException;
+
+ /**
+ * Removes all the organization mappings from the database.
+ *
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of organization mappings where organizationId = ?.
+ *
+ * @param organizationId the organization ID
+ * @return the number of matching organization mappings
+ * @throws SystemException if a system exception occurred
+ */
+ public int countByorganisationId(long organizationId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of organization mappings.
+ *
+ * @return the number of organization mappings
+ * @throws SystemException if a system exception occurred
+ */
+ public int countAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+}
\ No newline at end of file