Liferay 6.0.5

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.

Never modify or reference this class directly. Always use BlogsEntryUtil to access the blogs entry persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

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 is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
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
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_LTD
           
static FinderPath FINDER_PATH_COUNT_BY_C_LTD_S
           
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_LTD
           
static FinderPath FINDER_PATH_COUNT_BY_G_LTD_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_LTD
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_LTD_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_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_C_LTD
           
static FinderPath FINDER_PATH_FIND_BY_C_LTD_S
           
static FinderPath FINDER_PATH_FIND_BY_C_S
           
static FinderPath FINDER_PATH_FIND_BY_C_U
           
static FinderPath FINDER_PATH_FIND_BY_C_U_S
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_LTD
           
static FinderPath FINDER_PATH_FIND_BY_G_LTD_S
           
static FinderPath FINDER_PATH_FIND_BY_G_S
           
static FinderPath FINDER_PATH_FIND_BY_G_U_LTD
           
static FinderPath FINDER_PATH_FIND_BY_G_U_LTD_S
           
static FinderPath FINDER_PATH_FIND_BY_G_U_S
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  OrganizationPersistence organizationPersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SocialEquityLogPersistence socialEquityLogPersistence
           
protected  UserPersistence userPersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
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.
 void clearCache()
          Clears the cache for all blogs entries.
 void clearCache(BlogsEntry blogsEntry)
          Clears the cache for the blogs entry.
 int countAll()
          Counts all the blogs entries.
 int countByC_LtD_S(long companyId, Date displayDate, int status)
          Counts all the blogs entries where companyId = ? and displayDate < ? and status = ?.
 int countByC_LtD(long companyId, Date displayDate)
          Counts all the blogs entries where companyId = ? and displayDate < ?.
 int countByC_S(long companyId, int status)
          Counts all the blogs entries where companyId = ? and status = ?.
 int countByC_U_S(long companyId, long userId, int status)
          Counts all the blogs entries where companyId = ? and userId = ? and status = ?.
 int countByC_U(long companyId, long userId)
          Counts all the blogs entries where companyId = ? and userId = ?.
 int countByCompanyId(long companyId)
          Counts all the blogs entries where companyId = ?.
 int countByG_LtD_S(long groupId, Date displayDate, int status)
          Counts all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 int countByG_LtD(long groupId, Date displayDate)
          Counts all the blogs entries where groupId = ? and displayDate < ?.
 int countByG_S(long groupId, int status)
          Counts all the blogs entries where groupId = ? and status = ?.
 int countByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Counts all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 int countByG_U_LtD(long groupId, long userId, Date displayDate)
          Counts all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 int countByG_U_S(long groupId, long userId, int status)
          Counts all the blogs entries where groupId = ? and userId = ? and status = ?.
 int countByG_UT(long groupId, String urlTitle)
          Counts all the blogs entries where groupId = ? and urlTitle = ?.
 int countByGroupId(long groupId)
          Counts all the blogs entries where groupId = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the blogs entries where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the blogs entries where uuid = ?.
 BlogsEntry create(long entryId)
          Creates a new blogs entry with the primary key.
 BlogsEntry fetchByG_UT(long groupId, String urlTitle)
          Finds 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)
          Finds the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found, optionally using the finder cache.
 BlogsEntry fetchByPrimaryKey(long entryId)
          Finds the blogs entry with the primary key or returns null if it could not be found.
 BlogsEntry fetchByPrimaryKey(Serializable primaryKey)
          Finds the blogs entry with the primary key or returns null if it could not be found.
 BlogsEntry fetchByUUID_G(String uuid, long groupId)
          Finds 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)
          Finds the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 int filterCountByG_LtD_S(long groupId, Date displayDate, int status)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 int filterCountByG_LtD(long groupId, Date displayDate)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and displayDate < ?.
 int filterCountByG_S(long groupId, int status)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and status = ?.
 int filterCountByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 int filterCountByG_U_LtD(long groupId, long userId, Date displayDate)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 int filterCountByG_U_S(long groupId, long userId, int status)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and status = ?.
 int filterCountByG_UT(long groupId, String urlTitle)
          Filters by the user's permissions and counts all the blogs entries where groupId = ? and urlTitle = ?.
 int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the blogs entries where groupId = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status)
          Filters by the user's permissions and finds all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD_S(long groupId, Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate)
          Filters by the user's permissions and finds all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_LtD(long groupId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status)
          Filters by the user's permissions and finds all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD_S(long groupId, long userId, Date displayDate, int status)
          Filters by the user's permissions and finds all the blogs entries 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)
          Filters by the user's permissions and finds a range of all the blogs entries 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)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate)
          Filters by the user's permissions and finds all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_U_LtD(long groupId, long userId, Date displayDate, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status)
          Filters by the user's permissions and finds all the blogs entries where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the blogs entries where groupId = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the blogs entries where groupId = ?.
 List<BlogsEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the blogs entries where groupId = ?.
 List<BlogsEntry> findAll()
          Finds all the blogs entries.
 List<BlogsEntry> findAll(int start, int end)
          Finds a range of all the blogs entries.
 List<BlogsEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the blogs entries.
 BlogsEntry findByC_LtD_First(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry findByC_LtD_Last(long companyId, Date displayDate, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where companyId = ? and displayDate < ?.
 BlogsEntry[] findByC_LtD_PrevAndNext(long entryId, long companyId, Date displayDate, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByC_LtD(long companyId, Date displayDate)
          Finds all the blogs entries where companyId = ? and displayDate < ?.
 List<BlogsEntry> findByC_LtD(long companyId, Date displayDate, int start, int end)
          Finds 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)
          Finds an ordered range of all the blogs entries where companyId = ? and displayDate < ?.
 BlogsEntry findByC_S_First(long companyId, int status, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry findByC_S_Last(long companyId, int status, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where companyId = ? and status = ?.
 BlogsEntry[] findByC_S_PrevAndNext(long entryId, long companyId, int status, OrderByComparator orderByComparator)
          Finds 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)
          Finds all the blogs entries where companyId = ? and status = ?.
 List<BlogsEntry> findByC_S(long companyId, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the blogs entries where companyId = ? and status = ?.
 BlogsEntry findByC_U_First(long companyId, long userId, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry findByC_U_Last(long companyId, long userId, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where companyId = ? and userId = ?.
 BlogsEntry[] findByC_U_PrevAndNext(long entryId, long companyId, long userId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the blogs entries where companyId = ? and userId = ? and status = ?.
 List<BlogsEntry> findByC_U(long companyId, long userId)
          Finds all the blogs entries where companyId = ? and userId = ?.
 List<BlogsEntry> findByC_U(long companyId, long userId, int start, int end)
          Finds 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)
          Finds an ordered range of all the blogs entries where companyId = ? and userId = ?.
 BlogsEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where companyId = ?.
 BlogsEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where companyId = ?.
 BlogsEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator orderByComparator)
          Finds the blogs entries before and after the current blogs entry in the ordered set where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId)
          Finds all the blogs entries where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the blogs entries where companyId = ?.
 List<BlogsEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the blogs entries where companyId = ?.
 BlogsEntry findByG_LtD_First(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry findByG_LtD_Last(long groupId, Date displayDate, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where groupId = ? and displayDate < ?.
 BlogsEntry[] findByG_LtD_PrevAndNext(long entryId, long groupId, Date displayDate, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?.
 List<BlogsEntry> findByG_LtD(long groupId, Date displayDate)
          Finds all the blogs entries where groupId = ? and displayDate < ?.
 List<BlogsEntry> findByG_LtD(long groupId, Date displayDate, int start, int end)
          Finds 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)
          Finds an ordered range of all the blogs entries where groupId = ? and displayDate < ?.
 BlogsEntry findByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where groupId = ? and status = ?.
 BlogsEntry[] findByG_S_PrevAndNext(long entryId, long groupId, int status, OrderByComparator orderByComparator)
          Finds 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)
          Finds all the blogs entries where groupId = ? and status = ?.
 List<BlogsEntry> findByG_S(long groupId, int status, int start, int end)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?.
 BlogsEntry findByG_UT(long groupId, String urlTitle)
          Finds the blogs entry where groupId = ? and urlTitle = ? or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where groupId = ?.
 BlogsEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where groupId = ?.
 BlogsEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator orderByComparator)
          Finds the blogs entries before and after the current blogs entry in the ordered set where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId)
          Finds all the blogs entries where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId, int start, int end)
          Finds a range of all the blogs entries where groupId = ?.
 List<BlogsEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the blogs entries where groupId = ?.
 BlogsEntry findByPrimaryKey(long entryId)
          Finds the blogs entry with the primary key or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByPrimaryKey(Serializable primaryKey)
          Finds the blogs entry with the primary key or throws a NoSuchModelException if it could not be found.
 BlogsEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first blogs entry in the ordered set where uuid = ?.
 BlogsEntry findByUUID_G(String uuid, long groupId)
          Finds the blogs entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
 BlogsEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last blogs entry in the ordered set where uuid = ?.
 BlogsEntry[] findByUuid_PrevAndNext(long entryId, String uuid, OrderByComparator orderByComparator)
          Finds the blogs entries before and after the current blogs entry in the ordered set where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid)
          Finds all the blogs entries where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid, int start, int end)
          Finds a range of all the blogs entries where uuid = ?.
 List<BlogsEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds 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 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.
 void 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 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, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_C_U

