public class LayoutPageTemplateCollectionUtil
extends java.lang.Object
com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateCollectionPersistenceImpl
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
LayoutPageTemplateCollectionPersistence
Constructor and Description |
---|
LayoutPageTemplateCollectionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutPageTemplateCollection layoutPageTemplateCollection)
Caches the layout page template collection in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutPageTemplateCollection> layoutPageTemplateCollections)
Caches the layout page template collections in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutPageTemplateCollection layoutPageTemplateCollection) |
static int |
countAll()
Returns the number of layout page template collections.
|
static int |
countByG_LikeN(long groupId,
java.lang.String name)
Returns the number of layout page template collections where groupId = ? and name LIKE ?.
|
static int |
countByG_N(long groupId,
java.lang.String name)
Returns the number of layout page template collections where groupId = ? and name = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of layout page template collections where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout page template collections where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout page template collections where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout page template collections where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutPageTemplateCollection |
create(long layoutPageTemplateCollectionId)
Creates a new layout page template collection with the primary key.
|
static LayoutPageTemplateCollection |
fetchByG_LikeN_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection |
fetchByG_LikeN_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection |
fetchByG_N(long groupId,
java.lang.String name)
Returns the layout page template collection where groupId = ? and name = ? or returns
null if it could not be found. |
static LayoutPageTemplateCollection |
fetchByG_N(long groupId,
java.lang.String name,
boolean useFinderCache)
Returns the layout page template collection where groupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateCollection |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where groupId = ?.
|
static LayoutPageTemplateCollection |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where groupId = ?.
|
static LayoutPageTemplateCollection |
fetchByPrimaryKey(long layoutPageTemplateCollectionId)
Returns the layout page template collection with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutPageTemplateCollection> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutPageTemplateCollection |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateCollection |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateCollection |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where uuid = ?.
|
static LayoutPageTemplateCollection |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template collection where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutPageTemplateCollection |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout page template collection where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateCollection |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where uuid = ?.
|
static int |
filterCountByG_LikeN(long groupId,
java.lang.String name)
Returns the number of layout page template collections that the user has permission to view where groupId = ? and name LIKE ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of layout page template collections that the user has permission to view where groupId = ?.
|
static LayoutPageTemplateCollection[] |
filterFindByG_LikeN_PrevAndNext(long layoutPageTemplateCollectionId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByG_LikeN(long groupId,
java.lang.String name)
Returns all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection[] |
filterFindByGroupId_PrevAndNext(long layoutPageTemplateCollectionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByGroupId(long groupId)
Returns all the layout page template collections that the user has permission to view where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout page template collections that the user has permission to view where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findAll()
Returns all the layout page template collections.
|
static java.util.List<LayoutPageTemplateCollection> |
findAll(int start,
int end)
Returns a range of all the layout page template collections.
|
static java.util.List<LayoutPageTemplateCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections.
|
static java.util.List<LayoutPageTemplateCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template collections.
|
static LayoutPageTemplateCollection |
findByG_LikeN_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection |
findByG_LikeN_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection[] |
findByG_LikeN_PrevAndNext(long layoutPageTemplateCollectionId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the layout page template collections where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the layout page template collections where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ?.
|
static LayoutPageTemplateCollection |
findByG_N(long groupId,
java.lang.String name)
Returns the layout page template collection where groupId = ? and name = ? or throws a
NoSuchPageTemplateCollectionException if it could not be found. |
static LayoutPageTemplateCollection |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where groupId = ?.
|
static LayoutPageTemplateCollection |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where groupId = ?.
|
static LayoutPageTemplateCollection[] |
findByGroupId_PrevAndNext(long layoutPageTemplateCollectionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByGroupId(long groupId)
Returns all the layout page template collections where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout page template collections where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections where groupId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template collections where groupId = ?.
|
static LayoutPageTemplateCollection |
findByPrimaryKey(long layoutPageTemplateCollectionId)
Returns the layout page template collection with the primary key or throws a
NoSuchPageTemplateCollectionException if it could not be found. |
static LayoutPageTemplateCollection |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateCollection |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateCollection[] |
findByUuid_C_PrevAndNext(long layoutPageTemplateCollectionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout page template collections where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout page template collections where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template collections where uuid = ? and companyId = ?.
|
static LayoutPageTemplateCollection |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the first layout page template collection in the ordered set where uuid = ?.
|
static LayoutPageTemplateCollection |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template collection where uuid = ? and groupId = ? or throws a
NoSuchPageTemplateCollectionException if it could not be found. |
static LayoutPageTemplateCollection |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the last layout page template collection in the ordered set where uuid = ?.
|
static LayoutPageTemplateCollection[] |
findByUuid_PrevAndNext(long layoutPageTemplateCollectionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid(java.lang.String uuid)
Returns all the layout page template collections where uuid = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout page template collections where uuid = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
Returns an ordered range of all the layout page template collections where uuid = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template collections where uuid = ?.
|
static java.util.List<LayoutPageTemplateCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutPageTemplateCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutPageTemplateCollection> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) |
static LayoutPageTemplateCollectionPersistence |
getPersistence() |
static LayoutPageTemplateCollection |
remove(long layoutPageTemplateCollectionId)
Removes the layout page template collection with the primary key from the database.
|
static void |
removeAll()
Removes all the layout page template collections from the database.
|
static void |
removeByG_LikeN(long groupId,
java.lang.String name)
Removes all the layout page template collections where groupId = ? and name LIKE ? from the database.
|
static LayoutPageTemplateCollection |
removeByG_N(long groupId,
java.lang.String name)
Removes the layout page template collection where groupId = ? and name = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the layout page template collections where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout page template collections where uuid = ? and companyId = ? from the database.
|
static LayoutPageTemplateCollection |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout page template collection where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout page template collections where uuid = ? from the database.
|
static LayoutPageTemplateCollection |
update(LayoutPageTemplateCollection layoutPageTemplateCollection) |
static LayoutPageTemplateCollection |
update(LayoutPageTemplateCollection layoutPageTemplateCollection,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateCollection |
updateImpl(LayoutPageTemplateCollection layoutPageTemplateCollection) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutPageTemplateCollection layoutPageTemplateCollection)
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,LayoutPageTemplateCollection> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutPageTemplateCollection update(LayoutPageTemplateCollection layoutPageTemplateCollection)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutPageTemplateCollection update(LayoutPageTemplateCollection layoutPageTemplateCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutPageTemplateCollection> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateCollection> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateCollection findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection[] findByUuid_PrevAndNext(long layoutPageTemplateCollectionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template 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 LayoutPageTemplateCollection findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateCollectionException
NoSuchPageTemplateCollectionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection 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 layout page template collection could not be foundpublic static LayoutPageTemplateCollection 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 layout page template collection could not be foundpublic static LayoutPageTemplateCollection removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateCollectionException
uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateCollectionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutPageTemplateCollection> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateCollection> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateCollection findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection[] findByUuid_C_PrevAndNext(long layoutPageTemplateCollectionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template 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<LayoutPageTemplateCollection> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection[] findByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic static java.util.List<LayoutPageTemplateCollection> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<LayoutPageTemplateCollection> filterFindByGroupId(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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutPageTemplateCollection[] filterFindByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static LayoutPageTemplateCollection findByG_N(long groupId, java.lang.String name) throws NoSuchPageTemplateCollectionException
NoSuchPageTemplateCollectionException
if it could not be found.groupId
- the group IDname
- the nameNoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByG_N(long groupId, java.lang.String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDname
- the namenull
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByG_N(long groupId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection removeByG_N(long groupId, java.lang.String name) throws NoSuchPageTemplateCollectionException
groupId
- the group IDname
- the nameNoSuchPageTemplateCollectionException
public static int countByG_N(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<LayoutPageTemplateCollection> findByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateCollection> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateCollection findByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection findByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection fetchByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template collection could not be foundpublic static LayoutPageTemplateCollection[] findByG_LikeN_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectiongroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic static java.util.List<LayoutPageTemplateCollection> filterFindByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<LayoutPageTemplateCollection> filterFindByG_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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> filterFindByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutPageTemplateCollection[] filterFindByG_LikeN_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the current layout page template collectiongroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic 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 filterCountByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static void cacheResult(LayoutPageTemplateCollection layoutPageTemplateCollection)
layoutPageTemplateCollection
- the layout page template collectionpublic static void cacheResult(java.util.List<LayoutPageTemplateCollection> layoutPageTemplateCollections)
layoutPageTemplateCollections
- the layout page template collectionspublic static LayoutPageTemplateCollection create(long layoutPageTemplateCollectionId)
layoutPageTemplateCollectionId
- the primary key for the new layout page template collectionpublic static LayoutPageTemplateCollection remove(long layoutPageTemplateCollectionId) throws NoSuchPageTemplateCollectionException
layoutPageTemplateCollectionId
- the primary key of the layout page template collectionNoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic static LayoutPageTemplateCollection updateImpl(LayoutPageTemplateCollection layoutPageTemplateCollection)
public static LayoutPageTemplateCollection findByPrimaryKey(long layoutPageTemplateCollectionId) throws NoSuchPageTemplateCollectionException
NoSuchPageTemplateCollectionException
if it could not be found.layoutPageTemplateCollectionId
- the primary key of the layout page template collectionNoSuchPageTemplateCollectionException
- if a layout page template collection with the primary key could not be foundpublic static LayoutPageTemplateCollection fetchByPrimaryKey(long layoutPageTemplateCollectionId)
null
if it could not be found.layoutPageTemplateCollectionId
- the primary key of the layout page template collectionnull
if a layout page template collection with the primary key could not be foundpublic static java.util.List<LayoutPageTemplateCollection> findAll()
public static java.util.List<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
start
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)public static java.util.List<LayoutPageTemplateCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
start
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template collections (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> 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 LayoutPageTemplateCollectionModelImpl
.
start
- the lower bound of the range of layout page template collectionsend
- the upper bound of the range of layout page template 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 LayoutPageTemplateCollectionPersistence getPersistence()