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

All Superinterfaces:
BasePersistence<CalEvent>

public interface CalEventPersistence
extends BasePersistence<CalEvent>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
CalEventPersistenceImpl, CalEventUtil
Generated:

Method Summary
 void cacheResult(CalEvent calEvent)
           
 void cacheResult(java.util.List<CalEvent> calEvents)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_R(long groupId, boolean repeating)
           
 int countByG_T(long groupId, java.lang.String type)
           
 int countByGroupId(long groupId)
           
 int countByRemindBy(int remindBy)
           
 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)
           
 CalEvent fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<CalEvent> findAll()
           
 java.util.List<CalEvent> findAll(int start, int end)
           
 java.util.List<CalEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByCompanyId(long companyId)
           
 java.util.List<CalEvent> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<CalEvent> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByG_R_First(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByG_R_Last(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByG_R(long groupId, boolean repeating)
           
 java.util.List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
           
 java.util.List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByG_T_First(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByG_T_Last(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type)
           
 java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end)
           
 java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByGroupId(long groupId)
           
 java.util.List<CalEvent> findByGroupId(long groupId, int start, int end)
           
 java.util.List<CalEvent> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByPrimaryKey(long eventId)
           
 CalEvent findByRemindBy_First(int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByRemindBy_Last(int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByRemindBy_PrevAndNext(long eventId, int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByRemindBy(int remindBy)
           
 java.util.List<CalEvent> findByRemindBy(int remindBy, int start, int end)
           
 java.util.List<CalEvent> findByRemindBy(int remindBy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent findByUUID_G(java.lang.String uuid, long groupId)
           
 CalEvent findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent[] findByUuid_PrevAndNext(long eventId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<CalEvent> findByUuid(java.lang.String uuid)
           
 java.util.List<CalEvent> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<CalEvent> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 CalEvent remove(long eventId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_R(long groupId, boolean repeating)
           
 void removeByG_T(long groupId, java.lang.String type)
           
 void removeByGroupId(long groupId)
           
 void removeByRemindBy(int remindBy)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 CalEvent update(CalEvent calEvent)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 CalEvent updateImpl(CalEvent calEvent, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(CalEvent calEvent)

cacheResult

void cacheResult(java.util.List<CalEvent> calEvents)

create

CalEvent create(long eventId)

remove

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

update

CalEvent update(CalEvent calEvent)
                throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

java.util.List<CalEvent> findByUuid(java.lang.String uuid,
                                    int start,
                                    int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<CalEvent> findByUuid(java.lang.String uuid,
                                    int start,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

CalEvent fetchByUUID_G(java.lang.String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<CalEvent> findByCompanyId(long companyId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<CalEvent> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<CalEvent> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

CalEvent findByCompanyId_First(long companyId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByCompanyId_Last

CalEvent findByCompanyId_Last(long companyId,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByCompanyId_PrevAndNext

CalEvent[] findByCompanyId_PrevAndNext(long eventId,
                                       long companyId,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByGroupId

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

findByGroupId

java.util.List<CalEvent> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<CalEvent> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

CalEvent findByGroupId_First(long groupId,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByGroupId_Last

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

findByGroupId_PrevAndNext

CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                     long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByRemindBy

java.util.List<CalEvent> findByRemindBy(int remindBy)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRemindBy

java.util.List<CalEvent> findByRemindBy(int remindBy,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRemindBy

java.util.List<CalEvent> findByRemindBy(int remindBy,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRemindBy_First

CalEvent findByRemindBy_First(int remindBy,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByRemindBy_Last

CalEvent findByRemindBy_Last(int remindBy,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByRemindBy_PrevAndNext

CalEvent[] findByRemindBy_PrevAndNext(long eventId,
                                      int remindBy,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchEventException
Throws:
com.liferay.portal.SystemException
NoSuchEventException

findByG_T

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

findByG_T

java.util.List<CalEvent> findByG_T(long groupId,
                                   java.lang.String type,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T

java.util.List<CalEvent> findByG_T(long groupId,
                                   java.lang.String type,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T_First

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

findByG_T_Last

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

findByG_T_PrevAndNext

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

findByG_R

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

findByG_R

java.util.List<CalEvent> findByG_R(long groupId,
                                   boolean repeating,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R

java.util.List<CalEvent> findByG_R(long groupId,
                                   boolean repeating,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R_First

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

findByG_R_Last

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

findByG_R_PrevAndNext

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

findAll

java.util.List<CalEvent> findAll()
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<CalEvent> findAll(int start,
                                 int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<CalEvent> findAll(int start,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

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

removeByUUID_G

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

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByRemindBy

void removeByRemindBy(int remindBy)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_T

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

removeByG_R

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

removeAll

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

countByUuid

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

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

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

countByRemindBy

int countByRemindBy(int remindBy)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_T

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

countByG_R

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

countAll

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