Liferay 6.0.3

com.liferay.portlet.calendar.service.persistence
Class CalEventPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<CalEvent>
      extended by com.liferay.portlet.calendar.service.persistence.CalEventPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<CalEvent>, CalEventPersistence

public class CalEventPersistenceImpl
extends BasePersistenceImpl<CalEvent>
implements CalEventPersistence

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

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CalEventPersistence calEventPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_R
           
static FinderPath FINDER_PATH_COUNT_BY_G_T
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_NOTREMINDBY
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_R
           
static FinderPath FINDER_PATH_FIND_BY_G_T
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_NOTREMINDBY
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
CalEventPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(CalEvent calEvent)
           
 void cacheResult(List<CalEvent> calEvents)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(CalEvent calEvent)
          Clears the cache for one instance of this model.
 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 fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 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 findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 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)
           
protected  CalEvent getByCompanyId_PrevAndNext(Session session, CalEvent calEvent, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByG_R_PrevAndNext(Session session, CalEvent calEvent, long groupId, boolean repeating, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByG_T_PrevAndNext(Session session, CalEvent calEvent, long groupId, String type, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByGroupId_PrevAndNext(Session session, CalEvent calEvent, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByNotRemindBy_PrevAndNext(Session session, CalEvent calEvent, int remindBy, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByUuid_PrevAndNext(Session session, CalEvent calEvent, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 CalEvent remove(long eventId)
           
 CalEvent remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 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)
           
protected  CalEvent removeImpl(CalEvent calEvent)
          Removes the model instance from the database.
protected  CalEvent toUnwrappedModel(CalEvent calEvent)
           
 CalEvent updateImpl(CalEvent calEvent, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_NOTREMINDBY

public static final FinderPath FINDER_PATH_FIND_BY_NOTREMINDBY

FINDER_PATH_COUNT_BY_NOTREMINDBY

public static final FinderPath FINDER_PATH_COUNT_BY_NOTREMINDBY

FINDER_PATH_FIND_BY_G_T

public static final FinderPath FINDER_PATH_FIND_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_T

FINDER_PATH_FIND_BY_G_R

public static final FinderPath FINDER_PATH_FIND_BY_G_R

FINDER_PATH_COUNT_BY_G_R

public static final FinderPath FINDER_PATH_COUNT_BY_G_R

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

calEventPersistence

@BeanReference(type=CalEventPersistence.class)
protected CalEventPersistence calEventPersistence

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence
Constructor Detail

CalEventPersistenceImpl

public CalEventPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(CalEvent calEvent)
Specified by:
cacheResult in interface CalEventPersistence

cacheResult

public void cacheResult(List<CalEvent> calEvents)
Specified by:
cacheResult in interface CalEventPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<CalEvent>
Overrides:
clearCache in class BasePersistenceImpl<CalEvent>

clearCache

public void clearCache(CalEvent calEvent)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<CalEvent>
Overrides:
clearCache in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the instance of this model to clear the cache for

create

public CalEvent create(long eventId)
Specified by:
create in interface CalEventPersistence

remove

public CalEvent remove(Serializable primaryKey)
                throws NoSuchModelException,
                       SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<CalEvent>
Overrides:
remove in class BasePersistenceImpl<CalEvent>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public CalEvent remove(long eventId)
                throws NoSuchEventException,
                       SystemException
Specified by:
remove in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

removeImpl

protected CalEvent removeImpl(CalEvent calEvent)
                       throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public CalEvent updateImpl(CalEvent calEvent,
                           boolean merge)
                    throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface CalEventPersistence
Overrides:
updateImpl in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected CalEvent toUnwrappedModel(CalEvent calEvent)

findByPrimaryKey

public CalEvent findByPrimaryKey(Serializable primaryKey)
                          throws NoSuchModelException,
                                 SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<CalEvent>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<CalEvent>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public CalEvent findByPrimaryKey(long eventId)
                          throws NoSuchEventException,
                                 SystemException
Specified by:
findByPrimaryKey in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

fetchByPrimaryKey

public CalEvent fetchByPrimaryKey(Serializable primaryKey)
                           throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<CalEvent>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<CalEvent>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public CalEvent fetchByPrimaryKey(long eventId)
                           throws SystemException
Specified by:
fetchByPrimaryKey in interface CalEventPersistence
Throws:
SystemException

findByUuid

public List<CalEvent> findByUuid(String uuid)
                          throws SystemException
Specified by:
findByUuid in interface CalEventPersistence
Throws:
SystemException

findByUuid

public List<CalEvent> findByUuid(String uuid,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByUuid in interface CalEventPersistence
Throws:
SystemException

findByUuid

public List<CalEvent> findByUuid(String uuid,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByUuid in interface CalEventPersistence
Throws:
SystemException

findByUuid_First

public CalEvent findByUuid_First(String uuid,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEventException,
                                 SystemException
Specified by:
findByUuid_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByUuid_Last

public CalEvent findByUuid_Last(String uuid,
                                OrderByComparator orderByComparator)
                         throws NoSuchEventException,
                                SystemException
Specified by:
findByUuid_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByUuid_PrevAndNext

public CalEvent[] findByUuid_PrevAndNext(long eventId,
                                         String uuid,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchEventException,
                                         SystemException
Specified by:
findByUuid_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByUuid_PrevAndNext

protected CalEvent getByUuid_PrevAndNext(Session session,
                                         CalEvent calEvent,
                                         String uuid,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByUUID_G

public CalEvent findByUUID_G(String uuid,
                             long groupId)
                      throws NoSuchEventException,
                             SystemException
Specified by:
findByUUID_G in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

fetchByUUID_G

public CalEvent fetchByUUID_G(String uuid,
                              long groupId)
                       throws SystemException
Specified by:
fetchByUUID_G in interface CalEventPersistence
Throws:
SystemException

fetchByUUID_G

public CalEvent fetchByUUID_G(String uuid,
                              long groupId,
                              boolean retrieveFromCache)
                       throws SystemException
Specified by:
fetchByUUID_G in interface CalEventPersistence
Throws:
SystemException

findByCompanyId

public List<CalEvent> findByCompanyId(long companyId)
                               throws SystemException
Specified by:
findByCompanyId in interface CalEventPersistence
Throws:
SystemException

findByCompanyId

public List<CalEvent> findByCompanyId(long companyId,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findByCompanyId in interface CalEventPersistence
Throws:
SystemException

findByCompanyId

public List<CalEvent> findByCompanyId(long companyId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
findByCompanyId in interface CalEventPersistence
Throws:
SystemException

findByCompanyId_First

public CalEvent findByCompanyId_First(long companyId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchEventException,
                                      SystemException
Specified by:
findByCompanyId_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByCompanyId_Last

public CalEvent findByCompanyId_Last(long companyId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEventException,
                                     SystemException
Specified by:
findByCompanyId_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByCompanyId_PrevAndNext

public CalEvent[] findByCompanyId_PrevAndNext(long eventId,
                                              long companyId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEventException,
                                              SystemException
Specified by:
findByCompanyId_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByCompanyId_PrevAndNext

protected CalEvent getByCompanyId_PrevAndNext(Session session,
                                              CalEvent calEvent,
                                              long companyId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByGroupId

public List<CalEvent> findByGroupId(long groupId)
                             throws SystemException
Specified by:
findByGroupId in interface CalEventPersistence
Throws:
SystemException

findByGroupId

public List<CalEvent> findByGroupId(long groupId,
                                    int start,
                                    int end)
                             throws SystemException
Specified by:
findByGroupId in interface CalEventPersistence
Throws:
SystemException

findByGroupId

public List<CalEvent> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Specified by:
findByGroupId in interface CalEventPersistence
Throws:
SystemException

findByGroupId_First

public CalEvent findByGroupId_First(long groupId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEventException,
                                    SystemException
Specified by:
findByGroupId_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByGroupId_Last

public CalEvent findByGroupId_Last(long groupId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEventException,
                                   SystemException
Specified by:
findByGroupId_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByGroupId_PrevAndNext

public CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                            long groupId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEventException,
                                            SystemException
Specified by:
findByGroupId_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByGroupId_PrevAndNext

protected CalEvent getByGroupId_PrevAndNext(Session session,
                                            CalEvent calEvent,
                                            long groupId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByGroupId

public List<CalEvent> filterFindByGroupId(long groupId)
                                   throws SystemException
Specified by:
filterFindByGroupId in interface CalEventPersistence
Throws:
SystemException

filterFindByGroupId

public List<CalEvent> filterFindByGroupId(long groupId,
                                          int start,
                                          int end)
                                   throws SystemException
Specified by:
filterFindByGroupId in interface CalEventPersistence
Throws:
SystemException

filterFindByGroupId

public List<CalEvent> filterFindByGroupId(long groupId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Specified by:
filterFindByGroupId in interface CalEventPersistence
Throws:
SystemException

findByNotRemindBy

public List<CalEvent> findByNotRemindBy(int remindBy)
                                 throws SystemException
Specified by:
findByNotRemindBy in interface CalEventPersistence
Throws:
SystemException

findByNotRemindBy

public List<CalEvent> findByNotRemindBy(int remindBy,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
findByNotRemindBy in interface CalEventPersistence
Throws:
SystemException

findByNotRemindBy

public List<CalEvent> findByNotRemindBy(int remindBy,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
findByNotRemindBy in interface CalEventPersistence
Throws:
SystemException

findByNotRemindBy_First

public CalEvent findByNotRemindBy_First(int remindBy,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEventException,
                                        SystemException
Specified by:
findByNotRemindBy_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByNotRemindBy_Last

public CalEvent findByNotRemindBy_Last(int remindBy,
                                       OrderByComparator orderByComparator)
                                throws NoSuchEventException,
                                       SystemException
Specified by:
findByNotRemindBy_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByNotRemindBy_PrevAndNext

public CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
                                                int remindBy,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEventException,
                                                SystemException
Specified by:
findByNotRemindBy_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByNotRemindBy_PrevAndNext

protected CalEvent getByNotRemindBy_PrevAndNext(Session session,
                                                CalEvent calEvent,
                                                int remindBy,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByG_T

public List<CalEvent> findByG_T(long groupId,
                                String type)
                         throws SystemException
Specified by:
findByG_T in interface CalEventPersistence
Throws:
SystemException

findByG_T

public List<CalEvent> findByG_T(long groupId,
                                String type,
                                int start,
                                int end)
                         throws SystemException
Specified by:
findByG_T in interface CalEventPersistence
Throws:
SystemException

findByG_T

public List<CalEvent> findByG_T(long groupId,
                                String type,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Specified by:
findByG_T in interface CalEventPersistence
Throws:
SystemException

findByG_T_First

public CalEvent findByG_T_First(long groupId,
                                String type,
                                OrderByComparator orderByComparator)
                         throws NoSuchEventException,
                                SystemException
Specified by:
findByG_T_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByG_T_Last

public CalEvent findByG_T_Last(long groupId,
                               String type,
                               OrderByComparator orderByComparator)
                        throws NoSuchEventException,
                               SystemException
Specified by:
findByG_T_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByG_T_PrevAndNext

public CalEvent[] findByG_T_PrevAndNext(long eventId,
                                        long groupId,
                                        String type,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEventException,
                                        SystemException
Specified by:
findByG_T_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByG_T_PrevAndNext

protected CalEvent getByG_T_PrevAndNext(Session session,
                                        CalEvent calEvent,
                                        long groupId,
                                        String type,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

filterFindByG_T

public List<CalEvent> filterFindByG_T(long groupId,
                                      String type)
                               throws SystemException
Specified by:
filterFindByG_T in interface CalEventPersistence
Throws:
SystemException

filterFindByG_T

public List<CalEvent> filterFindByG_T(long groupId,
                                      String type,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
filterFindByG_T in interface CalEventPersistence
Throws:
SystemException

filterFindByG_T

public List<CalEvent> filterFindByG_T(long groupId,
                                      String type,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
filterFindByG_T in interface CalEventPersistence
Throws:
SystemException

findByG_R

public List<CalEvent> findByG_R(long groupId,
                                boolean repeating)
                         throws SystemException
Specified by:
findByG_R in interface CalEventPersistence
Throws:
SystemException

findByG_R

public List<CalEvent> findByG_R(long groupId,
                                boolean repeating,
                                int start,
                                int end)
                         throws SystemException
Specified by:
findByG_R in interface CalEventPersistence
Throws:
SystemException

findByG_R

public List<CalEvent> findByG_R(long groupId,
                                boolean repeating,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Specified by:
findByG_R in interface CalEventPersistence
Throws:
SystemException

findByG_R_First

public CalEvent findByG_R_First(long groupId,
                                boolean repeating,
                                OrderByComparator orderByComparator)
                         throws NoSuchEventException,
                                SystemException
Specified by:
findByG_R_First in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByG_R_Last

public CalEvent findByG_R_Last(long groupId,
                               boolean repeating,
                               OrderByComparator orderByComparator)
                        throws NoSuchEventException,
                               SystemException
Specified by:
findByG_R_Last in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

findByG_R_PrevAndNext

public CalEvent[] findByG_R_PrevAndNext(long eventId,
                                        long groupId,
                                        boolean repeating,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEventException,
                                        SystemException
Specified by:
findByG_R_PrevAndNext in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

getByG_R_PrevAndNext

protected CalEvent getByG_R_PrevAndNext(Session session,
                                        CalEvent calEvent,
                                        long groupId,
                                        boolean repeating,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

filterFindByG_R

public List<CalEvent> filterFindByG_R(long groupId,
                                      boolean repeating)
                               throws SystemException
Specified by:
filterFindByG_R in interface CalEventPersistence
Throws:
SystemException

filterFindByG_R

public List<CalEvent> filterFindByG_R(long groupId,
                                      boolean repeating,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
filterFindByG_R in interface CalEventPersistence
Throws:
SystemException

filterFindByG_R

public List<CalEvent> filterFindByG_R(long groupId,
                                      boolean repeating,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
filterFindByG_R in interface CalEventPersistence
Throws:
SystemException

findAll

public List<CalEvent> findAll()
                       throws SystemException
Specified by:
findAll in interface CalEventPersistence
Throws:
SystemException

findAll

public List<CalEvent> findAll(int start,
                              int end)
                       throws SystemException
Specified by:
findAll in interface CalEventPersistence
Throws:
SystemException

findAll

public List<CalEvent> findAll(int start,
                              int end,
                              OrderByComparator orderByComparator)
                       throws SystemException
Specified by:
findAll in interface CalEventPersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface CalEventPersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchEventException,
                           SystemException
Specified by:
removeByUUID_G in interface CalEventPersistence
Throws:
NoSuchEventException
SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Specified by:
removeByCompanyId in interface CalEventPersistence
Throws:
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface CalEventPersistence
Throws:
SystemException

removeByNotRemindBy

public void removeByNotRemindBy(int remindBy)
                         throws SystemException
Specified by:
removeByNotRemindBy in interface CalEventPersistence
Throws:
SystemException

removeByG_T

public void removeByG_T(long groupId,
                        String type)
                 throws SystemException
Specified by:
removeByG_T in interface CalEventPersistence
Throws:
SystemException

removeByG_R

public void removeByG_R(long groupId,
                        boolean repeating)
                 throws SystemException
Specified by:
removeByG_R in interface CalEventPersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface CalEventPersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface CalEventPersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface CalEventPersistence
Throws:
SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Specified by:
countByCompanyId in interface CalEventPersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface CalEventPersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface CalEventPersistence
Throws:
SystemException

countByNotRemindBy

public int countByNotRemindBy(int remindBy)
                       throws SystemException
Specified by:
countByNotRemindBy in interface CalEventPersistence
Throws:
SystemException

countByG_T

public int countByG_T(long groupId,
                      String type)
               throws SystemException
Specified by:
countByG_T in interface CalEventPersistence
Throws:
SystemException

filterCountByG_T

public int filterCountByG_T(long groupId,
                            String type)
                     throws SystemException
Specified by:
filterCountByG_T in interface CalEventPersistence
Throws:
SystemException

countByG_R

public int countByG_R(long groupId,
                      boolean repeating)
               throws SystemException
Specified by:
countByG_R in interface CalEventPersistence
Throws:
SystemException

filterCountByG_R

public int filterCountByG_R(long groupId,
                            boolean repeating)
                     throws SystemException
Specified by:
filterCountByG_R in interface CalEventPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface CalEventPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3