public class FragmentCollectionUtil
extends java.lang.Object
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
FragmentCollectionPersistence
Constructor and Description |
---|
FragmentCollectionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(FragmentCollection fragmentCollection)
Caches the fragment collection in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<FragmentCollection> fragmentCollections)
Caches the fragment collections in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(FragmentCollection fragmentCollection) |
static int |
countAll()
Returns the number of fragment collections.
|
static int |
countByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.
|
static int |
countByG_LikeN(long[] groupIds,
java.lang.String name)
Returns the number of fragment collections where groupId = any ? and name LIKE ?.
|
static int |
countByG_LikeN(long groupId,
java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of fragment collections where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of fragment collections where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of fragment collections where uuid = ?.
|
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 |
fetchByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returns
null if it could not be found. |
static FragmentCollection |
fetchByG_FCK(long groupId,
java.lang.String fragmentCollectionKey,
boolean useFinderCache)
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static FragmentCollection |
fetchByG_LikeN_First(long groupId,
java.lang.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,
java.lang.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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,FragmentCollection> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static FragmentCollection |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the fragment collection where uuid = ? and groupId = ? or returns
null if it could not be found. |
static FragmentCollection |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the fragment collection where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static FragmentCollection |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Returns the last fragment collection in the ordered set where uuid = ?.
|
static java.util.List<FragmentCollection> |
findAll()
Returns all the fragment collections.
|
static java.util.List<FragmentCollection> |
findAll(int start,
int end)
Returns a range of all the fragment collections.
|
static java.util.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 java.util.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 |
findByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or throws a
NoSuchCollectionException if it could not be found. |
static FragmentCollection |
findByG_LikeN_First(long groupId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<FragmentCollection> |
findByG_LikeN(long[] groupIds,
java.lang.String name)
Returns all the fragment collections where groupId = any ? and name LIKE ?.
|
static java.util.List<FragmentCollection> |
findByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end)
Returns a range of all the fragment collections where groupId = any ? and name LIKE ?.
|
static java.util.List<FragmentCollection> |
findByG_LikeN(long[] groupIds,
java.lang.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 java.util.List<FragmentCollection> |
findByG_LikeN(long[] groupIds,
java.lang.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 java.util.List<FragmentCollection> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the fragment collections where groupId = ? and name LIKE ?.
|
static java.util.List<FragmentCollection> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the fragment collections where groupId = ? and name LIKE ?.
|
static java.util.List<FragmentCollection> |
findByG_LikeN(long groupId,
java.lang.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 java.util.List<FragmentCollection> |
findByG_LikeN(long groupId,
java.lang.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 |
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 java.util.List<FragmentCollection> |
findByGroupId(long groupId)
Returns all the fragment collections where groupId = ?.
|
static java.util.List<FragmentCollection> |
findByGroupId(long[] groupIds)
Returns all the fragment collections where groupId = any ?.
|
static java.util.List<FragmentCollection> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the fragment collections where groupId = any ?.
|
static java.util.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 java.util.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 java.util.List<FragmentCollection> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the fragment collections where groupId = ?.
|
static java.util.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 java.util.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 |
findByPrimaryKey(long fragmentCollectionId)
Returns the fragment collection with the primary key or throws a
NoSuchCollectionException if it could not be found. |
static FragmentCollection |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<FragmentCollection> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the fragment collections where uuid = ? and companyId = ?.
|
static java.util.List<FragmentCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the fragment collections where uuid = ? and companyId = ?.
|
static java.util.List<FragmentCollection> |
findByUuid_C(java.lang.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 java.util.List<FragmentCollection> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the fragment collection where uuid = ? and groupId = ? or throws a
NoSuchCollectionException if it could not be found. |
static FragmentCollection |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<FragmentCollection> |
findByUuid(java.lang.String uuid)
Returns all the fragment collections where uuid = ?.
|
static java.util.List<FragmentCollection> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the fragment collections where uuid = ?.
|
static java.util.List<FragmentCollection> |
findByUuid(java.lang.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 java.util.List<FragmentCollection> |
findByUuid(java.lang.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 java.util.List<FragmentCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<FragmentCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<FragmentCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static FragmentCollectionPersistence |
getPersistence() |
static FragmentCollection |
remove(long fragmentCollectionId)
Removes the fragment collection with the primary key from the database.
|
static void |
removeAll()
Removes all the fragment collections from the database.
|
static FragmentCollection |
removeByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.
|
static void |
removeByG_LikeN(long groupId,
java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the fragment collections where uuid = ? and companyId = ? from the database.
|
static FragmentCollection |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the fragment collection where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the fragment collections where uuid = ? from the database.
|
static FragmentCollection |
update(FragmentCollection fragmentCollection) |
static FragmentCollection |
update(FragmentCollection fragmentCollection,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentCollection |
updateImpl(FragmentCollection fragmentCollection) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(FragmentCollection fragmentCollection)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,FragmentCollection> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<FragmentCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static FragmentCollection update(FragmentCollection fragmentCollection)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static FragmentCollection update(FragmentCollection fragmentCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<FragmentCollection> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<FragmentCollection> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)public static java.util.List<FragmentCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentCollection findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection[] findByUuid_PrevAndNext(long fragmentCollectionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the current fragment collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static FragmentCollection findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching fragment collection could not be foundpublic static FragmentCollection removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCollectionException
uuid
- the uuidgroupId
- the group IDNoSuchCollectionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<FragmentCollection> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<FragmentCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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)public static java.util.List<FragmentCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentCollection findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection[] findByUuid_C_PrevAndNext(long fragmentCollectionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the current fragment collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<FragmentCollection> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<FragmentCollection> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)public static java.util.List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection[] findByGroupId_PrevAndNext(long fragmentCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the current fragment collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static java.util.List<FragmentCollection> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
groupIds
- the group IDspublic static java.util.List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)public static java.util.List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static FragmentCollection findByG_FCK(long groupId, java.lang.String fragmentCollectionKey) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.groupId
- the group IDfragmentCollectionKey
- the fragment collection keyNoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByG_FCK(long groupId, java.lang.String fragmentCollectionKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDfragmentCollectionKey
- the fragment collection keynull
if a matching fragment collection could not be foundpublic static FragmentCollection fetchByG_FCK(long groupId, java.lang.String fragmentCollectionKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDfragmentCollectionKey
- the fragment collection keyuseFinderCache
- whether to use the finder cachenull
if a matching fragment collection could not be foundpublic static FragmentCollection removeByG_FCK(long groupId, java.lang.String fragmentCollectionKey) throws NoSuchCollectionException
groupId
- the group IDfragmentCollectionKey
- the fragment collection keyNoSuchCollectionException
public static int countByG_FCK(long groupId, java.lang.String fragmentCollectionKey)
groupId
- the group IDfragmentCollectionKey
- the fragment collection keypublic static java.util.List<FragmentCollection> findByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<FragmentCollection> findByG_LikeN(long groupId, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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)public static java.util.List<FragmentCollection> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentCollection findByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection findByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching fragment collection could not be foundpublic static FragmentCollection fetchByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment collection could not be foundpublic static FragmentCollection[] findByG_LikeN_PrevAndNext(long fragmentCollectionId, long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the current fragment collectiongroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static java.util.List<FragmentCollection> findByG_LikeN(long[] groupIds, java.lang.String name)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
groupIds
- the group IDsname
- the namepublic static java.util.List<FragmentCollection> findByG_LikeN(long[] groupIds, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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)public static java.util.List<FragmentCollection> findByG_LikeN(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findByG_LikeN(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static int countByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static int countByG_LikeN(long[] groupIds, java.lang.String name)
groupIds
- the group IDsname
- the namepublic static void cacheResult(FragmentCollection fragmentCollection)
fragmentCollection
- the fragment collectionpublic static void cacheResult(java.util.List<FragmentCollection> fragmentCollections)
fragmentCollections
- the fragment collectionspublic static FragmentCollection create(long fragmentCollectionId)
fragmentCollectionId
- the primary key for the new fragment collectionpublic static FragmentCollection remove(long fragmentCollectionId) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the fragment collectionNoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static FragmentCollection updateImpl(FragmentCollection fragmentCollection)
public static FragmentCollection findByPrimaryKey(long fragmentCollectionId) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.fragmentCollectionId
- the primary key of the fragment collectionNoSuchCollectionException
- if a fragment collection with the primary key could not be foundpublic static FragmentCollection fetchByPrimaryKey(long fragmentCollectionId)
null
if it could not be found.fragmentCollectionId
- the primary key of the fragment collectionnull
if a fragment collection with the primary key could not be foundpublic static java.util.List<FragmentCollection> findAll()
public static java.util.List<FragmentCollection> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
start
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)public static java.util.List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)public static java.util.List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static FragmentCollectionPersistence getPersistence()