com.liferay.portlet.bookmarks.service.persistence
Interface BookmarksEntryPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface BookmarksEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByFolderId(long folderId)
|
int |
countByUuid(java.lang.String uuid)
|
BookmarksEntry |
create(long entryId)
|
BookmarksEntry |
fetchByPrimaryKey(long entryId)
|
java.util.List<BookmarksEntry> |
findAll()
|
java.util.List<BookmarksEntry> |
findAll(int start,
int end)
|
java.util.List<BookmarksEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry[] |
findByFolderId_PrevAndNext(long entryId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<BookmarksEntry> |
findByFolderId(long folderId)
|
java.util.List<BookmarksEntry> |
findByFolderId(long folderId,
int start,
int end)
|
java.util.List<BookmarksEntry> |
findByFolderId(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry |
findByPrimaryKey(long entryId)
|
BookmarksEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BookmarksEntry[] |
findByUuid_PrevAndNext(long entryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<BookmarksEntry> |
findByUuid(java.lang.String uuid)
|
java.util.List<BookmarksEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<BookmarksEntry> |
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)
|
BookmarksEntry |
remove(BookmarksEntry bookmarksEntry)
|
BookmarksEntry |
remove(long entryId)
|
void |
removeAll()
|
void |
removeByFolderId(long folderId)
|
void |
removeByUuid(java.lang.String uuid)
|
BookmarksEntry |
update(BookmarksEntry bookmarksEntry)
Deprecated. Use update(BookmarksEntry bookmarksEntry, boolean merge) . |
BookmarksEntry |
update(BookmarksEntry bookmarksEntry,
boolean merge)
Add, update, or merge, the entity. |
BookmarksEntry |
updateImpl(BookmarksEntry bookmarksEntry,
boolean merge)
|
create
BookmarksEntry create(long entryId)
remove
BookmarksEntry remove(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
remove
BookmarksEntry remove(BookmarksEntry bookmarksEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
BookmarksEntry update(BookmarksEntry bookmarksEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(BookmarksEntry bookmarksEntry, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
BookmarksEntry update(BookmarksEntry bookmarksEntry,
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:
bookmarksEntry
- 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 bookmarksEntry 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
BookmarksEntry updateImpl(BookmarksEntry bookmarksEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
fetchByPrimaryKey
BookmarksEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> 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<BookmarksEntry> 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)
BookmarksEntry 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)
BookmarksEntry 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)
BookmarksEntry[] 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
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> findByFolderId(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> findByFolderId(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksEntry findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByFolderId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksEntry findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByFolderId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksEntry[] findByFolderId_PrevAndNext(long entryId,
long folderId,
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<BookmarksEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksEntry> 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
removeByFolderId
void removeByFolderId(long folderId)
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
countByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByFolderId(long folderId)
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