|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BookmarksEntryPersistence
The persistence interface for the bookmarks entry service.
Caching information and settings can be found in portal.properties
BookmarksEntryPersistenceImpl
,
BookmarksEntryUtil
Method Summary | |
---|---|
void |
cacheResult(BookmarksEntry bookmarksEntry)
Caches the bookmarks entry in the entity cache if it is enabled. |
void |
cacheResult(List<BookmarksEntry> bookmarksEntries)
Caches the bookmarks entries in the entity cache if it is enabled. |
int |
countAll()
Returns the number of bookmarks entries. |
int |
countByG_F(long groupId,
long folderId)
Returns the number of bookmarks entries where groupId = ? and folderId = ?. |
int |
countByG_F(long groupId,
long[] folderIds)
Returns the number of bookmarks entries where groupId = ? and folderId = any ?. |
int |
countByG_U(long groupId,
long userId)
Returns the number of bookmarks entries where groupId = ? and userId = ?. |
int |
countByGroupId(long groupId)
Returns the number of bookmarks entries where groupId = ?. |
int |
countByResourceBlockId(long resourceBlockId)
Returns the number of bookmarks entries where resourceBlockId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of bookmarks entries where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of bookmarks entries where uuid = ?. |
BookmarksEntry |
create(long entryId)
Creates a new bookmarks entry with the primary key. |
BookmarksEntry |
fetchByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. |
BookmarksEntry |
fetchByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. |
BookmarksEntry |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ?. |
BookmarksEntry |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ?. |
BookmarksEntry |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ?. |
BookmarksEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ?. |
BookmarksEntry |
fetchByPrimaryKey(long entryId)
Returns the bookmarks entry with the primary key or returns null if it could not be found. |
BookmarksEntry |
fetchByResourceBlockId_First(long resourceBlockId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. |
BookmarksEntry |
fetchByResourceBlockId_Last(long resourceBlockId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. |
BookmarksEntry |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where uuid = ?. |
BookmarksEntry |
fetchByUUID_G(String uuid,
long groupId)
Returns the bookmarks entry where uuid = ? and groupId = ? or returns null if it could not be found. |
BookmarksEntry |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the bookmarks entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
BookmarksEntry |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where uuid = ?. |
int |
filterCountByG_F(long groupId,
long folderId)
Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. |
int |
filterCountByG_F(long groupId,
long[] folderIds)
Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. |
int |
filterCountByG_U(long groupId,
long userId)
Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of bookmarks entries that the user has permission to view where groupId = ?. |
BookmarksEntry[] |
filterFindByG_F_PrevAndNext(long entryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long folderId)
Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long[] folderIds)
Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long[] folderIds,
int start,
int end)
Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ?. |
BookmarksEntry[] |
filterFindByG_U_PrevAndNext(long entryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ?. |
List<BookmarksEntry> |
filterFindByG_U(long groupId,
long userId)
Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ?. |
List<BookmarksEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ?. |
List<BookmarksEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ?. |
BookmarksEntry[] |
filterFindByGroupId_PrevAndNext(long entryId,
long groupId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ?. |
List<BookmarksEntry> |
filterFindByGroupId(long groupId)
Returns all the bookmarks entries that the user has permission to view where groupId = ?. |
List<BookmarksEntry> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the bookmarks entries that the user has permission to view where groupId = ?. |
List<BookmarksEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ?. |
List<BookmarksEntry> |
findAll()
Returns all the bookmarks entries. |
List<BookmarksEntry> |
findAll(int start,
int end)
Returns a range of all the bookmarks entries. |
List<BookmarksEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries. |
BookmarksEntry |
findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. |
BookmarksEntry |
findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. |
BookmarksEntry[] |
findByG_F_PrevAndNext(long entryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long folderId)
Returns all the bookmarks entries where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long[] folderIds)
Returns all the bookmarks entries where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long[] folderIds,
int start,
int end)
Returns a range of all the bookmarks entries where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the bookmarks entries where groupId = ? and folderId = ?. |
List<BookmarksEntry> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. |
BookmarksEntry |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ?. |
BookmarksEntry |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ?. |
BookmarksEntry[] |
findByG_U_PrevAndNext(long entryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ?. |
List<BookmarksEntry> |
findByG_U(long groupId,
long userId)
Returns all the bookmarks entries where groupId = ? and userId = ?. |
List<BookmarksEntry> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the bookmarks entries where groupId = ? and userId = ?. |
List<BookmarksEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ?. |
BookmarksEntry |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where groupId = ?. |
BookmarksEntry |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where groupId = ?. |
BookmarksEntry[] |
findByGroupId_PrevAndNext(long entryId,
long groupId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ?. |
List<BookmarksEntry> |
findByGroupId(long groupId)
Returns all the bookmarks entries where groupId = ?. |
List<BookmarksEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the bookmarks entries where groupId = ?. |
List<BookmarksEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where groupId = ?. |
BookmarksEntry |
findByPrimaryKey(long entryId)
Returns the bookmarks entry with the primary key or throws a NoSuchEntryException if it could not be found. |
BookmarksEntry |
findByResourceBlockId_First(long resourceBlockId,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. |
BookmarksEntry |
findByResourceBlockId_Last(long resourceBlockId,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. |
BookmarksEntry[] |
findByResourceBlockId_PrevAndNext(long entryId,
long resourceBlockId,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = ?. |
List<BookmarksEntry> |
findByResourceBlockId(long resourceBlockId)
Returns all the bookmarks entries where resourceBlockId = ?. |
List<BookmarksEntry> |
findByResourceBlockId(long resourceBlockId,
int start,
int end)
Returns a range of all the bookmarks entries where resourceBlockId = ?. |
List<BookmarksEntry> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where resourceBlockId = ?. |
BookmarksEntry |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first bookmarks entry in the ordered set where uuid = ?. |
BookmarksEntry |
findByUUID_G(String uuid,
long groupId)
Returns the bookmarks entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found. |
BookmarksEntry |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last bookmarks entry in the ordered set where uuid = ?. |
BookmarksEntry[] |
findByUuid_PrevAndNext(long entryId,
String uuid,
OrderByComparator orderByComparator)
Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. |
List<BookmarksEntry> |
findByUuid(String uuid)
Returns all the bookmarks entries where uuid = ?. |
List<BookmarksEntry> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the bookmarks entries where uuid = ?. |
List<BookmarksEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the bookmarks entries where uuid = ?. |
BookmarksEntry |
remove(long entryId)
Removes the bookmarks entry with the primary key from the database. |
void |
removeAll()
Removes all the bookmarks entries from the database. |
void |
removeByG_F(long groupId,
long folderId)
Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. |
void |
removeByG_U(long groupId,
long userId)
Removes all the bookmarks entries where groupId = ? and userId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the bookmarks entries where groupId = ? from the database. |
void |
removeByResourceBlockId(long resourceBlockId)
Removes all the bookmarks entries where resourceBlockId = ? from the database. |
BookmarksEntry |
removeByUUID_G(String uuid,
long groupId)
Removes the bookmarks entry where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the bookmarks entries where uuid = ? from the database. |
BookmarksEntry |
updateImpl(BookmarksEntry bookmarksEntry,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(BookmarksEntry bookmarksEntry)
bookmarksEntry
- the bookmarks entryvoid cacheResult(List<BookmarksEntry> bookmarksEntries)
bookmarksEntries
- the bookmarks entriesBookmarksEntry create(long entryId)
entryId
- the primary key for the new bookmarks entry
BookmarksEntry remove(long entryId) throws SystemException, NoSuchEntryException
entryId
- the primary key of the bookmarks entry
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredBookmarksEntry updateImpl(BookmarksEntry bookmarksEntry, boolean merge) throws SystemException
SystemException
BookmarksEntry findByPrimaryKey(long entryId) throws SystemException, NoSuchEntryException
NoSuchEntryException
if it could not be found.
entryId
- the primary key of the bookmarks entry
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByPrimaryKey(long entryId) throws SystemException
null
if it could not be found.
entryId
- the primary key of the bookmarks entry
null
if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByResourceBlockId(long resourceBlockId) throws SystemException
resourceBlockId
- the resource block ID
SystemException
- if a system exception occurredList<BookmarksEntry> findByResourceBlockId(long resourceBlockId, int start, int end) throws SystemException
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.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByResourceBlockId(long resourceBlockId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry findByResourceBlockId_First(long resourceBlockId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByResourceBlockId_First(long resourceBlockId, OrderByComparator orderByComparator) throws SystemException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry findByResourceBlockId_Last(long resourceBlockId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByResourceBlockId_Last(long resourceBlockId, OrderByComparator orderByComparator) throws SystemException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry[] findByResourceBlockId_PrevAndNext(long entryId, long resourceBlockId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entryresourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<BookmarksEntry> findByUuid(String uuid, int start, int end) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry[] findByUuid_PrevAndNext(long entryId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredBookmarksEntry findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchEntryException
NoSuchEntryException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<BookmarksEntry> findByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry[] filterFindByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_U(long groupId, long userId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry[] findByG_U_PrevAndNext(long entryId, long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_U(long groupId, long userId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry[] filterFindByG_U_PrevAndNext(long entryId, long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching bookmarks entry could not be found
SystemException
- if a system exception occurredBookmarksEntry[] findByG_F_PrevAndNext(long entryId, long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long[] folderIds) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredBookmarksEntry[] filterFindByG_F_PrevAndNext(long entryId, long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId
- the primary key of the current bookmarks entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchEntryException
- if a bookmarks entry with the primary key could not be found
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredList<BookmarksEntry> findAll() throws SystemException
SystemException
- if a system exception occurredList<BookmarksEntry> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)
SystemException
- if a system exception occurredList<BookmarksEntry> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeByResourceBlockId(long resourceBlockId) throws SystemException
resourceBlockId
- the resource block ID
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredBookmarksEntry removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchEntryException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchEntryException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredvoid removeByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredvoid removeByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByResourceBlockId(long resourceBlockId) throws SystemException
resourceBlockId
- the resource block ID
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredint filterCountByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredint countByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredint countByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredint filterCountByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredint filterCountByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |