--- /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.casManager.service.persistence;
+
+import com.liferay.portal.service.persistence.BasePersistence;
+
+import com.pentila.entSavoie.casManager.model.AttributSSO;
+
+/**
+ * The persistence interface for the attribut s s o service.
+ *
+ * <p>
+ * Caching information and settings can be found in <code>portal.properties</code>
+ * </p>
+ *
+ * @author Igor Barma
+ * @see AttributSSOPersistenceImpl
+ * @see AttributSSOUtil
+ * @generated
+ */
+public interface AttributSSOPersistence extends BasePersistence<AttributSSO> {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this interface directly. Always use {@link AttributSSOUtil} to access the attribut s s o persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
+ */
+
+ /**
+ * Caches the attribut s s o in the entity cache if it is enabled.
+ *
+ * @param attributSSO the attribut s s o
+ */
+ public void cacheResult(
+ com.pentila.entSavoie.casManager.model.AttributSSO attributSSO);
+
+ /**
+ * Caches the attribut s s os in the entity cache if it is enabled.
+ *
+ * @param attributSSOs the attribut s s os
+ */
+ public void cacheResult(
+ java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> attributSSOs);
+
+ /**
+ * Creates a new attribut s s o with the primary key. Does not add the attribut s s o to the database.
+ *
+ * @param attributSSOId the primary key for the new attribut s s o
+ * @return the new attribut s s o
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO create(
+ long attributSSOId);
+
+ /**
+ * Removes the attribut s s o with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param attributSSOId the primary key of the attribut s s o
+ * @return the attribut s s o that was removed
+ * @throws com.pentila.entSavoie.casManager.NoSuchAttributSSOException if a attribut s s o with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO remove(
+ long attributSSOId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.casManager.NoSuchAttributSSOException;
+
+ public com.pentila.entSavoie.casManager.model.AttributSSO updateImpl(
+ com.pentila.entSavoie.casManager.model.AttributSSO attributSSO,
+ boolean merge)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the attribut s s o with the primary key or throws a {@link com.pentila.entSavoie.casManager.NoSuchAttributSSOException} if it could not be found.
+ *
+ * @param attributSSOId the primary key of the attribut s s o
+ * @return the attribut s s o
+ * @throws com.pentila.entSavoie.casManager.NoSuchAttributSSOException if a attribut s s o with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO findByPrimaryKey(
+ long attributSSOId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.casManager.NoSuchAttributSSOException;
+
+ /**
+ * Returns the attribut s s o with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param attributSSOId the primary key of the attribut s s o
+ * @return the attribut s s o, or <code>null</code> if a attribut s s o with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO fetchByPrimaryKey(
+ long attributSSOId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns all the attribut s s os where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @return the matching attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findByserviceId(
+ long serviceId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the attribut s s os where serviceId = ?.
+ *
+ * <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 serviceId the service ID
+ * @param start the lower bound of the range of attribut s s os
+ * @param end the upper bound of the range of attribut s s os (not inclusive)
+ * @return the range of matching attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findByserviceId(
+ long serviceId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the attribut s s os where serviceId = ?.
+ *
+ * <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 serviceId the service ID
+ * @param start the lower bound of the range of attribut s s os
+ * @param end the upper bound of the range of attribut s s os (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findByserviceId(
+ long serviceId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the first attribut s s o in the ordered set where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching attribut s s o
+ * @throws com.pentila.entSavoie.casManager.NoSuchAttributSSOException if a matching attribut s s o could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO findByserviceId_First(
+ long serviceId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.casManager.NoSuchAttributSSOException;
+
+ /**
+ * Returns the first attribut s s o in the ordered set where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching attribut s s o, or <code>null</code> if a matching attribut s s o could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO fetchByserviceId_First(
+ long serviceId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the last attribut s s o in the ordered set where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching attribut s s o
+ * @throws com.pentila.entSavoie.casManager.NoSuchAttributSSOException if a matching attribut s s o could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO findByserviceId_Last(
+ long serviceId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.casManager.NoSuchAttributSSOException;
+
+ /**
+ * Returns the last attribut s s o in the ordered set where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching attribut s s o, or <code>null</code> if a matching attribut s s o could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO fetchByserviceId_Last(
+ long serviceId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the attribut s s os before and after the current attribut s s o in the ordered set where serviceId = ?.
+ *
+ * @param attributSSOId the primary key of the current attribut s s o
+ * @param serviceId the service ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next attribut s s o
+ * @throws com.pentila.entSavoie.casManager.NoSuchAttributSSOException if a attribut s s o with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.casManager.model.AttributSSO[] findByserviceId_PrevAndNext(
+ long attributSSOId, long serviceId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.casManager.NoSuchAttributSSOException;
+
+ /**
+ * Returns all the attribut s s os.
+ *
+ * @return the attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the attribut s s os.
+ *
+ * <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 attribut s s os
+ * @param end the upper bound of the range of attribut s s os (not inclusive)
+ * @return the range of attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findAll(
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the attribut s s os.
+ *
+ * <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 attribut s s os
+ * @param end the upper bound of the range of attribut s s os (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.casManager.model.AttributSSO> findAll(
+ int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the attribut s s os where serviceId = ? from the database.
+ *
+ * @param serviceId the service ID
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeByserviceId(long serviceId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the attribut s s os from the database.
+ *
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of attribut s s os where serviceId = ?.
+ *
+ * @param serviceId the service ID
+ * @return the number of matching attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public int countByserviceId(long serviceId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of attribut s s os.
+ *
+ * @return the number of attribut s s os
+ * @throws SystemException if a system exception occurred
+ */
+ public int countAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+}
\ No newline at end of file