public static final FinderPath FINDER_PATH_FIND_BY_C_U

FINDER_PATH_COUNT_BY_C_U

public static final FinderPath FINDER_PATH_COUNT_BY_C_U

FINDER_PATH_FIND_BY_C_LTD

public static final FinderPath FINDER_PATH_FIND_BY_C_LTD

FINDER_PATH_COUNT_BY_C_LTD

public static final FinderPath FINDER_PATH_COUNT_BY_C_LTD

FINDER_PATH_FIND_BY_C_S

public static final FinderPath FINDER_PATH_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_FIND_BY_G_LTD

public static final FinderPath FINDER_PATH_FIND_BY_G_LTD

FINDER_PATH_COUNT_BY_G_LTD

public static final FinderPath FINDER_PATH_COUNT_BY_G_LTD

FINDER_PATH_FIND_BY_G_S

public static final FinderPath FINDER_PATH_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_FIND_BY_C_U_S

public static final FinderPath FINDER_PATH_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_FIND_BY_C_LTD_S

public static final FinderPath FINDER_PATH_FIND_BY_C_LTD_S

FINDER_PATH_COUNT_BY_C_LTD_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_LTD_S

FINDER_PATH_FIND_BY_G_U_LTD

public static final FinderPath FINDER_PATH_FIND_BY_G_U_LTD

FINDER_PATH_COUNT_BY_G_U_LTD

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_LTD

FINDER_PATH_FIND_BY_G_U_S

public static final FinderPath FINDER_PATH_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_FIND_BY_G_LTD_S

public static final FinderPath FINDER_PATH_FIND_BY_G_LTD_S

FINDER_PATH_COUNT_BY_G_LTD_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_LTD_S

FINDER_PATH_FIND_BY_G_U_LTD_S

public static final FinderPath FINDER_PATH_FIND_BY_G_U_LTD_S

FINDER_PATH_COUNT_BY_G_U_LTD_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_LTD_S

FINDER_PATH_FIND_ALL

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

organizationPersistence

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

portletPreferencesPersistence

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

resourcePersistence

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

userPersistence

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

workflowInstanceLinkPersistence

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

assetEntryPersistence

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

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

socialEquityLogPersistence

@BeanReference(type=SocialEquityLogPersistence.class)
protected SocialEquityLogPersistence socialEquityLogPersistence
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 to cache

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 to cache

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

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(Serializable primaryKey)
                  throws NoSuchModelException,
                         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 to remove
Returns:
the blogs entry that was removed
Throws:
NoSuchModelException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred

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 to remove
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
Finds 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 to find
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
Finds 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 to find
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
Finds 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 to find
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
Finds 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 to find
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
Finds all the blogs entries where uuid = ?.

Specified by:
findByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid to search with
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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByUuid_Last

public BlogsEntry findByUuid_Last(String uuid,
                                  OrderByComparator orderByComparator)
                           throws NoSuchEntryException,
                                  SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public BlogsEntry[] findByUuid_PrevAndNext(long entryId,
                                           String uuid,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchEntryException,
                                           SystemException
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
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
Finds 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 to search with
groupId - the group id to search with
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
Finds 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 to search with
groupId - the group id to search with
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
Finds 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 to search with
groupId - the group id to search with
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
Finds all the blogs entries where groupId = ?.

Specified by:
findByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByGroupId_Last

public BlogsEntry findByGroupId_Last(long groupId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchEntryException,
                                     SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public BlogsEntry[] findByGroupId_PrevAndNext(long entryId,
                                              long groupId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEntryException,
                                              SystemException
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ?.

Specified by:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
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
Filters by the user's permissions and finds 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:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Specified by:
findByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

public BlogsEntry findByCompanyId_Last(long companyId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchEntryException,
                                       SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public BlogsEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEntryException,
                                                SystemException
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
orderByComparator - the comparator to order the set by
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
Finds all the blogs entries where companyId = ? and userId = ?.

Specified by:
findByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
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
Finds 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 to search with
userId - the user id to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
userId - the user id to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByC_U_Last

public BlogsEntry findByC_U_Last(long companyId,
                                 long userId,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
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
Finds all the blogs entries where companyId = ? and displayDate < ?.

Specified by:
findByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
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
Finds 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 to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByC_LtD_Last

public BlogsEntry findByC_LtD_Last(long companyId,
                                   Date displayDate,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
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
Finds all the blogs entries where companyId = ? and status = ?.

Specified by:
findByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
status - the status to search with
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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByC_S_Last

public BlogsEntry findByC_S_Last(long companyId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Finds 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 to search with
urlTitle - the url title to search with
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
Finds 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 to search with
urlTitle - the url title to search with
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
Finds 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 to search with
urlTitle - the url title to search with
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
Finds all the blogs entries where groupId = ? and displayDate < ?.

Specified by:
findByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
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
Finds 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 to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByG_LtD_Last

public BlogsEntry findByG_LtD_Last(long groupId,
                                   Date displayDate,
                                   OrderByComparator orderByComparator)
                            throws NoSuchEntryException,
                                   SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and displayDate < ?.

Specified by:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_S

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

Specified by:
findByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
SystemException - if a system exception occurred

findByG_S_Last

public BlogsEntry findByG_S_Last(long groupId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchEntryException,
                                 SystemException
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and status = ?.

Specified by:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_U_S

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

Specified by:
findByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
status - the status to search with
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
Finds 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 to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Finds all the blogs entries where companyId = ? and displayDate < ? and status = ?.

Specified by:
findByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
status - the status to search with
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
Finds 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 to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
companyId - the company id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Finds all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
findByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
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
Finds 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 to search with
userId - the user id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
userId - the user id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_U_S

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

Specified by:
findByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
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
Finds 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 to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and userId = ? and status = ?.

Specified by:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_LtD_S

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

Specified by:
findByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
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
Finds 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 to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
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)
                                 throws SystemException
Finds 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 to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
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
Finds 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 to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first blogs entry in the ordered set 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_First in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the last blogs entry in the ordered set 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_Last in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching blogs entry
Throws:
NoSuchEntryException - if a matching blogs entry could not be found
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
Finds the blogs entries before and after the current blogs entry in the ordered set 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_PrevAndNext in interface BlogsEntryPersistence
Parameters:
entryId - the primary key of the current blogs entry
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
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
Filters by the user's permissions and finds 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:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (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
Filters by the user's permissions and finds 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:
filterFindByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
start - the lower bound of the range of blogs entries to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public List<BlogsEntry> findAll()
                         throws SystemException
Finds 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
Finds 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 to return
end - the upper bound of the range of blogs entries to return (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
Finds 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 to return
end - the upper bound of the range of blogs entries to return (not inclusive)
orderByComparator - the comparator to order the results by
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 to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public void 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 to search with
groupId - the group id to search with
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 to search with
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 to search with
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 to search with
userId - the user id to search with
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 to search with
displayDate - the display date to search with
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 to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByG_UT

public void 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 to search with
urlTitle - the url title to search with
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 to search with
displayDate - the display date to search with
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 to search with
status - the status to search with
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 to search with
userId - the user id to search with
status - the status to search with
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 to search with
displayDate - the display date to search with
status - the status to search with
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 to search with
userId - the user id to search with
displayDate - the display date to search with
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 to search with
userId - the user id to search with
status - the status to search with
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 to search with
displayDate - the display date to search with
status - the status to search with
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 to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
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
Counts all the blogs entries where uuid = ?.

Specified by:
countByUuid in interface BlogsEntryPersistence
Parameters:
uuid - the uuid to search with
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
Counts all the blogs entries where uuid = ? and groupId = ?.

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

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Counts all the blogs entries where groupId = ?.

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

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Filters by the user's permissions and counts all the blogs entries where groupId = ?.

Specified by:
filterCountByGroupId in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
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
Counts all the blogs entries where companyId = ?.

Specified by:
countByCompanyId in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
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
Counts all the blogs entries where companyId = ? and userId = ?.

Specified by:
countByC_U in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
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
Counts all the blogs entries where companyId = ? and displayDate < ?.

Specified by:
countByC_LtD in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
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
Counts all the blogs entries where companyId = ? and status = ?.

Specified by:
countByC_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
status - the status to search with
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
Counts all the blogs entries where groupId = ? and urlTitle = ?.

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

filterCountByG_UT

public int filterCountByG_UT(long groupId,
                             String urlTitle)
                      throws SystemException
Filters by the user's permissions and counts all the blogs entries where groupId = ? and urlTitle = ?.

Specified by:
filterCountByG_UT in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
Returns:
the number of matching blogs entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_LtD

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

Specified by:
countByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and displayDate < ?.

Specified by:
filterCountByG_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
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
Counts all the blogs entries where groupId = ? and status = ?.

Specified by:
countByG_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
status - the status to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and status = ?.

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

countByC_U_S

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

Specified by:
countByC_U_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
userId - the user id to search with
status - the status to search with
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
Counts all the blogs entries where companyId = ? and displayDate < ? and status = ?.

Specified by:
countByC_LtD_S in interface BlogsEntryPersistence
Parameters:
companyId - the company id to search with
displayDate - the display date to search with
status - the status to search with
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
Counts all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
countByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and displayDate < ?.

Specified by:
filterCountByG_U_LtD in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
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
Counts all the blogs entries where groupId = ? and userId = ? and status = ?.

Specified by:
countByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and status = ?.

Specified by:
filterCountByG_U_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
status - the status to search with
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
Counts all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Specified by:
countByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and displayDate < ? and status = ?.

Specified by:
filterCountByG_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
displayDate - the display date to search with
status - the status to search with
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
Counts all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
countByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
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
Filters by the user's permissions and counts all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?.

Specified by:
filterCountByG_U_LtD_S in interface BlogsEntryPersistence
Parameters:
groupId - the group id to search with
userId - the user id to search with
displayDate - the display date to search with
status - the status to search with
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
Counts all the 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.


Liferay 6.0.5