Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<CalEvent>
All Known Implementing Classes:
CalEventPersistenceImpl

public interface CalEventPersistence
extends BasePersistence<CalEvent>

See Also:
CalEventPersistenceImpl, CalEventUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(CalEvent calEvent)
           
 void cacheResult(List<CalEvent> calEvents)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_R(long groupId, boolean repeating)
           
 int countByG_T(long groupId, String type)
           
 int countByGroupId(long groupId)
           
 int countByNotRemindBy(int remindBy)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 CalEvent create(long eventId)
           
 CalEvent fetchByPrimaryKey(long eventId)
           
 CalEvent fetchByUUID_G(String uuid, long groupId)
           
 CalEvent fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_R(long groupId, boolean repeating)
           
 int filterCountByG_T(long groupId, String type)
           
 int filterCountByGroupId(long groupId)
           
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating)
           
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end)
           
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator)
           
 List<CalEvent> filterFindByG_T(long groupId, String type)
           
 List<CalEvent> filterFindByG_T(long groupId, String type, int start, int end)
           
 List<CalEvent> filterFindByG_T(long groupId, String type, int start, int end, OrderByComparator orderByComparator)
           
 List<CalEvent> filterFindByGroupId(long groupId)
           
 List<CalEvent> filterFindByGroupId(long groupId, int start, int end)
           
 List<CalEvent> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<CalEvent> findAll()
           
 List<CalEvent> findAll(int start, int end)
           
 List<CalEvent> findAll(int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 CalEvent findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, OrderByComparator orderByComparator)
           
 List<CalEvent> findByCompanyId(long companyId)
           
 List<CalEvent> findByCompanyId(long companyId, int start, int end)
           
 List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator)
           
 CalEvent findByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator)
           
 CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator orderByComparator)
           
 List<CalEvent> findByG_R(long groupId, boolean repeating)
           
 List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
           
 List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByG_T_First(long groupId, String type, OrderByComparator orderByComparator)
           
 CalEvent findByG_T_Last(long groupId, String type, OrderByComparator orderByComparator)
           
 CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, String type, OrderByComparator orderByComparator)
           
 List<CalEvent> findByG_T(long groupId, String type)
           
 List<CalEvent> findByG_T(long groupId, String type, int start, int end)
           
 List<CalEvent> findByG_T(long groupId, String type, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 CalEvent findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator orderByComparator)
           
 List<CalEvent> findByGroupId(long groupId)
           
 List<CalEvent> findByGroupId(long groupId, int start, int end)
           
 List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator)
           
 CalEvent findByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator)
           
 CalEvent[] findByNotRemindBy_PrevAndNext(long eventId, int remindBy, OrderByComparator orderByComparator)
           
 List<CalEvent> findByNotRemindBy(int remindBy)
           
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end)
           
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent findByPrimaryKey(long eventId)
           
 CalEvent findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 CalEvent findByUUID_G(String uuid, long groupId)
           
 CalEvent findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 CalEvent[] findByUuid_PrevAndNext(long eventId, String uuid, OrderByComparator orderByComparator)
           
 List<CalEvent> findByUuid(String uuid)
           
 List<CalEvent> findByUuid(String uuid, int start, int end)
           
 List<CalEvent> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
 CalEvent remove(long eventId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_R(long groupId, boolean repeating)
           
 void removeByG_T(long groupId, String type)
           
 void removeByGroupId(long groupId)
           
 void removeByNotRemindBy(int remindBy)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
 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, update
 

Method Detail

cacheResult

void cacheResult(CalEvent calEvent)

cacheResult

void cacheResult(List<CalEvent> calEvents)

create

CalEvent create(long eventId)

remove

CalEvent remove(long eventId)
                throws SystemException,
                       NoSuchEventException
Throws:
SystemException
NoSuchEventException

updateImpl

CalEvent updateImpl(CalEvent calEvent,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

CalEvent findByPrimaryKey(long eventId)
                          throws SystemException,
                                 NoSuchEventException
Throws:
SystemException
NoSuchEventException

fetchByPrimaryKey

CalEvent fetchByPrimaryKey(long eventId)
                           throws SystemException
Throws:
SystemException

findByUuid

List<CalEvent> findByUuid(String uuid)
                          throws SystemException
Throws:
SystemException

findByUuid

List<CalEvent> findByUuid(String uuid,
                          int start,
                          int end)
                          throws SystemException
Throws:
SystemException

findByUuid

List<CalEvent> findByUuid(String uuid,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

findByUuid_First

CalEvent findByUuid_First(String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByUuid_Last

CalEvent findByUuid_Last(String uuid,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByUuid_PrevAndNext

CalEvent[] findByUuid_PrevAndNext(long eventId,
                                  String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByUUID_G

CalEvent findByUUID_G(String uuid,
                      long groupId)
                      throws SystemException,
                             NoSuchEventException
Throws:
SystemException
NoSuchEventException

fetchByUUID_G

CalEvent fetchByUUID_G(String uuid,
                       long groupId)
                       throws SystemException
Throws:
SystemException

fetchByUUID_G

CalEvent fetchByUUID_G(String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByCompanyId

List<CalEvent> findByCompanyId(long companyId)
                               throws SystemException
Throws:
SystemException

findByCompanyId

List<CalEvent> findByCompanyId(long companyId,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

findByCompanyId

List<CalEvent> findByCompanyId(long companyId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByCompanyId_First

CalEvent findByCompanyId_First(long companyId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByCompanyId_Last

CalEvent findByCompanyId_Last(long companyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByCompanyId_PrevAndNext

CalEvent[] findByCompanyId_PrevAndNext(long eventId,
                                       long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByGroupId

List<CalEvent> findByGroupId(long groupId)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<CalEvent> findByGroupId(long groupId,
                             int start,
                             int end)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<CalEvent> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

findByGroupId_First

CalEvent findByGroupId_First(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByGroupId_Last

CalEvent findByGroupId_Last(long groupId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByGroupId_PrevAndNext

CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                     long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchEventException
Throws:
SystemException
NoSuchEventException

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId)
                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy)
                                 throws SystemException
Throws:
SystemException

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy,
                                 int start,
                                 int end)
                                 throws SystemException
Throws:
SystemException

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByNotRemindBy_First

CalEvent findByNotRemindBy_First(int remindBy,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByNotRemindBy_Last

CalEvent findByNotRemindBy_Last(int remindBy,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByNotRemindBy_PrevAndNext

CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
                                         int remindBy,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type)
                         throws SystemException
Throws:
SystemException

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_T_First

CalEvent findByG_T_First(long groupId,
                         String type,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByG_T_Last

CalEvent findByG_T_Last(long groupId,
                        String type,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByG_T_PrevAndNext

CalEvent[] findByG_T_PrevAndNext(long eventId,
                                 long groupId,
                                 String type,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Throws:
SystemException
NoSuchEventException

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type)
                               throws SystemException
Throws:
SystemException

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating)
                         throws SystemException
Throws:
SystemException

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_R_First

CalEvent findByG_R_First(long groupId,
                         boolean repeating,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByG_R_Last

CalEvent findByG_R_Last(long groupId,
                        boolean repeating,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchEventException
Throws:
SystemException
NoSuchEventException

findByG_R_PrevAndNext

CalEvent[] findByG_R_PrevAndNext(long eventId,
                                 long groupId,
                                 boolean repeating,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Throws:
SystemException
NoSuchEventException

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating)
                               throws SystemException
Throws:
SystemException

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findAll

List<CalEvent> findAll()
                       throws SystemException
Throws:
SystemException

findAll

List<CalEvent> findAll(int start,
                       int end)
                       throws SystemException
Throws:
SystemException

findAll

List<CalEvent> findAll(int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchEventException
Throws:
SystemException
NoSuchEventException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByNotRemindBy

void removeByNotRemindBy(int remindBy)
                         throws SystemException
Throws:
SystemException

removeByG_T

void removeByG_T(long groupId,
                 String type)
                 throws SystemException
Throws:
SystemException

removeByG_R

void removeByG_R(long groupId,
                 boolean repeating)
                 throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByNotRemindBy

int countByNotRemindBy(int remindBy)
                       throws SystemException
Throws:
SystemException

countByG_T

int countByG_T(long groupId,
               String type)
               throws SystemException
Throws:
SystemException

filterCountByG_T

int filterCountByG_T(long groupId,
                     String type)
                     throws SystemException
Throws:
SystemException

countByG_R

int countByG_R(long groupId,
               boolean repeating)
               throws SystemException
Throws:
SystemException

filterCountByG_R

int filterCountByG_R(long groupId,
                     boolean repeating)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3