Interface FragmentCollectionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentCollection>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(FragmentCollection fragmentCollection) Caches the fragment collection in the entity cache if it is enabled.void
cacheResult
(List<FragmentCollection> fragmentCollections) Caches the fragment collections in the entity cache if it is enabled.int
countAll()
Returns the number of fragment collections.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of fragment collections where externalReferenceCode = ? and groupId = ?.int
countByG_FCK
(long groupId, String fragmentCollectionKey) Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.int
countByG_LikeN
(long[] groupIds, String name) Returns the number of fragment collections where groupId = any ? and name LIKE ?.int
countByG_LikeN
(long groupId, String name) Returns the number of fragment collections where groupId = ? and name LIKE ?.int
countByGroupId
(long groupId) Returns the number of fragment collections where groupId = ?.int
countByGroupId
(long[] groupIds) Returns the number of fragment collections where groupId = any ?.int
countByUuid
(String uuid) Returns the number of fragment collections where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of fragment collections where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of fragment collections where uuid = ? and groupId = ?.create
(long fragmentCollectionId) Creates a new fragment collection with the primary key.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the fragment collection where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the fragment collection where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_FCK
(long groupId, String fragmentCollectionKey) Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returnsnull
if it could not be found.fetchByG_FCK
(long groupId, String fragmentCollectionKey, boolean useFinderCache) Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_LikeN_First
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.fetchByG_LikeN_Last
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ?.fetchByPrimaryKey
(long fragmentCollectionId) Returns the fragment collection with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the fragment collection where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the fragment collection where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ?.findAll()
Returns all the fragment collections.findAll
(int start, int end) Returns a range of all the fragment collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections.findByERC_G
(String externalReferenceCode, long groupId) Returns the fragment collection where externalReferenceCode = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.findByG_FCK
(long groupId, String fragmentCollectionKey) Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or throws aNoSuchCollectionException
if it could not be found.findByG_LikeN
(long[] groupIds, String name) Returns all the fragment collections where groupId = any ? and name LIKE ?.findByG_LikeN
(long[] groupIds, String name, int start, int end) Returns a range of all the fragment collections where groupId = any ? and name LIKE ?.findByG_LikeN
(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = any ? and name LIKE ?.findByG_LikeN
(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?, optionally using the finder cache.findByG_LikeN
(long groupId, String name) Returns all the fragment collections where groupId = ? and name LIKE ?.findByG_LikeN
(long groupId, String name, int start, int end) Returns a range of all the fragment collections where groupId = ? and name LIKE ?.findByG_LikeN
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?.findByG_LikeN
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?.findByG_LikeN_First
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.findByG_LikeN_Last
(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.findByG_LikeN_PrevAndNext
(long fragmentCollectionId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ? and name LIKE ?.findByGroupId
(long groupId) Returns all the fragment collections where groupId = ?.findByGroupId
(long[] groupIds) Returns all the fragment collections where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the fragment collections where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ?, optionally using the finder cache.findByGroupId
(long groupId, int start, int end) Returns a range of all the fragment collections where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long fragmentCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ?.findByPrimaryKey
(long fragmentCollectionId) Returns the fragment collection with the primary key or throws aNoSuchCollectionException
if it could not be found.findByUuid
(String uuid) Returns all the fragment collections where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the fragment collections where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the fragment collections where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the fragment collections where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long fragmentCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the fragment collection where uuid = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long fragmentCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ?.remove
(long fragmentCollectionId) Removes the fragment collection with the primary key from the database.void
Removes all the fragment collections from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the fragment collection where externalReferenceCode = ? and groupId = ? from the database.removeByG_FCK
(long groupId, String fragmentCollectionKey) Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.void
removeByG_LikeN
(long groupId, String name) Removes all the fragment collections where groupId = ? and name LIKE ? from the database.void
removeByGroupId
(long groupId) Removes all the fragment collections where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the fragment collections where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the fragment collections where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the fragment collection where uuid = ? and groupId = ? from the database.updateImpl
(FragmentCollection fragmentCollection) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the fragment collections where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching fragment collections
-
findByUuid
Returns a range of all the fragment collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByUuid
List<FragmentCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByUuid
List<FragmentCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
findByUuid_First
FragmentCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the first fragment collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByUuid_First
FragmentCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByUuid_Last
FragmentCollection findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the last fragment collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByUuid_Last
FragmentCollection fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByUuid_PrevAndNext
FragmentCollection[] findByUuid_PrevAndNext(long fragmentCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ?.- Parameters:
fragmentCollectionId
- the primary key of the current fragment collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment collection
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
removeByUuid
Removes all the fragment collections where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of fragment collections where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching fragment collections
-
findByUUID_G
Returns the fragment collection where uuid = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByUUID_G
Returns the fragment collection where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
fetchByUUID_G
Returns the fragment collection where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
removeByUUID_G
Removes the fragment collection where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the fragment collection that was removed
- Throws:
NoSuchCollectionException
-
countByUUID_G
Returns the number of fragment collections where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching fragment collections
-
findByUuid_C
Returns all the fragment collections where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching fragment collections
-
findByUuid_C
Returns a range of all the fragment collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByUuid_C
List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByUuid_C
List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
findByUuid_C_First
FragmentCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the first fragment collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByUuid_C_First
FragmentCollection fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByUuid_C_Last
FragmentCollection findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the last fragment collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByUuid_C_Last
FragmentCollection fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByUuid_C_PrevAndNext
FragmentCollection[] findByUuid_C_PrevAndNext(long fragmentCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
fragmentCollectionId
- the primary key of the current fragment collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment collection
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
removeByUuid_C
Removes all the fragment collections where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of fragment collections where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching fragment collections
-
findByGroupId
Returns all the fragment collections where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching fragment collections
-
findByGroupId
Returns a range of all the fragment collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByGroupId
List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByGroupId
List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
findByGroupId_First
FragmentCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the first fragment collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByGroupId_First
FragmentCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByGroupId_Last
FragmentCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the last fragment collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByGroupId_Last
FragmentCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByGroupId_PrevAndNext
FragmentCollection[] findByGroupId_PrevAndNext(long fragmentCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ?.- Parameters:
fragmentCollectionId
- the primary key of the current fragment collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment collection
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
findByGroupId
Returns all the fragment collections where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDs- Returns:
- the matching fragment collections
-
findByGroupId
Returns a range of all the fragment collections where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByGroupId
List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByGroupId
List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the fragment collections where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of fragment collections where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching fragment collections
-
countByGroupId
int countByGroupId(long[] groupIds) Returns the number of fragment collections where groupId = any ?.- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching fragment collections
-
findByG_FCK
FragmentCollection findByG_FCK(long groupId, String fragmentCollectionKey) throws NoSuchCollectionException Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or throws aNoSuchCollectionException
if it could not be found.- Parameters:
groupId
- the group IDfragmentCollectionKey
- the fragment collection key- Returns:
- the matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByG_FCK
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDfragmentCollectionKey
- the fragment collection key- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
fetchByG_FCK
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDfragmentCollectionKey
- the fragment collection keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
removeByG_FCK
FragmentCollection removeByG_FCK(long groupId, String fragmentCollectionKey) throws NoSuchCollectionException Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.- Parameters:
groupId
- the group IDfragmentCollectionKey
- the fragment collection key- Returns:
- the fragment collection that was removed
- Throws:
NoSuchCollectionException
-
countByG_FCK
Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.- Parameters:
groupId
- the group IDfragmentCollectionKey
- the fragment collection key- Returns:
- the number of matching fragment collections
-
findByG_LikeN
Returns all the fragment collections where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching fragment collections
-
findByG_LikeN
Returns a range of all the fragment collections where groupId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByG_LikeN
List<FragmentCollection> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByG_LikeN
List<FragmentCollection> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
findByG_LikeN_First
FragmentCollection findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByG_LikeN_First
FragmentCollection fetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByG_LikeN_Last
FragmentCollection findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByG_LikeN_Last
FragmentCollection fetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment collection, or
null
if a matching fragment collection could not be found
-
findByG_LikeN_PrevAndNext
FragmentCollection[] findByG_LikeN_PrevAndNext(long fragmentCollectionId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ? and name LIKE ?.- Parameters:
fragmentCollectionId
- the primary key of the current fragment collectiongroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment collection
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
findByG_LikeN
Returns all the fragment collections where groupId = any ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsname
- the name- Returns:
- the matching fragment collections
-
findByG_LikeN
Returns a range of all the fragment collections where groupId = any ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of matching fragment collections
-
findByG_LikeN
List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections where groupId = any ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching fragment collections
-
findByG_LikeN
List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment collections
-
removeByG_LikeN
Removes all the fragment collections where groupId = ? and name LIKE ? from the database.- Parameters:
groupId
- the group IDname
- the name
-
countByG_LikeN
Returns the number of fragment collections where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching fragment collections
-
countByG_LikeN
Returns the number of fragment collections where groupId = any ? and name LIKE ?.- Parameters:
groupIds
- the group IDsname
- the name- Returns:
- the number of matching fragment collections
-
findByERC_G
FragmentCollection findByERC_G(String externalReferenceCode, long groupId) throws NoSuchCollectionException Returns the fragment collection where externalReferenceCode = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching fragment collection
- Throws:
NoSuchCollectionException
- if a matching fragment collection could not be found
-
fetchByERC_G
Returns the fragment collection where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
fetchByERC_G
Returns the fragment collection where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment collection, or
null
if a matching fragment collection could not be found
-
removeByERC_G
FragmentCollection removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchCollectionException Removes the fragment collection where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the fragment collection that was removed
- Throws:
NoSuchCollectionException
-
countByERC_G
Returns the number of fragment collections where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching fragment collections
-
cacheResult
Caches the fragment collection in the entity cache if it is enabled.- Parameters:
fragmentCollection
- the fragment collection
-
cacheResult
Caches the fragment collections in the entity cache if it is enabled.- Parameters:
fragmentCollections
- the fragment collections
-
create
Creates a new fragment collection with the primary key. Does not add the fragment collection to the database.- Parameters:
fragmentCollectionId
- the primary key for the new fragment collection- Returns:
- the new fragment collection
-
remove
Removes the fragment collection with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fragmentCollectionId
- the primary key of the fragment collection- Returns:
- the fragment collection that was removed
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the fragment collection with the primary key or throws aNoSuchCollectionException
if it could not be found.- Parameters:
fragmentCollectionId
- the primary key of the fragment collection- Returns:
- the fragment collection
- Throws:
NoSuchCollectionException
- if a fragment collection with the primary key could not be found
-
fetchByPrimaryKey
Returns the fragment collection with the primary key or returnsnull
if it could not be found.- Parameters:
fragmentCollectionId
- the primary key of the fragment collection- Returns:
- the fragment collection, or
null
if a fragment collection with the primary key could not be found
-
findAll
List<FragmentCollection> findAll()Returns all the fragment collections.- Returns:
- the fragment collections
-
findAll
Returns a range of all the fragment collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)- Returns:
- the range of fragment collections
-
findAll
List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of fragment collections
-
findAll
List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the fragment collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of fragment collections
-
removeAll
void removeAll()Removes all the fragment collections from the database. -
countAll
int countAll()Returns the number of fragment collections.- Returns:
- the number of fragment collections
-