com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsFlagPersistence

All Superinterfaces:
BasePersistence<AnnouncementsFlag>

public interface AnnouncementsFlagPersistence
extends BasePersistence<AnnouncementsFlag>

View Source

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

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsFlagPersistenceImpl, AnnouncementsFlagUtil
Generated:

Method Summary
 void cacheResult(AnnouncementsFlag announcementsFlag)
           
 void cacheResult(java.util.List<AnnouncementsFlag> announcementsFlags)
           
 int countAll()
           
 int countByEntryId(long entryId)
           
 int countByU_E_V(long userId, long entryId, int value)
           
 AnnouncementsFlag create(long flagId)
           
 AnnouncementsFlag fetchByPrimaryKey(long flagId)
           
 AnnouncementsFlag fetchByU_E_V(long userId, long entryId, int value)
           
 AnnouncementsFlag fetchByU_E_V(long userId, long entryId, int value, boolean retrieveFromCache)
           
 java.util.List<AnnouncementsFlag> findAll()
           
 java.util.List<AnnouncementsFlag> findAll(int start, int end)
           
 java.util.List<AnnouncementsFlag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 AnnouncementsFlag findByEntryId_First(long entryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 AnnouncementsFlag findByEntryId_Last(long entryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 AnnouncementsFlag[] findByEntryId_PrevAndNext(long flagId, long entryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<AnnouncementsFlag> findByEntryId(long entryId)
           
 java.util.List<AnnouncementsFlag> findByEntryId(long entryId, int start, int end)
           
 java.util.List<AnnouncementsFlag> findByEntryId(long entryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 AnnouncementsFlag findByPrimaryKey(long flagId)
           
 AnnouncementsFlag findByU_E_V(long userId, long entryId, int value)
           
 AnnouncementsFlag remove(long flagId)
           
 void removeAll()
           
 void removeByEntryId(long entryId)
           
 void removeByU_E_V(long userId, long entryId, int value)
           
 AnnouncementsFlag update(AnnouncementsFlag announcementsFlag)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 AnnouncementsFlag updateImpl(AnnouncementsFlag announcementsFlag, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(AnnouncementsFlag announcementsFlag)

cacheResult

void cacheResult(java.util.List<AnnouncementsFlag> announcementsFlags)

create

AnnouncementsFlag create(long flagId)

remove

AnnouncementsFlag remove(long flagId)
                         throws com.liferay.portal.SystemException,
                                NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

AnnouncementsFlag updateImpl(AnnouncementsFlag announcementsFlag,
                             boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

AnnouncementsFlag findByPrimaryKey(long flagId)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

fetchByPrimaryKey

AnnouncementsFlag fetchByPrimaryKey(long flagId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

java.util.List<AnnouncementsFlag> findByEntryId(long entryId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

java.util.List<AnnouncementsFlag> findByEntryId(long entryId,
                                                int start,
                                                int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

java.util.List<AnnouncementsFlag> findByEntryId(long entryId,
                                                int start,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId_First

AnnouncementsFlag findByEntryId_First(long entryId,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

findByEntryId_Last

AnnouncementsFlag findByEntryId_Last(long entryId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

findByEntryId_PrevAndNext

AnnouncementsFlag[] findByEntryId_PrevAndNext(long flagId,
                                              long entryId,
                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

findByU_E_V

AnnouncementsFlag findByU_E_V(long userId,
                              long entryId,
                              int value)
                              throws com.liferay.portal.SystemException,
                                     NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

fetchByU_E_V

AnnouncementsFlag fetchByU_E_V(long userId,
                               long entryId,
                               int value)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByU_E_V

AnnouncementsFlag fetchByU_E_V(long userId,
                               long entryId,
                               int value,
                               boolean retrieveFromCache)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByEntryId

void removeByEntryId(long entryId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByU_E_V

void removeByU_E_V(long userId,
                   long entryId,
                   int value)
                   throws com.liferay.portal.SystemException,
                          NoSuchFlagException
Throws:
com.liferay.portal.SystemException
NoSuchFlagException

removeAll

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

countByEntryId

int countByEntryId(long entryId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_E_V

int countByU_E_V(long userId,
                 long entryId,
                 int value)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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