com.liferay.portlet.calendar.service.persistence
Interface CalEventPersistence

All Known Implementing Classes:
CalEventPersistenceImpl

public interface CalEventPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByG_R(long groupId, boolean repeating)
           
 int countByG_T(long groupId, java.lang.String type)
           
 int countByGroupId(long groupId)
           
 com.liferay.portlet.calendar.model.CalEvent create(long eventId)
           
 com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_R(long groupId, boolean repeating)
           
 java.util.List findByG_R(long groupId, boolean repeating, int begin, int end)
           
 java.util.List findByG_R(long groupId, boolean repeating, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_T(long groupId, java.lang.String type)
           
 java.util.List findByG_T(long groupId, java.lang.String type, int begin, int end)
           
 java.util.List findByG_T(long groupId, java.lang.String type, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 com.liferay.portlet.calendar.model.CalEvent remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
           
 com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
           
 void removeAll()
           
 void removeByG_R(long groupId, boolean repeating)
           
 void removeByG_T(long groupId, java.lang.String type)
           
 void removeByGroupId(long groupId)
           
 com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent)
           
 com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.calendar.model.CalEvent create(long eventId)

remove

public com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
                                                   throws com.liferay.portal.SystemException,
                                                          com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

remove

public com.liferay.portlet.calendar.model.CalEvent remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                          boolean merge)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
                                                             throws com.liferay.portal.SystemException,
                                                                    com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

fetchByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByGroupId_Last

public com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portal.SystemException,
                                                                      com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByGroupId_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                                                               long groupId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portal.SystemException,
                                                                               com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_T

public java.util.List findByG_T(long groupId,
                                java.lang.String type)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T

public java.util.List findByG_T(long groupId,
                                java.lang.String type,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T

public java.util.List findByG_T(long groupId,
                                java.lang.String type,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T_First

public com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId,
                                                                   java.lang.String type,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.SystemException,
                                                                   com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_T_Last

public com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId,
                                                                  java.lang.String type,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_T_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId,
                                                                           long groupId,
                                                                           java.lang.String type,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_R

public java.util.List findByG_R(long groupId,
                                boolean repeating)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R

public java.util.List findByG_R(long groupId,
                                boolean repeating,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R

public java.util.List findByG_R(long groupId,
                                boolean repeating,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R_First

public com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId,
                                                                   boolean repeating,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.SystemException,
                                                                   com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_R_Last

public com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId,
                                                                  boolean repeating,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findByG_R_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId,
                                                                           long groupId,
                                                                           boolean repeating,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.calendar.NoSuchEventException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_T

public void removeByG_T(long groupId,
                        java.lang.String type)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_R

public void removeByG_R(long groupId,
                        boolean repeating)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_T

public int countByG_T(long groupId,
                      java.lang.String type)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_R

public int countByG_R(long groupId,
                      boolean repeating)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException