@ProviderType public interface FragmentCollectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>
Caching information and settings can be found in portal.properties
com.liferay.fragment.service.persistence.impl.FragmentCollectionPersistenceImpl
,
FragmentCollectionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(FragmentCollection fragmentCollection)
Caches the fragment collection in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<FragmentCollection> fragmentCollections)
Caches the fragment collections in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of fragment collections.
|
int |
countByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.
|
int |
countByG_LikeN(long groupId,
java.lang.String name)
Returns the number of fragment collections where groupId = ? and name LIKE ?.
|
int |
countByGroupId(long groupId)
Returns the number of fragment collections where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of fragment collections where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of fragment collections where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of fragment collections where uuid = ?.
|
FragmentCollection |
create(long fragmentCollectionId)
Creates a new fragment collection with the primary key.
|
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. |
FragmentCollection |
fetchByG_FCK(long groupId,
java.lang.String fragmentCollectionKey,
boolean retrieveFromCache)
Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returns
null if it could not be found, optionally using the finder cache. |
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 ?.
|
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 ?.
|
FragmentCollection |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Returns the first fragment collection in the ordered set where groupId = ?.
|
FragmentCollection |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Returns the last fragment collection in the ordered set where groupId = ?.
|
FragmentCollection |
fetchByPrimaryKey(long fragmentCollectionId)
Returns the fragment collection with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,FragmentCollection> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
FragmentCollection |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the fragment collection where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
java.util.List<FragmentCollection> |
findAll()
Returns all the fragment collections.
|
java.util.List<FragmentCollection> |
findAll(int start,
int end)
Returns a range of all the fragment collections.
|
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.
|
java.util.List<FragmentCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the fragment collections.
|
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. |
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 ?.
|
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 ?.
|
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 ?.
|
java.util.List<FragmentCollection> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the fragment collections where groupId = ? and name LIKE ?.
|
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 ?.
|
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 ?.
|
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 retrieveFromCache)
Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?.
|
FragmentCollection |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Returns the first fragment collection in the ordered set where groupId = ?.
|
FragmentCollection |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
Returns the last fragment collection in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<FragmentCollection> |
findByGroupId(long groupId)
Returns all the fragment collections where groupId = ?.
|
java.util.List<FragmentCollection> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the fragment collections where groupId = ?.
|
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 = ?.
|
java.util.List<FragmentCollection> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the fragment collections where groupId = ?.
|
FragmentCollection |
findByPrimaryKey(long fragmentCollectionId)
Returns the fragment collection with the primary key or throws a
NoSuchCollectionException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<FragmentCollection> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the fragment collections where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the fragment collections where uuid = ? and companyId = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<FragmentCollection> |
findByUuid(java.lang.String uuid)
Returns all the fragment collections where uuid = ?.
|
java.util.List<FragmentCollection> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the fragment collections where uuid = ?.
|
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 = ?.
|
java.util.List<FragmentCollection> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the fragment collections where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
FragmentCollection |
remove(long fragmentCollectionId)
Removes the fragment collection with the primary key from the database.
|
void |
removeAll()
Removes all the fragment collections from the database.
|
FragmentCollection |
removeByG_FCK(long groupId,
java.lang.String fragmentCollectionKey)
Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.
|
void |
removeByG_LikeN(long groupId,
java.lang.String name)
Removes all the fragment collections where groupId = ? and name LIKE ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the fragment collections where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the fragment collections where uuid = ? and companyId = ? from the database.
|
FragmentCollection |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the fragment collection where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the fragment collections where uuid = ? from the database.
|
FragmentCollection |
updateImpl(FragmentCollection fragmentCollection) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<FragmentCollection> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<FragmentCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching fragment collection could not be foundFragmentCollection removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCollectionException
uuid
- the uuidgroupId
- the group IDNoSuchCollectionException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<FragmentCollection> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<FragmentCollection> findByGroupId(long groupId)
groupId
- the group IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection[] 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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection fetchByG_FCK(long groupId, java.lang.String fragmentCollectionKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDfragmentCollectionKey
- the fragment collection keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching fragment collection could not be foundFragmentCollection removeByG_FCK(long groupId, java.lang.String fragmentCollectionKey) throws NoSuchCollectionException
groupId
- the group IDfragmentCollectionKey
- the fragment collection keyNoSuchCollectionException
int countByG_FCK(long groupId, java.lang.String fragmentCollectionKey)
groupId
- the group IDfragmentCollectionKey
- the fragment collection keyjava.util.List<FragmentCollection> findByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namejava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection 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 foundFragmentCollection[] 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 foundvoid removeByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the nameint countByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namevoid cacheResult(FragmentCollection fragmentCollection)
fragmentCollection
- the fragment collectionvoid cacheResult(java.util.List<FragmentCollection> fragmentCollections)
fragmentCollections
- the fragment collectionsFragmentCollection create(long fragmentCollectionId)
fragmentCollectionId
- the primary key for the new fragment collectionFragmentCollection remove(long fragmentCollectionId) throws NoSuchCollectionException
fragmentCollectionId
- the primary key of the fragment collectionNoSuchCollectionException
- if a fragment collection with the primary key could not be foundFragmentCollection updateImpl(FragmentCollection fragmentCollection)
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 foundFragmentCollection 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 foundjava.util.Map<java.io.Serializable,FragmentCollection> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>
java.util.List<FragmentCollection> findAll()
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of fragment collectionsend
- the upper bound of the range of fragment collections (not inclusive)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from FragmentCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>