com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsEntryPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AnnouncementsEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_A
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_C_A(long classNameId,
long classPK,
boolean alert)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException