Class FragmentCollectionUtil
com.liferay.fragment.service.persistence.impl.FragmentCollectionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(FragmentCollection fragmentCollection) Caches the fragment collection in the entity cache if it is enabled.static void
cacheResult
(List<FragmentCollection> fragmentCollections) Caches the fragment collections in the entity cache if it is enabled.static void
static void
clearCache
(FragmentCollection fragmentCollection) static int
countAll()
Returns the number of fragment collections.static int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of fragment collections where externalReferenceCode = ? and groupId = ?.static int
countByG_FCK
(long groupId, String fragmentCollectionKey) Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.static int
countByG_LikeN
(long[] groupIds, String name) Returns the number of fragment collections where groupId = any ? and name LIKE ?.static int
countByG_LikeN
(long groupId, String name) Returns the number of fragment collections where groupId = ? and name LIKE ?.static int
countByGroupId
(long groupId) Returns the number of fragment collections where groupId = ?.static int
countByGroupId
(long[] groupIds) Returns the number of fragment collections where groupId = any ?.static int
countByUuid
(String uuid) Returns the number of fragment collections where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of fragment collections where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of fragment collections where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static FragmentCollection
create
(long fragmentCollectionId) Creates a new fragment collection with the primary key.static FragmentCollection
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the fragment collection where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static FragmentCollection
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.static FragmentCollection
fetchByG_FCK
(long groupId, String fragmentCollectionKey) Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returnsnull
if it could not be found.static FragmentCollection
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.static 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 ?.static 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 ?.static FragmentCollection
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ?.static FragmentCollection
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ?.static FragmentCollection
fetchByPrimaryKey
(long fragmentCollectionId) Returns the fragment collection with the primary key or returnsnull
if it could not be found.static Map<Serializable,
FragmentCollection> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static FragmentCollection
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ?.static FragmentCollection
fetchByUUID_G
(String uuid, long groupId) Returns the fragment collection where uuid = ? and groupId = ? or returnsnull
if it could not be found.static FragmentCollection
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.static FragmentCollection
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ?.static List<FragmentCollection>
findAll()
Returns all the fragment collections.static List<FragmentCollection>
findAll
(int start, int end) Returns a range of all the fragment collections.static List<FragmentCollection>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns an ordered range of all the fragment collections.static 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.static FragmentCollection
findByERC_G
(String externalReferenceCode, long groupId) Returns the fragment collection where externalReferenceCode = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.static FragmentCollection
findByG_FCK
(long groupId, String fragmentCollectionKey) Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or throws aNoSuchCollectionException
if it could not be found.static List<FragmentCollection>
findByG_LikeN
(long[] groupIds, String name) Returns all the fragment collections where groupId = any ? and name LIKE ?.static List<FragmentCollection>
findByG_LikeN
(long[] groupIds, String name, int start, int end) Returns a range of all the fragment collections where groupId = any ? and name LIKE ?.static 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 ?.static 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.static List<FragmentCollection>
findByG_LikeN
(long groupId, String name) Returns all the fragment collections where groupId = ? and name LIKE ?.static List<FragmentCollection>
findByG_LikeN
(long groupId, String name, int start, int end) Returns a range of all the fragment collections where groupId = ? and name LIKE ?.static 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 ?.static 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 ?.static FragmentCollection
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 ?.static FragmentCollection
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 ?.static FragmentCollection[]
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 ?.static List<FragmentCollection>
findByGroupId
(long groupId) Returns all the fragment collections where groupId = ?.static List<FragmentCollection>
findByGroupId
(long[] groupIds) Returns all the fragment collections where groupId = any ?.static List<FragmentCollection>
findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the fragment collections where groupId = any ?.static 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 ?.static 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.static List<FragmentCollection>
findByGroupId
(long groupId, int start, int end) Returns a range of all the fragment collections where groupId = ?.static 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 = ?.static 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 = ?.static FragmentCollection
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where groupId = ?.static FragmentCollection
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where groupId = ?.static FragmentCollection[]
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 = ?.static FragmentCollection
findByPrimaryKey
(long fragmentCollectionId) Returns the fragment collection with the primary key or throws aNoSuchCollectionException
if it could not be found.static List<FragmentCollection>
findByUuid
(String uuid) Returns all the fragment collections where uuid = ?.static List<FragmentCollection>
findByUuid
(String uuid, int start, int end) Returns a range of all the fragment collections where uuid = ?.static 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 = ?.static 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 = ?.static List<FragmentCollection>
findByUuid_C
(String uuid, long companyId) Returns all the fragment collections where uuid = ? and companyId = ?.static List<FragmentCollection>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the fragment collections where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static FragmentCollection
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 = ?.static FragmentCollection
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 = ?.static FragmentCollection[]
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 = ?.static FragmentCollection
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the first fragment collection in the ordered set where uuid = ?.static FragmentCollection
findByUUID_G
(String uuid, long groupId) Returns the fragment collection where uuid = ? and groupId = ? or throws aNoSuchCollectionException
if it could not be found.static FragmentCollection
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) Returns the last fragment collection in the ordered set where uuid = ?.static FragmentCollection[]
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 = ?.static List<FragmentCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<FragmentCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<FragmentCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static FragmentCollection
remove
(long fragmentCollectionId) Removes the fragment collection with the primary key from the database.static void
Removes all the fragment collections from the database.static FragmentCollection
removeByERC_G
(String externalReferenceCode, long groupId) Removes the fragment collection where externalReferenceCode = ? and groupId = ? from the database.static FragmentCollection
removeByG_FCK
(long groupId, String fragmentCollectionKey) Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.static void
removeByG_LikeN
(long groupId, String name) Removes all the fragment collections where groupId = ? and name LIKE ? from the database.static void
removeByGroupId
(long groupId) Removes all the fragment collections where groupId = ? from the database.static void
removeByUuid
(String uuid) Removes all the fragment collections where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the fragment collections where uuid = ? and companyId = ? from the database.static FragmentCollection
removeByUUID_G
(String uuid, long groupId) Removes the fragment collection where uuid = ? and groupId = ? from the database.static void
setPersistence
(FragmentCollectionPersistence persistence) static FragmentCollection
update
(FragmentCollection fragmentCollection) static FragmentCollection
update
(FragmentCollection fragmentCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentCollection
updateImpl
(FragmentCollection fragmentCollection)
-
Constructor Details
-
FragmentCollectionUtil
public FragmentCollectionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,FragmentCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static FragmentCollection update(FragmentCollection fragmentCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static FragmentCollection findByUUID_G(String uuid, long groupId) throws NoSuchCollectionException 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 foundNoSuchCollectionException
-
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
public static FragmentCollection removeByUUID_G(String uuid, long groupId) throws NoSuchCollectionException 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
public static List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByGroupId_First
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByGroupId_Last
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static 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
public static 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
public static void removeByGroupId(long groupId) Removes all the fragment collections where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static FragmentCollection 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.- 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByG_LikeN_First
public static 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
public static 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 foundNoSuchCollectionException
-
fetchByG_LikeN_Last
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCollectionException
-
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
public static FragmentCollection 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.- 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
public static 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 foundNoSuchCollectionException
-
updateImpl
-
findByPrimaryKey
public static FragmentCollection findByPrimaryKey(long fragmentCollectionId) throws NoSuchCollectionException 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 foundNoSuchCollectionException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the fragment collections from the database. -
countAll
public static int countAll()Returns the number of fragment collections.- Returns:
- the number of fragment collections
-
getPersistence
-
setPersistence
-