com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsEntryPersistence
- All Superinterfaces:
- BasePersistence
public interface AnnouncementsEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(AnnouncementsEntry announcementsEntry)
|
void |
cacheResult(java.util.List<AnnouncementsEntry> announcementsEntries)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_C_A(long classNameId,
long classPK,
boolean alert)
|
int |
countByC_C(long classNameId,
long classPK)
|
int |
countByUserId(long userId)
|
int |
countByUuid(java.lang.String uuid)
|
AnnouncementsEntry |
create(long entryId)
|
AnnouncementsEntry |
fetchByPrimaryKey(long entryId)
|
java.util.List<AnnouncementsEntry> |
findAll()
|
java.util.List<AnnouncementsEntry> |
findAll(int start,
int end)
|
java.util.List<AnnouncementsEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByC_C_A_First(long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByC_C_A_Last(long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry[] |
findByC_C_A_PrevAndNext(long entryId,
long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<AnnouncementsEntry> |
findByC_C_A(long classNameId,
long classPK,
boolean alert)
|
java.util.List<AnnouncementsEntry> |
findByC_C_A(long classNameId,
long classPK,
boolean alert,
int start,
int end)
|
java.util.List<AnnouncementsEntry> |
findByC_C_A(long classNameId,
long classPK,
boolean alert,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry[] |
findByC_C_PrevAndNext(long entryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<AnnouncementsEntry> |
findByC_C(long classNameId,
long classPK)
|
java.util.List<AnnouncementsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
|
java.util.List<AnnouncementsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByPrimaryKey(long entryId)
|
AnnouncementsEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry[] |
findByUserId_PrevAndNext(long entryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<AnnouncementsEntry> |
findByUserId(long userId)
|
java.util.List<AnnouncementsEntry> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<AnnouncementsEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsEntry[] |
findByUuid_PrevAndNext(long entryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<AnnouncementsEntry> |
findByUuid(java.lang.String uuid)
|
java.util.List<AnnouncementsEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<AnnouncementsEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
AnnouncementsEntry |
remove(AnnouncementsEntry announcementsEntry)
|
AnnouncementsEntry |
remove(long entryId)
|
void |
removeAll()
|
void |
removeByC_C_A(long classNameId,
long classPK,
boolean alert)
|
void |
removeByC_C(long classNameId,
long classPK)
|
void |
removeByUserId(long userId)
|
void |
removeByUuid(java.lang.String uuid)
|
AnnouncementsEntry |
update(AnnouncementsEntry announcementsEntry)
Deprecated. Use update(AnnouncementsEntry announcementsEntry, boolean merge) . |
AnnouncementsEntry |
update(AnnouncementsEntry announcementsEntry,
boolean merge)
Add, update, or merge, the entity. |
AnnouncementsEntry |
updateImpl(AnnouncementsEntry announcementsEntry,
boolean merge)
|
cacheResult
void cacheResult(AnnouncementsEntry announcementsEntry)
cacheResult
void cacheResult(java.util.List<AnnouncementsEntry> announcementsEntries)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
AnnouncementsEntry create(long entryId)
remove
AnnouncementsEntry remove(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
remove
AnnouncementsEntry remove(AnnouncementsEntry announcementsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
AnnouncementsEntry update(AnnouncementsEntry announcementsEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(AnnouncementsEntry announcementsEntry, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
AnnouncementsEntry update(AnnouncementsEntry announcementsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
announcementsEntry
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when announcementsEntry is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
AnnouncementsEntry updateImpl(AnnouncementsEntry announcementsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
AnnouncementsEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
fetchByPrimaryKey
AnnouncementsEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<AnnouncementsEntry> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<AnnouncementsEntry> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<AnnouncementsEntry> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
AnnouncementsEntry findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByUuid_Last
AnnouncementsEntry findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByUuid_PrevAndNext
AnnouncementsEntry[] findByUuid_PrevAndNext(long entryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByUserId
java.util.List<AnnouncementsEntry> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
java.util.List<AnnouncementsEntry> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
java.util.List<AnnouncementsEntry> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
AnnouncementsEntry findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByUserId_Last
AnnouncementsEntry findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByUserId_PrevAndNext
AnnouncementsEntry[] findByUserId_PrevAndNext(long entryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C
java.util.List<AnnouncementsEntry> findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
java.util.List<AnnouncementsEntry> findByC_C(long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
java.util.List<AnnouncementsEntry> findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_First
AnnouncementsEntry findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C_Last
AnnouncementsEntry findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C_PrevAndNext
AnnouncementsEntry[] findByC_C_PrevAndNext(long entryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C_A
java.util.List<AnnouncementsEntry> findByC_C_A(long classNameId,
long classPK,
boolean alert)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_A
java.util.List<AnnouncementsEntry> findByC_C_A(long classNameId,
long classPK,
boolean alert,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_A
java.util.List<AnnouncementsEntry> findByC_C_A(long classNameId,
long classPK,
boolean alert,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_A_First
AnnouncementsEntry findByC_C_A_First(long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C_A_Last
AnnouncementsEntry findByC_C_A_Last(long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByC_C_A_PrevAndNext
AnnouncementsEntry[] findByC_C_A_PrevAndNext(long entryId,
long classNameId,
long classPK,
boolean alert,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C_A
void removeByC_C_A(long classNameId,
long classPK,
boolean alert)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_A
int countByC_C_A(long classNameId,
long classPK,
boolean alert)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException