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


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)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 CalEvent create(long eventId)
           
 CalEvent fetchByPrimaryKey(long eventId)
           
 CalEvent fetchByUUID_G(java.lang.String uuid, long groupId)
           
 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)
           
 CalEvent findByG_R_First(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 CalEvent findByG_R_Last(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 CalEvent findByG_T_First(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 CalEvent findByG_T_Last(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 CalEvent findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 CalEvent findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 CalEvent findByPrimaryKey(long eventId)
           
 CalEvent findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 CalEvent findByUUID_G(java.lang.String uuid, long groupId)
           
 CalEvent findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 CalEvent[] findByUuid_PrevAndNext(long eventId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 CalEvent remove(CalEvent calEvent)
           
 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)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 CalEvent update(CalEvent calEvent)
           
 CalEvent update(CalEvent calEvent, boolean merge)
           
 CalEvent updateImpl(CalEvent calEvent, boolean merge)
           
 

Method Detail

create

public CalEvent create(long eventId)

remove

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

remove

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

update

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

update

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

updateImpl

public CalEvent updateImpl(CalEvent calEvent,
                           boolean merge)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

public java.util.List findByUuid(java.lang.String uuid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid_First

public CalEvent findByUuid_First(java.lang.String uuid,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException,
                                 NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByUuid_Last

public CalEvent findByUuid_Last(java.lang.String uuid,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByUuid_PrevAndNext

public CalEvent[] findByUuid_PrevAndNext(long eventId,
                                         java.lang.String uuid,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByUUID_G

public CalEvent findByUUID_G(java.lang.String uuid,
                             long groupId)
                      throws com.liferay.portal.SystemException,
                             NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

fetchByUUID_G

public CalEvent fetchByUUID_G(java.lang.String uuid,
                              long groupId)
                       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 CalEvent findByGroupId_First(long groupId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByGroupId_Last

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

findByGroupId_PrevAndNext

public CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                            long groupId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchEventException
Throws:
com.liferay.portal.SystemException
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 CalEvent findByG_T_First(long groupId,
                                java.lang.String type,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByG_T_Last

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

findByG_T_PrevAndNext

public CalEvent[] findByG_T_PrevAndNext(long eventId,
                                        long groupId,
                                        java.lang.String type,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchEventException
Throws:
com.liferay.portal.SystemException
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 CalEvent findByG_R_First(long groupId,
                                boolean repeating,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByG_R_Last

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

findByG_R_PrevAndNext

public CalEvent[] findByG_R_PrevAndNext(long eventId,
                                        long groupId,
                                        boolean repeating,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchEventException
Throws:
com.liferay.portal.SystemException
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

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

public void removeByUUID_G(java.lang.String uuid,
                           long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

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

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

public int countByUUID_G(java.lang.String uuid,
                         long groupId)
                  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