Liferay 6.1.2-ce-ga3

com.liferay.portlet.blogs.service.persistence
Class BlogsEntryPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<BlogsEntry>
      extended by com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<BlogsEntry>, BlogsEntryPersistence

public class BlogsEntryPersistenceImpl
extends BasePersistenceImpl<BlogsEntry>
implements BlogsEntryPersistence

The persistence implementation for the blogs entry service.

Caching information and settings can be found in portal.properties

See Also:
BlogsEntryPersistence, BlogsEntryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  BlogsEntryPersistence blogsEntryPersistence
           
protected  BlogsStatsUserPersistence blogsStatsUserPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_C_U
           
static FinderPath FINDER_PATH_COUNT_BY_C_U_S
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_UT
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_UT
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  ImagePersistence imagePersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  OrganizationPersistence organizationPersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserPersistence userPersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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
BlogsEntryPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the blogs entry persistence.
 void cacheResult(BlogsEntry blogsEntry)
          Caches the blogs entry in the entity cache if it is enabled.
 void cacheResult(List<BlogsEntry> blogsEntries)
          Caches the blogs entries in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(BlogsEntry blogsEntry)
           
 void clearCache()
          Clears the cache for all blogs entries.
 void clearCache(BlogsEntry blogsEntry)
          Clears the cache for the blogs entry.
 void clearCache(List<BlogsEntry> blogsEntries)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(BlogsEntry blogsEntry)
           
 int countAll()
          Returns the number of blogs entries.
 int countByC_LtD_S(long companyId, Date displayDate, int status)
          Returns the number of blogs entries where companyId = ? and displayDate < ? and status = ?.
 int countByC_LtD(long companyId, Date displayDate)
          Returns the number of blogs entries where companyId = ? and displayDate < ?.
 int countByC_S(long companyId, int status)
          Returns the number of blogs entries where companyId = ? and status = ?.
 int countByC_U_S(long companyId, long userId, int status)
          Returns the number of blogs entries where companyId = ? and userId = ? and status = ?.
 int countByC_U(long companyId, long userId)
          Returns the number of blogs entries where companyId = ? and userId = ?.
 int countByCompanyId(long companyId)
          Returns the number of blogs entries where companyId = ?.
 int countByG_LtD_S(long groupId, Date displayDate, int status)
          Returns the number of blogs entries where groupId = ? and displayDate < ? and status = ?.
 int countByG_LtD(long groupId, Date displayDate)
          Returns the number of blogs entries where groupId = ? and displayDate < ?.
 int countByG_S(long groupId, int status)
          Returns the number of blogs entries where groupId = ? and status = ?.
 int countByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 int countByG_U_LtD(long groupId, long userId, Date displayDate)
          Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ?.
 int countByG_U_S(long groupId, long userId, int status)
          Returns the number of blogs entries where groupId = ? and userId = ? and status = ?.
 int countByG_UT(long groupId, String urlTitle)
          Returns the number of blogs entries where groupId = ? and urlTitle = ?.
 int countByGroupId(long groupId)
          Returns the number of blogs entries where groupId = ?.
 int countByLtD_S(Date displayDate, int status)
          Returns the number of blogs entries where displayDate < ? and status = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of blogs entries where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of blogs entries where uuid = ?.
 BlogsEntry create(long entryId)
          Creates a new blogs entry with the primary key.
 void destroy()
           
 BlogsEntry fetchByC_LtD_First(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry fetchByC_LtD_Last(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry fetchByC_LtD_S_First(long companyId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByC_LtD_S_Last(long companyId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByC_S_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry fetchByC_S_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry fetchByC_U_First(long companyId, long userId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry fetchByC_U_Last(long companyId, long userId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry fetchByC_U_S_First(long companyId, long userId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.
 BlogsEntry fetchByC_U_S_Last(long companyId, long userId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.
 BlogsEntry fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ?.
 BlogsEntry fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ?.
 BlogsEntry fetchByG_LtD_First(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry fetchByG_LtD_Last(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry fetchByG_LtD_S_First(long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByG_LtD_S_Last(long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry fetchByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry fetchByG_U_LtD_First(long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry fetchByG_U_LtD_Last(long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry fetchByG_U_LtD_S_First(long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByG_U_LtD_S_Last(long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.
 BlogsEntry fetchByG_U_S_First(long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.
 BlogsEntry fetchByG_U_S_Last(long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.
 BlogsEntry fetchByG_UT(long groupId, String urlTitle)
          Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found.
 BlogsEntry fetchByG_UT(long groupId, String urlTitle, boolean retrieveFromCache)
          Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found, optionally using the finder cache.
 BlogsEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ?.
 BlogsEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ?.
 BlogsEntry fetchByLtD_S_First(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where displayDate < ? and status = ?.
 BlogsEntry fetchByLtD_S_Last(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where displayDate < ? and status = ?.
 BlogsEntry fetchByPrimaryKey(long entryId)
          Returns the blogs entry with the primary key or returns null if it could not be found.
 BlogsEntry fetchByPrimaryKey(Serializable primaryKey)
          Returns the blogs entry with the primary key or returns null if it could not be found.
 BlogsEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where uuid = ?.
 BlogsEntry fetchByUUID_G(String uuid, long groupId)
          Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found.
 BlogsEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 BlogsEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where uuid = ?.
 int filterCountByG_LtD_S(long groupId, Date displayDate, int status)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.
 int filterCountByG_LtD(long groupId, Date displayDate)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ?.
 int filterCountByG_S(long groupId, int status)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and status = ?.
 int filterCountByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.
 int filterCountByG_U_LtD(long groupId, long userId, Date displayDate)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.
 int filterCountByG_U_S(long groupId, long userId, int status)
          Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of blogs entries that the user has permission to view where groupId = ?.
 BlogsEntry[] filterFindByG_LtD_PrevAndNext(long entryId, long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ?.
 BlogsEntry[] filterFindByG_LtD_S_PrevAndNext(long entryId, long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status)
          Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate)
          Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ?.
 BlogsEntry[] filterFindByG_S_PrevAndNext(long entryId, long groupId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status)
          Returns all the blogs entries that the user has permission to view where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status = ?.
 BlogsEntry[] filterFindByG_U_LtD_PrevAndNext(long entryId, long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry[] filterFindByG_U_LtD_S_PrevAndNext(long entryId, long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD_S(long groupId, long userId, Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD_S(long groupId, long userId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate)
          Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry[] filterFindByG_U_S_PrevAndNext(long entryId, long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status)
          Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status = ?.
 BlogsEntry[] filterFindByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId)
          Returns all the blogs entries that the user has permission to view where groupId = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the blogs entries that the user has permission to view where groupId = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ?.
protected  BlogsEntry filterGetByG_LtD_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, Date displayDate, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByG_LtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByG_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByG_U_LtD_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, Date displayDate, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByG_U_LtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByG_U_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry filterGetByGroupId_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<BlogsEntry> findAll()
          Returns all the blogs entries.
 List<BlogsEntry> findAll(int start, int end)
          Returns a range of all the blogs entries.
 List<BlogsEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries.
 BlogsEntry findByC_LtD_First(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry findByC_LtD_Last(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry[] findByC_LtD_PrevAndNext(long entryId, long companyId, Date displayDate, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry findByC_LtD_S_First(long companyId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.
 BlogsEntry findByC_LtD_S_Last(long companyId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.
 BlogsEntry[] findByC_LtD_S_PrevAndNext(long entryId, long companyId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByC_LtD_S(long companyId, Date displayDate, int status)
          Returns all the blogs entries where companyId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByC_LtD_S(long companyId, Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByC_LtD_S(long companyId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByC_LtD(long companyId, Date displayDate)
          Returns all the blogs entries where companyId = ? and displayDate < ?.
 List<BlogsEntry> findByC_LtD(long companyId, Date displayDate, int start, int end)
          Returns a range of all the blogs entries where companyId = ? and displayDate < ?.
 List<BlogsEntry> findByC_LtD(long companyId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ?.
 BlogsEntry findByC_S_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry findByC_S_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry[] findByC_S_PrevAndNext(long entryId, long companyId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status = ?.
 List<BlogsEntry> findByC_S(long companyId, int status)
          Returns all the blogs entries where companyId = ? and status = ?.
 List<BlogsEntry> findByC_S(long companyId, int status, int start, int end)
          Returns a range of all the blogs entries where companyId = ? and status = ?.
 List<BlogsEntry> findByC_S(long companyId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ? and status = ?.
 BlogsEntry findByC_U_First(long companyId, long userId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry findByC_U_Last(long companyId, long userId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry[] findByC_U_PrevAndNext(long entryId, long companyId, long userId, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry findByC_U_S_First(long companyId, long userId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.
 BlogsEntry findByC_U_S_Last(long companyId, long userId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.
 BlogsEntry[] findByC_U_S_PrevAndNext(long entryId, long companyId, long userId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByC_U_S(long companyId, long userId, int status)
          Returns all the blogs entries where companyId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByC_U_S(long companyId, long userId, int status, int start, int end)
          Returns a range of all the blogs entries where companyId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByC_U_S(long companyId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByC_U(long companyId, long userId)
          Returns all the blogs entries where companyId = ? and userId = ?.
 List<BlogsEntry> findByC_U(long companyId, long userId, int start, int end)
          Returns a range of all the blogs entries where companyId = ? and userId = ?.
 List<BlogsEntry> findByC_U(long companyId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ? and userId = ?.
 BlogsEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where companyId = ?.
 BlogsEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where companyId = ?.
 BlogsEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId)
          Returns all the blogs entries where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the blogs entries where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where companyId = ?.
 BlogsEntry findByG_LtD_First(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry findByG_LtD_Last(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry[] findByG_LtD_PrevAndNext(long entryId, long groupId, Date displayDate, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry findByG_LtD_S_First(long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.
 BlogsEntry findByG_LtD_S_Last(long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.
 BlogsEntry[] findByG_LtD_S_PrevAndNext(long entryId, long groupId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_LtD_S(long groupId, Date displayDate, int status)
          Returns all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_LtD_S(long groupId, Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_LtD_S(long groupId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_LtD(long groupId, Date displayDate)
          Returns all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> findByG_LtD(long groupId, Date displayDate, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> findByG_LtD(long groupId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ?.
 BlogsEntry findByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry[] findByG_S_PrevAndNext(long entryId, long groupId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status = ?.
 List<BlogsEntry> findByG_S(long groupId, int status)
          Returns all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> findByG_S(long groupId, int status, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and status = ?.
 BlogsEntry findByG_U_LtD_First(long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry findByG_U_LtD_Last(long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry[] findByG_U_LtD_PrevAndNext(long entryId, long groupId, long userId, Date displayDate, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry findByG_U_LtD_S_First(long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.
 BlogsEntry findByG_U_LtD_S_Last(long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.
 BlogsEntry[] findByG_U_LtD_S_PrevAndNext(long entryId, long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_U_LtD_S(long groupId, long userId, Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_U_LtD_S(long groupId, long userId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_U_LtD(long groupId, long userId, Date displayDate)
          Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> findByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> findByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 BlogsEntry findByG_U_S_First(long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.
 BlogsEntry findByG_U_S_Last(long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.
 BlogsEntry[] findByG_U_S_PrevAndNext(long entryId, long groupId, long userId, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByG_U_S(long groupId, long userId, int status)
          Returns all the blogs entries where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByG_U_S(long groupId, long userId, int status, int start, int end)
          Returns a range of all the blogs entries where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?.
 BlogsEntry findByG_UT(long groupId, String urlTitle)
          Returns the blogs entry where groupId = ? and urlTitle = ? or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where groupId = ?.
 BlogsEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where groupId = ?.
 BlogsEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId)
          Returns all the blogs entries where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId, int start, int end)
          Returns a range of all the blogs entries where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where groupId = ?.
 BlogsEntry findByLtD_S_First(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where displayDate < ? and status = ?.
 BlogsEntry findByLtD_S_Last(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where displayDate < ? and status = ?.
 BlogsEntry[] findByLtD_S_PrevAndNext(long entryId, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where displayDate < ? and status = ?.
 List<BlogsEntry> findByLtD_S(Date displayDate, int status)
          Returns all the blogs entries where displayDate < ? and status = ?.
 List<BlogsEntry> findByLtD_S(Date displayDate, int status, int start, int end)
          Returns a range of all the blogs entries where displayDate < ? and status = ?.
 List<BlogsEntry> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where displayDate < ? and status = ?.
 BlogsEntry findByPrimaryKey(long entryId)
          Returns the blogs entry with the primary key or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByPrimaryKey(Serializable primaryKey)
          Returns the blogs entry with the primary key or throws a NoSuchModelException if it could not be found.
 BlogsEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first blogs entry in the ordered set where uuid = ?.
 BlogsEntry findByUUID_G(String uuid, long groupId)
          Returns the blogs entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last blogs entry in the ordered set where uuid = ?.
 BlogsEntry[] findByUuid_PrevAndNext(long entryId, String uuid, OrderByComparator orderByComparator)
          Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid)
          Returns all the blogs entries where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid, int start, int end)
          Returns a range of all the blogs entries where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the blogs entries where uuid = ?.
protected  BlogsEntry getByC_LtD_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, Date displayDate, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByC_LtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByC_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByC_U_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByC_U_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, long userId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByCompanyId_PrevAndNext(Session session, BlogsEntry blogsEntry, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_LtD_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, Date displayDate, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_LtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_U_LtD_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, Date displayDate, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_U_LtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByG_U_S_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, long userId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByGroupId_PrevAndNext(Session session, BlogsEntry blogsEntry, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByLtD_S_PrevAndNext(Session session, BlogsEntry blogsEntry, Date displayDate, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  BlogsEntry getByUuid_PrevAndNext(Session session, BlogsEntry blogsEntry, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 BlogsEntry remove(long entryId)
          Removes the blogs entry with the primary key from the database.
 BlogsEntry remove(Serializable primaryKey)
          Removes the blogs entry with the primary key from the database.
 void removeAll()
          Removes all the blogs entries from the database.
 void removeByC_LtD_S(long companyId, Date displayDate, int status)
          Removes all the blogs entries where companyId = ? and displayDate < ? and status = ? from the database.
 void removeByC_LtD(long companyId, Date displayDate)
          Removes all the blogs entries where companyId = ? and displayDate < ? from the database.
 void removeByC_S(long companyId, int status)
          Removes all the blogs entries where companyId = ? and status = ? from the database.
 void removeByC_U_S(long companyId, long userId, int status)
          Removes all the blogs entries where companyId = ? and userId = ? and status = ? from the database.
 void removeByC_U(long companyId, long userId)
          Removes all the blogs entries where companyId = ? and userId = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the blogs entries where companyId = ? from the database.
 void removeByG_LtD_S(long groupId, Date displayDate, int status)
          Removes all the blogs entries where groupId = ? and displayDate < ? and status = ? from the database.
 void removeByG_LtD(long groupId, Date displayDate)
          Removes all the blogs entries where groupId = ? and displayDate < ? from the database.
 void removeByG_S(long groupId, int status)
          Removes all the blogs entries where groupId = ? and status = ? from the database.
 void removeByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ? from the database.
 void removeByG_U_LtD(long groupId, long userId, Date displayDate)
          Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? from the database.
 void removeByG_U_S(long groupId, long userId, int status)
          Removes all the blogs entries where groupId = ? and userId = ? and status = ? from the database.
 BlogsEntry removeByG_UT(long groupId, String urlTitle)
          Removes the blogs entry where groupId = ? and urlTitle = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the blogs entries where groupId = ? from the database.
 void removeByLtD_S(Date displayDate, int status)
          Removes all the blogs entries where displayDate < ? and status = ? from the database.
 BlogsEntry removeByUUID_G(String uuid, long groupId)
          Removes the blogs entry where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the blogs entries where uuid = ? from the database.
protected  BlogsEntry removeImpl(BlogsEntry blogsEntry)
          Removes the model instance from the database.
protected  BlogsEntry toUnwrappedModel(BlogsEntry blogsEntry)
           
 BlogsEntry updateImpl(BlogsEntry blogsEntry, 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, getClassLoader, getDataSource, getDB, 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
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U

FINDER_PATH_COUNT_BY_C_U

public static final FinderPath FINDER_PATH_COUNT_BY_C_U

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD

FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S

FINDER_PATH_COUNT_BY_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_S

FINDER_PATH_FETCH_BY_G_UT

public static final FinderPath FINDER_PATH_FETCH_BY_G_UT

FINDER_PATH_COUNT_BY_G_UT

public static final FinderPath FINDER_PATH_COUNT_BY_G_UT

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_U_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_U_S

FINDER_PATH_COUNT_BY_C_U_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_U_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_LTD_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_LTD_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_S

FINDER_PATH_COUNT_BY_G_U_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTD_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTD_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_LTD_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_LTD_S

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

blogsEntryPersistence

@BeanReference(type=BlogsEntryPersistence.class)
protected BlogsEntryPersistence blogsEntryPersistence

blogsStatsUserPersistence

@BeanReference(type=BlogsStatsUserPersistence.class)
protected BlogsStatsUserPersistence blogsStatsUserPersistence

companyPersistence

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

groupPersistence

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

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

organizationPersistence

@BeanReference(type=OrganizationPersistence.class)
protected OrganizationPersistence organizationPersistence

portletPreferencesPersistence

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

resourcePersistence

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

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userPersistence

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

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryPersistence

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

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

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

expandoValuePersistence

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

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

socialActivityPersistence

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

BlogsEntryPersistenceImpl

public BlogsEntryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(BlogsEntry blogsEntry)
Caches the blogs entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface BlogsEntryPersistence
Parameters:
blogsEntry - the blogs entry

cacheResult

public void cacheResult(List<BlogsEntry> blogsEntries)
Caches the blogs entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface BlogsEntryPersistence
Parameters:
blogsEntries - the blogs entries

clearCache

public void clearCache()
Clears the cache for all blogs entries.

The EntityCache and FinderCache are both cleared by this method.

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

clearCache

public void clearCache(BlogsEntry blogsEntry)
Clears the cache for the blogs entry.

The EntityCache and FinderCache are both cleared by this method.

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

clearCache

public void clearCache(List<BlogsEntry> blogsEntries)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<BlogsEntry>
Overrides:
clearCache in class BasePersistenceImpl<BlogsEntry>
Parameters:
blogsEntries - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(BlogsEntry blogsEntry)

clearUniqueFindersCache

protected void clearUniqueFindersCache(BlogsEntry blogsEntry)

create

public BlogsEntry create(long entryId)
Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.

Specified by:
create in interface BlogsEntryPersistence
Parameters:
entryId - the primary key for the new blogs entry
Returns:
the new blogs entry

remove

public BlogsEntry remove(long entryId)
                  throws NoSuchEntryException,
                         SystemException
Removes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the blogs entry
Returns:
the blogs entry that was removed
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

remove

public BlogsEntry remove(Serializable primaryKey)
                  throws NoSuchEntryException,
                         SystemException
Removes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<BlogsEntry>
Overrides:
remove in class BasePersistenceImpl<BlogsEntry>
Parameters:
primaryKey - the primary key of the blogs entry
Returns:
the blogs entry that was removed
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected BlogsEntry removeImpl(BlogsEntry blogsEntry)
                         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<BlogsEntry>
Parameters:
blogsEntry - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public BlogsEntry updateImpl(BlogsEntry blogsEntry,
                             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 BlogsEntryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<BlogsEntry>
Parameters:
blogsEntry - 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 BlogsEntry toUnwrappedModel(BlogsEntry blogsEntry)

findByPrimaryKey

public BlogsEntry findByPrimaryKey(Serializable primaryKey)
                            throws NoSuchModelException,
                                   SystemException
Returns the blogs entry with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<BlogsEntry>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<BlogsEntry>
Parameters:
primaryKey - the primary key of the blogs entry
Returns:
the blogs entry
Throws:
NoSuchModelException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public BlogsEntry findByPrimaryKey(long entryId)
                            throws NoSuchEntryException,
                                   SystemException
Returns the blogs entry with the primary key or throws a NoSuchEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the blogs entry
Returns:
the blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public BlogsEntry fetchByPrimaryKey(Serializable primaryKey)
                             throws SystemException
Returns the blogs entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<BlogsEntry>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<BlogsEntry>
Parameters:
primaryKey - the primary key of the blogs entry
Returns:
the blogs entry, or null if a blogs entry with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public BlogsEntry fetchByPrimaryKey(long entryId)
                             throws SystemException
Returns the blogs entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the blogs entry
Returns:
the blogs entry, or null if a blogs entry with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public List<BlogsEntry> findByUuid(String uuid)
                            throws SystemException
Returns all the blogs entries where uuid = ?.

Specified by:
findByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByUuid

public List<BlogsEntry> findByUuid(String uuid,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the blogs entries where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByUuid

public List<BlogsEntry> findByUuid(String uuid,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the blogs entries where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByUuid_First

public BlogsEntry findByUuid_First(String uuid,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the first blogs entry in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public BlogsEntry fetchByUuid_First(String uuid,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the first blogs entry in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public BlogsEntry findByUuid_Last(String uuid,
                                  OrderByComparator orderByComparator)
                           throws NoSuchEntryException,
                                  SystemException
Returns the last blogs entry in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public BlogsEntry fetchByUuid_Last(String uuid,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the last blogs entry in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public BlogsEntry[] findByUuid_PrevAndNext(long entryId,
                                           String uuid,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchEntryException,
                                           SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected BlogsEntry getByUuid_PrevAndNext(Session session,
                                           BlogsEntry blogsEntry,
                                           String uuid,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findByUUID_G

public BlogsEntry findByUUID_G(String uuid,
                               long groupId)
                        throws NoSuchEntryException,
                               SystemException
Returns the blogs entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.

Specified by:
findByUUID_G in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public BlogsEntry fetchByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public BlogsEntry fetchByUUID_G(String uuid,
                                long groupId,
                                boolean retrieveFromCache)
                         throws SystemException
Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<BlogsEntry> findByGroupId(long groupId)
                               throws SystemException
Returns all the blogs entries where groupId = ?.

Specified by:
findByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<BlogsEntry> findByGroupId(long groupId,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the blogs entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<BlogsEntry> findByGroupId(long groupId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the blogs entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public BlogsEntry findByGroupId_First(long groupId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchEntryException,
                                      SystemException
Returns the first blogs entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public BlogsEntry fetchByGroupId_First(long groupId,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the first blogs entry in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public BlogsEntry findByGroupId_Last(long groupId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEntryException,
                                     SystemException
Returns the last blogs entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public BlogsEntry fetchByGroupId_Last(long groupId,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the last blogs entry in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public BlogsEntry[] findByGroupId_PrevAndNext(long entryId,
                                              long groupId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEntryException,
                                              SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected BlogsEntry getByGroupId_PrevAndNext(Session session,
                                              BlogsEntry blogsEntry,
                                              long groupId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByGroupId

public List<BlogsEntry> filterFindByGroupId(long groupId)
                                     throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<BlogsEntry> filterFindByGroupId(long groupId,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<BlogsEntry> filterFindByGroupId(long groupId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public BlogsEntry[] filterFindByGroupId_PrevAndNext(long entryId,
                                                    long groupId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchEntryException,
                                                    SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected BlogsEntry filterGetByGroupId_PrevAndNext(Session session,
                                                    BlogsEntry blogsEntry,
                                                    long groupId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByCompanyId

public List<BlogsEntry> findByCompanyId(long companyId)
                                 throws SystemException
Returns all the blogs entries where companyId = ?.

Specified by:
findByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<BlogsEntry> findByCompanyId(long companyId,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the blogs entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<BlogsEntry> findByCompanyId(long companyId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the blogs entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public BlogsEntry findByCompanyId_First(long companyId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEntryException,
                                        SystemException
Returns the first blogs entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

public BlogsEntry fetchByCompanyId_First(long companyId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first blogs entry in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public BlogsEntry findByCompanyId_Last(long companyId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchEntryException,
                                       SystemException
Returns the last blogs entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

public BlogsEntry fetchByCompanyId_Last(long companyId,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last blogs entry in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public BlogsEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEntryException,
                                                SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected BlogsEntry getByCompanyId_PrevAndNext(Session session,
                                                BlogsEntry blogsEntry,
                                                long companyId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByC_U

public List<BlogsEntry> findByC_U(long companyId,
                                  long userId)
                           throws SystemException
Returns all the blogs entries where companyId = ? and userId = ?.

Specified by:
findByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U

public List<BlogsEntry> findByC_U(long companyId,
                                  long userId,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the blogs entries where companyId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U

public List<BlogsEntry> findByC_U(long companyId,
                                  long userId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the blogs entries where companyId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U_First

public BlogsEntry findByC_U_First(long companyId,
                                  long userId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchEntryException,
                                  SystemException
Returns the first blogs entry in the ordered set where companyId = ? and userId = ?.

Specified by:
findByC_U_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_U_First

public BlogsEntry fetchByC_U_First(long companyId,
                                   long userId,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the first blogs entry in the ordered set where companyId = ? and userId = ?.

Specified by:
fetchByC_U_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_U_Last

public BlogsEntry findByC_U_Last(long companyId,
                                 long userId,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Returns the last blogs entry in the ordered set where companyId = ? and userId = ?.

Specified by:
findByC_U_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_U_Last

public BlogsEntry fetchByC_U_Last(long companyId,
                                  long userId,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the last blogs entry in the ordered set where companyId = ? and userId = ?.

Specified by:
fetchByC_U_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_U_PrevAndNext

public BlogsEntry[] findByC_U_PrevAndNext(long entryId,
                                          long companyId,
                                          long userId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchEntryException,
                                          SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ?.

Specified by:
findByC_U_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByC_U_PrevAndNext

protected BlogsEntry getByC_U_PrevAndNext(Session session,
                                          BlogsEntry blogsEntry,
                                          long companyId,
                                          long userId,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByC_LtD

public List<BlogsEntry> findByC_LtD(long companyId,
                                    Date displayDate)
                             throws SystemException
Returns all the blogs entries where companyId = ? and displayDate < ?.

Specified by:
findByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD

public List<BlogsEntry> findByC_LtD(long companyId,
                                    Date displayDate,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the blogs entries where companyId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD

public List<BlogsEntry> findByC_LtD(long companyId,
                                    Date displayDate,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD_First

public BlogsEntry findByC_LtD_First(long companyId,
                                    Date displayDate,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEntryException,
                                    SystemException
Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?.

Specified by:
findByC_LtD_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_LtD_First

public BlogsEntry fetchByC_LtD_First(long companyId,
                                     Date displayDate,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?.

Specified by:
fetchByC_LtD_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_LtD_Last

public BlogsEntry findByC_LtD_Last(long companyId,
                                   Date displayDate,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?.

Specified by:
findByC_LtD_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_LtD_Last

public BlogsEntry fetchByC_LtD_Last(long companyId,
                                    Date displayDate,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?.

Specified by:
fetchByC_LtD_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_LtD_PrevAndNext

public BlogsEntry[] findByC_LtD_PrevAndNext(long entryId,
                                            long companyId,
                                            Date displayDate,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEntryException,
                                            SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ?.

Specified by:
findByC_LtD_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByC_LtD_PrevAndNext

protected BlogsEntry getByC_LtD_PrevAndNext(Session session,
                                            BlogsEntry blogsEntry,
                                            long companyId,
                                            Date displayDate,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByC_S

public List<BlogsEntry> findByC_S(long companyId,
                                  int status)
                           throws SystemException
Returns all the blogs entries where companyId = ? and status = ?.

Specified by:
findByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_S

public List<BlogsEntry> findByC_S(long companyId,
                                  int status,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the blogs entries where companyId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_S

public List<BlogsEntry> findByC_S(long companyId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the blogs entries where companyId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_S_First

public BlogsEntry findByC_S_First(long companyId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchEntryException,
                                  SystemException
Returns the first blogs entry in the ordered set where companyId = ? and status = ?.

Specified by:
findByC_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_S_First

public BlogsEntry fetchByC_S_First(long companyId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the first blogs entry in the ordered set where companyId = ? and status = ?.

Specified by:
fetchByC_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_S_Last

public BlogsEntry findByC_S_Last(long companyId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Returns the last blogs entry in the ordered set where companyId = ? and status = ?.

Specified by:
findByC_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_S_Last

public BlogsEntry fetchByC_S_Last(long companyId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the last blogs entry in the ordered set where companyId = ? and status = ?.

Specified by:
fetchByC_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_S_PrevAndNext

public BlogsEntry[] findByC_S_PrevAndNext(long entryId,
                                          long companyId,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchEntryException,
                                          SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status = ?.

Specified by:
findByC_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByC_S_PrevAndNext

protected BlogsEntry getByC_S_PrevAndNext(Session session,
                                          BlogsEntry blogsEntry,
                                          long companyId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByG_UT

public BlogsEntry findByG_UT(long groupId,
                             String urlTitle)
                      throws NoSuchEntryException,
                             SystemException
Returns the blogs entry where groupId = ? and urlTitle = ? or throws a NoSuchEntryException if it could not be found.

Specified by:
findByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_UT

public BlogsEntry fetchByG_UT(long groupId,
                              String urlTitle)
                       throws SystemException
Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_UT

public BlogsEntry fetchByG_UT(long groupId,
                              String urlTitle,
                              boolean retrieveFromCache)
                       throws SystemException
Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
urlTitle - the url title
retrieveFromCache - whether to use the finder cache
Returns:
the matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_LtD

public List<BlogsEntry> findByG_LtD(long groupId,
                                    Date displayDate)
                             throws SystemException
Returns all the blogs entries where groupId = ? and displayDate < ?.

Specified by:
findByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD

public List<BlogsEntry> findByG_LtD(long groupId,
                                    Date displayDate,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the blogs entries where groupId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD

public List<BlogsEntry> findByG_LtD(long groupId,
                                    Date displayDate,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD_First

public BlogsEntry findByG_LtD_First(long groupId,
                                    Date displayDate,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEntryException,
                                    SystemException
Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?.

Specified by:
findByG_LtD_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_LtD_First

public BlogsEntry fetchByG_LtD_First(long groupId,
                                     Date displayDate,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?.

Specified by:
fetchByG_LtD_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_LtD_Last

public BlogsEntry findByG_LtD_Last(long groupId,
                                   Date displayDate,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?.

Specified by:
findByG_LtD_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_LtD_Last

public BlogsEntry fetchByG_LtD_Last(long groupId,
                                    Date displayDate,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?.

Specified by:
fetchByG_LtD_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_LtD_PrevAndNext

public BlogsEntry[] findByG_LtD_PrevAndNext(long entryId,
                                            long groupId,
                                            Date displayDate,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEntryException,
                                            SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ?.

Specified by:
findByG_LtD_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_LtD_PrevAndNext

protected BlogsEntry getByG_LtD_PrevAndNext(Session session,
                                            BlogsEntry blogsEntry,
                                            long groupId,
                                            Date displayDate,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_LtD

public List<BlogsEntry> filterFindByG_LtD(long groupId,
                                          Date displayDate)
                                   throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?.

Specified by:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD

public List<BlogsEntry> filterFindByG_LtD(long groupId,
                                          Date displayDate,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD

public List<BlogsEntry> filterFindByG_LtD(long groupId,
                                          Date displayDate,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD_PrevAndNext

public BlogsEntry[] filterFindByG_LtD_PrevAndNext(long entryId,
                                                  long groupId,
                                                  Date displayDate,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchEntryException,
                                                  SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ?.

Specified by:
filterFindByG_LtD_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_LtD_PrevAndNext

protected BlogsEntry filterGetByG_LtD_PrevAndNext(Session session,
                                                  BlogsEntry blogsEntry,
                                                  long groupId,
                                                  Date displayDate,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

findByG_S

public List<BlogsEntry> findByG_S(long groupId,
                                  int status)
                           throws SystemException
Returns all the blogs entries where groupId = ? and status = ?.

Specified by:
findByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_S

public List<BlogsEntry> findByG_S(long groupId,
                                  int status,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the blogs entries where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_S

public List<BlogsEntry> findByG_S(long groupId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_S_First

public BlogsEntry findByG_S_First(long groupId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchEntryException,
                                  SystemException
Returns the first blogs entry in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_S_First

public BlogsEntry fetchByG_S_First(long groupId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and status = ?.

Specified by:
fetchByG_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_Last

public BlogsEntry findByG_S_Last(long groupId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Returns the last blogs entry in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_S_Last

public BlogsEntry fetchByG_S_Last(long groupId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and status = ?.

Specified by:
fetchByG_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_PrevAndNext

public BlogsEntry[] findByG_S_PrevAndNext(long entryId,
                                          long groupId,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchEntryException,
                                          SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_S_PrevAndNext

protected BlogsEntry getByG_S_PrevAndNext(Session session,
                                          BlogsEntry blogsEntry,
                                          long groupId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

filterFindByG_S

public List<BlogsEntry> filterFindByG_S(long groupId,
                                        int status)
                                 throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public List<BlogsEntry> filterFindByG_S(long groupId,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public List<BlogsEntry> filterFindByG_S(long groupId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S_PrevAndNext

public BlogsEntry[] filterFindByG_S_PrevAndNext(long entryId,
                                                long groupId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEntryException,
                                                SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterFindByG_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_S_PrevAndNext

protected BlogsEntry filterGetByG_S_PrevAndNext(Session session,
                                                BlogsEntry blogsEntry,
                                                long groupId,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByLtD_S

public List<BlogsEntry> findByLtD_S(Date displayDate,
                                    int status)
                             throws SystemException
Returns all the blogs entries where displayDate < ? and status = ?.

Specified by:
findByLtD_S in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByLtD_S

public List<BlogsEntry> findByLtD_S(Date displayDate,
                                    int status,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the blogs entries where displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLtD_S in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByLtD_S

public List<BlogsEntry> findByLtD_S(Date displayDate,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the blogs entries where displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLtD_S in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByLtD_S_First

public BlogsEntry findByLtD_S_First(Date displayDate,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEntryException,
                                    SystemException
Returns the first blogs entry in the ordered set where displayDate < ? and status = ?.

Specified by:
findByLtD_S_First in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByLtD_S_First

public BlogsEntry fetchByLtD_S_First(Date displayDate,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first blogs entry in the ordered set where displayDate < ? and status = ?.

Specified by:
fetchByLtD_S_First in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByLtD_S_Last

public BlogsEntry findByLtD_S_Last(Date displayDate,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the last blogs entry in the ordered set where displayDate < ? and status = ?.

Specified by:
findByLtD_S_Last in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByLtD_S_Last

public BlogsEntry fetchByLtD_S_Last(Date displayDate,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last blogs entry in the ordered set where displayDate < ? and status = ?.

Specified by:
fetchByLtD_S_Last in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByLtD_S_PrevAndNext

public BlogsEntry[] findByLtD_S_PrevAndNext(long entryId,
                                            Date displayDate,
                                            int status,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEntryException,
                                            SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where displayDate < ? and status = ?.

Specified by:
findByLtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByLtD_S_PrevAndNext

protected BlogsEntry getByLtD_S_PrevAndNext(Session session,
                                            BlogsEntry blogsEntry,
                                            Date displayDate,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByC_U_S

public List<BlogsEntry> findByC_U_S(long companyId,
                                    long userId,
                                    int status)
                             throws SystemException
Returns all the blogs entries where companyId = ? and userId = ? and status = ?.

Specified by:
findByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U_S

public List<BlogsEntry> findByC_U_S(long companyId,
                                    long userId,
                                    int status,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the blogs entries where companyId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U_S

public List<BlogsEntry> findByC_U_S(long companyId,
                                    long userId,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_U_S_First

public BlogsEntry findByC_U_S_First(long companyId,
                                    long userId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEntryException,
                                    SystemException
Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.

Specified by:
findByC_U_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_U_S_First

public BlogsEntry fetchByC_U_S_First(long companyId,
                                     long userId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.

Specified by:
fetchByC_U_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_U_S_Last

public BlogsEntry findByC_U_S_Last(long companyId,
                                   long userId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.

Specified by:
findByC_U_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_U_S_Last

public BlogsEntry fetchByC_U_S_Last(long companyId,
                                    long userId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.

Specified by:
fetchByC_U_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_U_S_PrevAndNext

public BlogsEntry[] findByC_U_S_PrevAndNext(long entryId,
                                            long companyId,
                                            long userId,
                                            int status,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEntryException,
                                            SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status = ?.

Specified by:
findByC_U_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByC_U_S_PrevAndNext

protected BlogsEntry getByC_U_S_PrevAndNext(Session session,
                                            BlogsEntry blogsEntry,
                                            long companyId,
                                            long userId,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByC_LtD_S

public List<BlogsEntry> findByC_LtD_S(long companyId,
                                      Date displayDate,
                                      int status)
                               throws SystemException
Returns all the blogs entries where companyId = ? and displayDate < ? and status = ?.

Specified by:
findByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD_S

public List<BlogsEntry> findByC_LtD_S(long companyId,
                                      Date displayDate,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD_S

public List<BlogsEntry> findByC_LtD_S(long companyId,
                                      Date displayDate,
                                      int status,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByC_LtD_S_First

public BlogsEntry findByC_LtD_S_First(long companyId,
                                      Date displayDate,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws NoSuchEntryException,
                                      SystemException
Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.

Specified by:
findByC_LtD_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_LtD_S_First

public BlogsEntry fetchByC_LtD_S_First(long companyId,
                                       Date displayDate,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.

Specified by:
fetchByC_LtD_S_First in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_LtD_S_Last

public BlogsEntry findByC_LtD_S_Last(long companyId,
                                     Date displayDate,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEntryException,
                                     SystemException
Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.

Specified by:
findByC_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByC_LtD_S_Last

public BlogsEntry fetchByC_LtD_S_Last(long companyId,
                                      Date displayDate,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.

Specified by:
fetchByC_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByC_LtD_S_PrevAndNext

public BlogsEntry[] findByC_LtD_S_PrevAndNext(long entryId,
                                              long companyId,
                                              Date displayDate,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEntryException,
                                              SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?.

Specified by:
findByC_LtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByC_LtD_S_PrevAndNext

protected BlogsEntry getByC_LtD_S_PrevAndNext(Session session,
                                              BlogsEntry blogsEntry,
                                              long companyId,
                                              Date displayDate,
                                              int status,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByG_U_LtD

public List<BlogsEntry> findByG_U_LtD(long groupId,
                                      long userId,
                                      Date displayDate)
                               throws SystemException
Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
findByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD

public List<BlogsEntry> findByG_U_LtD(long groupId,
                                      long userId,
                                      Date displayDate,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD

public List<BlogsEntry> findByG_U_LtD(long groupId,
                                      long userId,
                                      Date displayDate,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_First

public BlogsEntry findByG_U_LtD_First(long groupId,
                                      long userId,
                                      Date displayDate,
                                      OrderByComparator orderByComparator)
                               throws NoSuchEntryException,
                                      SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.

Specified by:
findByG_U_LtD_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_LtD_First

public BlogsEntry fetchByG_U_LtD_First(long groupId,
                                       long userId,
                                       Date displayDate,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.

Specified by:
fetchByG_U_LtD_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_Last

public BlogsEntry findByG_U_LtD_Last(long groupId,
                                     long userId,
                                     Date displayDate,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEntryException,
                                     SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.

Specified by:
findByG_U_LtD_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_LtD_Last

public BlogsEntry fetchByG_U_LtD_Last(long groupId,
                                      long userId,
                                      Date displayDate,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.

Specified by:
fetchByG_U_LtD_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_PrevAndNext

public BlogsEntry[] findByG_U_LtD_PrevAndNext(long entryId,
                                              long groupId,
                                              long userId,
                                              Date displayDate,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEntryException,
                                              SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?.

Specified by:
findByG_U_LtD_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_LtD_PrevAndNext

protected BlogsEntry getByG_U_LtD_PrevAndNext(Session session,
                                              BlogsEntry blogsEntry,
                                              long groupId,
                                              long userId,
                                              Date displayDate,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_U_LtD

public List<BlogsEntry> filterFindByG_U_LtD(long groupId,
                                            long userId,
                                            Date displayDate)
                                     throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.

Specified by:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD

public List<BlogsEntry> filterFindByG_U_LtD(long groupId,
                                            long userId,
                                            Date displayDate,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD

public List<BlogsEntry> filterFindByG_U_LtD(long groupId,
                                            long userId,
                                            Date displayDate,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD_PrevAndNext

public BlogsEntry[] filterFindByG_U_LtD_PrevAndNext(long entryId,
                                                    long groupId,
                                                    long userId,
                                                    Date displayDate,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchEntryException,
                                                    SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.

Specified by:
filterFindByG_U_LtD_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
displayDate - the display date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_LtD_PrevAndNext

protected BlogsEntry filterGetByG_U_LtD_PrevAndNext(Session session,
                                                    BlogsEntry blogsEntry,
                                                    long groupId,
                                                    long userId,
                                                    Date displayDate,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_U_S

public List<BlogsEntry> findByG_U_S(long groupId,
                                    long userId,
                                    int status)
                             throws SystemException
Returns all the blogs entries where groupId = ? and userId = ? and status = ?.

Specified by:
findByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_S

public List<BlogsEntry> findByG_U_S(long groupId,
                                    long userId,
                                    int status,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the blogs entries where groupId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_S

public List<BlogsEntry> findByG_U_S(long groupId,
                                    long userId,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_S_First

public BlogsEntry findByG_U_S_First(long groupId,
                                    long userId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchEntryException,
                                    SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.

Specified by:
findByG_U_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_S_First

public BlogsEntry fetchByG_U_S_First(long groupId,
                                     long userId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.

Specified by:
fetchByG_U_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_S_Last

public BlogsEntry findByG_U_S_Last(long groupId,
                                   long userId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.

Specified by:
findByG_U_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_S_Last

public BlogsEntry fetchByG_U_S_Last(long groupId,
                                    long userId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.

Specified by:
fetchByG_U_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_S_PrevAndNext

public BlogsEntry[] findByG_U_S_PrevAndNext(long entryId,
                                            long groupId,
                                            long userId,
                                            int status,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEntryException,
                                            SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status = ?.

Specified by:
findByG_U_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_S_PrevAndNext

protected BlogsEntry getByG_U_S_PrevAndNext(Session session,
                                            BlogsEntry blogsEntry,
                                            long groupId,
                                            long userId,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_U_S

public List<BlogsEntry> filterFindByG_U_S(long groupId,
                                          long userId,
                                          int status)
                                   throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.

Specified by:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_S

public List<BlogsEntry> filterFindByG_U_S(long groupId,
                                          long userId,
                                          int status,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_S

public List<BlogsEntry> filterFindByG_U_S(long groupId,
                                          long userId,
                                          int status,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_S_PrevAndNext

public BlogsEntry[] filterFindByG_U_S_PrevAndNext(long entryId,
                                                  long groupId,
                                                  long userId,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchEntryException,
                                                  SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.

Specified by:
filterFindByG_U_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_S_PrevAndNext

protected BlogsEntry filterGetByG_U_S_PrevAndNext(Session session,
                                                  BlogsEntry blogsEntry,
                                                  long groupId,
                                                  long userId,
                                                  int status,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

findByG_LtD_S

public List<BlogsEntry> findByG_LtD_S(long groupId,
                                      Date displayDate,
                                      int status)
                               throws SystemException
Returns all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Specified by:
findByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD_S

public List<BlogsEntry> findByG_LtD_S(long groupId,
                                      Date displayDate,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD_S

public List<BlogsEntry> findByG_LtD_S(long groupId,
                                      Date displayDate,
                                      int status,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_LtD_S_First

public BlogsEntry findByG_LtD_S_First(long groupId,
                                      Date displayDate,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws NoSuchEntryException,
                                      SystemException
Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.

Specified by:
findByG_LtD_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_LtD_S_First

public BlogsEntry fetchByG_LtD_S_First(long groupId,
                                       Date displayDate,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.

Specified by:
fetchByG_LtD_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_LtD_S_Last

public BlogsEntry findByG_LtD_S_Last(long groupId,
                                     Date displayDate,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEntryException,
                                     SystemException
Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.

Specified by:
findByG_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_LtD_S_Last

public BlogsEntry fetchByG_LtD_S_Last(long groupId,
                                      Date displayDate,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.

Specified by:
fetchByG_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_LtD_S_PrevAndNext

public BlogsEntry[] findByG_LtD_S_PrevAndNext(long entryId,
                                              long groupId,
                                              Date displayDate,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEntryException,
                                              SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?.

Specified by:
findByG_LtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_LtD_S_PrevAndNext

protected BlogsEntry getByG_LtD_S_PrevAndNext(Session session,
                                              BlogsEntry blogsEntry,
                                              long groupId,
                                              Date displayDate,
                                              int status,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_LtD_S

public List<BlogsEntry> filterFindByG_LtD_S(long groupId,
                                            Date displayDate,
                                            int status)
                                     throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD_S

public List<BlogsEntry> filterFindByG_LtD_S(long groupId,
                                            Date displayDate,
                                            int status,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD_S

public List<BlogsEntry> filterFindByG_LtD_S(long groupId,
                                            Date displayDate,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LtD_S_PrevAndNext

public BlogsEntry[] filterFindByG_LtD_S_PrevAndNext(long entryId,
                                                    long groupId,
                                                    Date displayDate,
                                                    int status,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchEntryException,
                                                    SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_LtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_LtD_S_PrevAndNext

protected BlogsEntry filterGetByG_LtD_S_PrevAndNext(Session session,
                                                    BlogsEntry blogsEntry,
                                                    long groupId,
                                                    Date displayDate,
                                                    int status,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_U_LtD_S

public List<BlogsEntry> findByG_U_LtD_S(long groupId,
                                        long userId,
                                        Date displayDate,
                                        int status)
                                 throws SystemException
Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
findByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
Returns:
the matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_S

public List<BlogsEntry> findByG_U_LtD_S(long groupId,
                                        long userId,
                                        Date displayDate,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_S

public List<BlogsEntry> findByG_U_LtD_S(long groupId,
                                        long userId,
                                        Date displayDate,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_S_First

public BlogsEntry findByG_U_LtD_S_First(long groupId,
                                        long userId,
                                        Date displayDate,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEntryException,
                                        SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
findByG_U_LtD_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_LtD_S_First

public BlogsEntry fetchByG_U_LtD_S_First(long groupId,
                                         long userId,
                                         Date displayDate,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
fetchByG_U_LtD_S_First in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_S_Last

public BlogsEntry findByG_U_LtD_S_Last(long groupId,
                                       long userId,
                                       Date displayDate,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchEntryException,
                                       SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
findByG_U_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

fetchByG_U_LtD_S_Last

public BlogsEntry fetchByG_U_LtD_S_Last(long groupId,
                                        long userId,
                                        Date displayDate,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
fetchByG_U_LtD_S_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching blogs entry, or null if a matching blogs entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_LtD_S_PrevAndNext

public BlogsEntry[] findByG_U_LtD_S_PrevAndNext(long entryId,
                                                long groupId,
                                                long userId,
                                                Date displayDate,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEntryException,
                                                SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
findByG_U_LtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_LtD_S_PrevAndNext

protected BlogsEntry getByG_U_LtD_S_PrevAndNext(Session session,
                                                BlogsEntry blogsEntry,
                                                long groupId,
                                                long userId,
                                                Date displayDate,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_U_LtD_S

public List<BlogsEntry> filterFindByG_U_LtD_S(long groupId,
                                              long userId,
                                              Date displayDate,
                                              int status)
                                       throws SystemException
Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
Returns:
the matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD_S

public List<BlogsEntry> filterFindByG_U_LtD_S(long groupId,
                                              long userId,
                                              Date displayDate,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD_S

public List<BlogsEntry> filterFindByG_U_LtD_S(long groupId,
                                              long userId,
                                              Date displayDate,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_LtD_S_PrevAndNext

public BlogsEntry[] filterFindByG_U_LtD_S_PrevAndNext(long entryId,
                                                      long groupId,
                                                      long userId,
                                                      Date displayDate,
                                                      int status,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchEntryException,
                                                      SystemException
Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_U_LtD_S_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next blogs entry
Throws:
NoSuchEntryException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_LtD_S_PrevAndNext

protected BlogsEntry filterGetByG_U_LtD_S_PrevAndNext(Session session,
                                                      BlogsEntry blogsEntry,
                                                      long groupId,
                                                      long userId,
                                                      Date displayDate,
                                                      int status,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findAll

public List<BlogsEntry> findAll()
                         throws SystemException
Returns all the blogs entries.

Specified by:
findAll in interface BlogsEntryPersistence
Returns:
the blogs entries
Throws:
SystemException - if a system exception occurred

findAll

public List<BlogsEntry> findAll(int start,
                                int end)
                         throws SystemException
Returns a range of all the blogs entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface BlogsEntryPersistence
Parameters:
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of blogs entries
Throws:
SystemException - if a system exception occurred

findAll

public List<BlogsEntry> findAll(int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the blogs entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface BlogsEntryPersistence
Parameters:
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of blogs entries
Throws:
SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the blogs entries where uuid = ? from the database.

Specified by:
removeByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public BlogsEntry removeByUUID_G(String uuid,
                                 long groupId)
                          throws NoSuchEntryException,
                                 SystemException
Removes the blogs entry where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the blogs entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchEntryException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the blogs entries where groupId = ? from the database.

Specified by:
removeByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the blogs entries where companyId = ? from the database.

Specified by:
removeByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

removeByC_U

public void removeByC_U(long companyId,
                        long userId)
                 throws SystemException
Removes all the blogs entries where companyId = ? and userId = ? from the database.

Specified by:
removeByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
Throws:
SystemException - if a system exception occurred

removeByC_LtD

public void removeByC_LtD(long companyId,
                          Date displayDate)
                   throws SystemException
Removes all the blogs entries where companyId = ? and displayDate < ? from the database.

Specified by:
removeByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
Throws:
SystemException - if a system exception occurred

removeByC_S

public void removeByC_S(long companyId,
                        int status)
                 throws SystemException
Removes all the blogs entries where companyId = ? and status = ? from the database.

Specified by:
removeByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
Throws:
SystemException - if a system exception occurred

removeByG_UT

public BlogsEntry removeByG_UT(long groupId,
                               String urlTitle)
                        throws NoSuchEntryException,
                               SystemException
Removes the blogs entry where groupId = ? and urlTitle = ? from the database.

Specified by:
removeByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the blogs entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchEntryException

removeByG_LtD

public void removeByG_LtD(long groupId,
                          Date displayDate)
                   throws SystemException
Removes all the blogs entries where groupId = ? and displayDate < ? from the database.

Specified by:
removeByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
Throws:
SystemException - if a system exception occurred

removeByG_S

public void removeByG_S(long groupId,
                        int status)
                 throws SystemException
Removes all the blogs entries where groupId = ? and status = ? from the database.

Specified by:
removeByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
Throws:
SystemException - if a system exception occurred

removeByLtD_S

public void removeByLtD_S(Date displayDate,
                          int status)
                   throws SystemException
Removes all the blogs entries where displayDate < ? and status = ? from the database.

Specified by:
removeByLtD_S in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
Throws:
SystemException - if a system exception occurred

removeByC_U_S

public void removeByC_U_S(long companyId,
                          long userId,
                          int status)
                   throws SystemException
Removes all the blogs entries where companyId = ? and userId = ? and status = ? from the database.

Specified by:
removeByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
Throws:
SystemException - if a system exception occurred

removeByC_LtD_S

public void removeByC_LtD_S(long companyId,
                            Date displayDate,
                            int status)
                     throws SystemException
Removes all the blogs entries where companyId = ? and displayDate < ? and status = ? from the database.

Specified by:
removeByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
Throws:
SystemException - if a system exception occurred

removeByG_U_LtD

public void removeByG_U_LtD(long groupId,
                            long userId,
                            Date displayDate)
                     throws SystemException
Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? from the database.

Specified by:
removeByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
Throws:
SystemException - if a system exception occurred

removeByG_U_S

public void removeByG_U_S(long groupId,
                          long userId,
                          int status)
                   throws SystemException
Removes all the blogs entries where groupId = ? and userId = ? and status = ? from the database.

Specified by:
removeByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
Throws:
SystemException - if a system exception occurred

removeByG_LtD_S

public void removeByG_LtD_S(long groupId,
                            Date displayDate,
                            int status)
                     throws SystemException
Removes all the blogs entries where groupId = ? and displayDate < ? and status = ? from the database.

Specified by:
removeByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
Throws:
SystemException - if a system exception occurred

removeByG_U_LtD_S

public void removeByG_U_LtD_S(long groupId,
                              long userId,
                              Date displayDate,
                              int status)
                       throws SystemException
Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ? from the database.

Specified by:
removeByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the blogs entries from the database.

Specified by:
removeAll in interface BlogsEntryPersistence
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Returns the number of blogs entries where uuid = ?.

Specified by:
countByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of blogs entries where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface BlogsEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of blogs entries where groupId = ?.

Specified by:
countByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Returns the number of blogs entries where companyId = ?.

Specified by:
countByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByC_U

public int countByC_U(long companyId,
                      long userId)
               throws SystemException
Returns the number of blogs entries where companyId = ? and userId = ?.

Specified by:
countByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByC_LtD

public int countByC_LtD(long companyId,
                        Date displayDate)
                 throws SystemException
Returns the number of blogs entries where companyId = ? and displayDate < ?.

Specified by:
countByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByC_S

public int countByC_S(long companyId,
                      int status)
               throws SystemException
Returns the number of blogs entries where companyId = ? and status = ?.

Specified by:
countByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByG_UT

public int countByG_UT(long groupId,
                       String urlTitle)
                throws SystemException
Returns the number of blogs entries where groupId = ? and urlTitle = ?.

Specified by:
countByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByG_LtD

public int countByG_LtD(long groupId,
                        Date displayDate)
                 throws SystemException
Returns the number of blogs entries where groupId = ? and displayDate < ?.

Specified by:
countByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_LtD

public int filterCountByG_LtD(long groupId,
                              Date displayDate)
                       throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ?.

Specified by:
filterCountByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_S

public int countByG_S(long groupId,
                      int status)
               throws SystemException
Returns the number of blogs entries where groupId = ? and status = ?.

Specified by:
countByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_S

public int filterCountByG_S(long groupId,
                            int status)
                     throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterCountByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByLtD_S

public int countByLtD_S(Date displayDate,
                        int status)
                 throws SystemException
Returns the number of blogs entries where displayDate < ? and status = ?.

Specified by:
countByLtD_S in interface BlogsEntryPersistence
Parameters:
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByC_U_S

public int countByC_U_S(long companyId,
                        long userId,
                        int status)
                 throws SystemException
Returns the number of blogs entries where companyId = ? and userId = ? and status = ?.

Specified by:
countByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
userId - the user ID
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByC_LtD_S

public int countByC_LtD_S(long companyId,
                          Date displayDate,
                          int status)
                   throws SystemException
Returns the number of blogs entries where companyId = ? and displayDate < ? and status = ?.

Specified by:
countByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company ID
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

countByG_U_LtD

public int countByG_U_LtD(long groupId,
                          long userId,
                          Date displayDate)
                   throws SystemException
Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
countByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U_LtD

public int filterCountByG_U_LtD(long groupId,
                                long userId,
                                Date displayDate)
                         throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?.

Specified by:
filterCountByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_U_S

public int countByG_U_S(long groupId,
                        long userId,
                        int status)
                 throws SystemException
Returns the number of blogs entries where groupId = ? and userId = ? and status = ?.

Specified by:
countByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U_S

public int filterCountByG_U_S(long groupId,
                              long userId,
                              int status)
                       throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?.

Specified by:
filterCountByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
status - the status
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_LtD_S

public int countByG_LtD_S(long groupId,
                          Date displayDate,
                          int status)
                   throws SystemException
Returns the number of blogs entries where groupId = ? and displayDate < ? and status = ?.

Specified by:
countByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_LtD_S

public int filterCountByG_LtD_S(long groupId,
                                Date displayDate,
                                int status)
                         throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?.

Specified by:
filterCountByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_U_LtD_S

public int countByG_U_LtD_S(long groupId,
                            long userId,
                            Date displayDate,
                            int status)
                     throws SystemException
Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
countByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U_LtD_S

public int filterCountByG_U_LtD_S(long groupId,
                                  long userId,
                                  Date displayDate,
                                  int status)
                           throws SystemException
Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
filterCountByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
displayDate - the display date
status - the status
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of blogs entries.

Specified by:
countAll in interface BlogsEntryPersistence
Returns:
the number of blogs entries
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the blogs entry persistence.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3