--- /dev/null
+/*******************************************************************************
+ * Copyright © Igor Barma, Alexandre Desoubeaux, Christian Martel, Eric Brun, Mathieu Amblard, Gwenael Gevet, Pierre Guillot, 2012
+ *
+ * This file is part of the work and learning management system Pentila Nero.
+ *
+ * Pentila Nero is free software. You can redistribute it and/or modify since
+ * you respect the terms of either (at least one of the both license) :
+ * - under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ * - the CeCILL-C as published by CeCILL-C; either version 1 of the
+ * License, or any later version
+ * - the GNU Lesser General Public License as published by the
+ * Free Software Foundation, either version 3 of the license,
+ * or (at your option) any later version.
+ *
+ * There are special exceptions to the terms and conditions of the
+ * licenses as they are applied to this software. View the full text of
+ * the exception in file LICENSE-PROJECT.txt in the directory of this software
+ * distribution.
+ *
+ * Pentila Nero 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
+ * Licenses for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * and the CeCILL-C and the GNU Lesser General Public License along with
+ * Pentila Nero. If not, see :
+ * <http://www.gnu.org/licenses/> and
+ * <http://www.cecill.info/licences.fr.html>.
+ ******************************************************************************/
+package com.pentila.entSavoie.cahierDeTexte.service;
+
+import com.liferay.portal.PortalException;
+import com.liferay.portal.SystemException;
+import com.liferay.portal.kernel.annotation.Isolation;
+import com.liferay.portal.kernel.annotation.Propagation;
+import com.liferay.portal.kernel.annotation.Transactional;
+
+
+/**
+ * <a href="EventCDTLocalService.java.html"><b><i>View Source</i></b></a>
+ *
+ * <p>
+ * ServiceBuilder generated this class. Modifications in this class will be
+ * overwritten the next time is generated.
+ * </p>
+ *
+ * <p>
+ * This interface defines the service. The default implementation is
+ * <code>com.pentila.entSavoie.cahierDeTexte.service.impl.EventCDTLocalServiceImpl</code>.
+ * Modify methods in that class and rerun ServiceBuilder to populate this class
+ * and all other generated classes.
+ * </p>
+ *
+ * <p>
+ * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
+ * </p>
+ *
+ * @author Brian Wing Shun Chan
+ *
+ * @see com.pentila.entSavoie.cahierDeTexte.service.EventCDTLocalServiceUtil
+ *
+ */
+@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
+ PortalException.class, SystemException.class}
+)
+public interface EventCDTLocalService {
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT addEventCDT(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT eventCDT)
+ throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT createEventCDT(
+ long evtId);
+
+ public void deleteEventCDT(long evtId)
+ throws com.liferay.portal.SystemException,
+ com.liferay.portal.PortalException;
+
+ public void deleteEventCDT(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT eventCDT)
+ throws com.liferay.portal.SystemException;
+
+ public java.util.List<Object> dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
+ throws com.liferay.portal.SystemException;
+
+ public java.util.List<Object> dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
+ int end) throws com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT getEventCDT(
+ long evtId)
+ throws com.liferay.portal.SystemException,
+ com.liferay.portal.PortalException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTs(
+ int start, int end) throws com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public int getEventCDTsCount() throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT updateEventCDT(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT eventCDT)
+ throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT updateEventCDT(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT eventCDT,
+ boolean merge) throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT addEventCDT()
+ throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT addEventCDT(
+ long companyId, long creatorId, long groupId, java.util.Date startDay,
+ java.util.Date endDay, java.lang.String startHMTime,
+ java.lang.String endHMTime, java.lang.String repeatType,
+ boolean alertFlag, boolean locked, java.lang.String subject,
+ java.lang.String description, java.util.Date fromDate,
+ boolean repeatEvtModified, long matiereId, long kindEvtId,
+ long fromEvt, long toEvt, int estimatedTime)
+ throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT addEventCDT(
+ long companyId, long creatorId, long groupId, java.util.Date startDay,
+ java.util.Date endDay, java.lang.String startHMTime,
+ java.lang.String endHMTime, java.lang.String repeatType,
+ boolean alertFlag, boolean locked, java.lang.String subject,
+ java.lang.String description, java.util.Date fromDate,
+ boolean repeatEvtModified, long matiereId, long kindEvtId,
+ long fromEvt, long toEvt, int estimatedTime, long idCampagne,
+ java.lang.String nameCampagne, int etat)
+ throws com.liferay.portal.SystemException;
+
+ public com.pentila.entSavoie.cahierDeTexte.model.EventCDT updateEventCDTAndIndex(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT eventCDT)
+ throws com.liferay.portal.SystemException;
+
+ public void deleteEvent(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT event)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyGroup(
+ long groupId);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyGroupRangeDate(
+ long groupId, java.lang.Long kindEvt, java.lang.Long creator,
+ java.util.Date startDay, java.util.Date endDay);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyGroupAfterDate(
+ long groupId, java.lang.Long kindEvt, java.lang.Long creator,
+ java.util.Date startDay, int start, int end);
+
+ public int countEventCDTbyGroupAfterDate(long groupId,
+ java.lang.Long kindEvt, java.lang.Long creator, java.util.Date startDay);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyCreator(
+ long creatorId);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTLinked(
+ long repeatEvtGroup, java.lang.Boolean evtModified);
+
+ public java.lang.Boolean removeBylinkedEvt(long repeatEvtGroup,
+ java.lang.Boolean evtModified);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTLinkedAfter(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT evt);
+
+ public java.lang.Boolean removeEventCDTLinkedAfter(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT evt);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyCreatorRangeDate(
+ long creatorId, java.util.Date startDay, java.util.Date endDay);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getEventCDTbyCreatorAfterDate(
+ long creatorId, java.util.Date startDay, int start, int end);
+
+ public int countEventCDTbyCreatorAfterDate(long creatorId,
+ java.util.Date startDay);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getFromEventCDT(
+ long evtId);
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.pentila.entSavoie.cahierDeTexte.model.EventCDT> getToEventCDT(
+ long evtId);
+
+ public void addAttachFilesToEventCDT(long evtId, long companyId,
+ java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.lang.String[] getAttachFilesNameToEventCDT(long companyId,
+ long evtId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException;
+
+ public void updateAttachFilesToEventCDT(long companyId, long evtId,
+ java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
+ java.util.List<String> existingFiles)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException;
+
+ public void deleteAttachFilesToEventCDT(long companyId, long evtId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public void reIndex(long eventId) throws com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public void reIndex(
+ com.pentila.entSavoie.cahierDeTexte.model.EventCDT event)
+ throws com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public void reIndex(java.lang.String[] ids)
+ throws com.liferay.portal.SystemException;
+
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public com.liferay.portal.kernel.search.Hits search(long companyId,
+ long groupId, long userId, long ownerUserId, java.lang.String keywords,
+ int start, int end) throws com.liferay.portal.SystemException;
+}