public class LayoutPageTemplateStructureUtil
extends java.lang.Object
com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateStructurePersistenceImpl
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
LayoutPageTemplateStructurePersistence
Constructor and Description |
---|
LayoutPageTemplateStructureUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutPageTemplateStructure layoutPageTemplateStructure)
Caches the layout page template structure in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutPageTemplateStructure> layoutPageTemplateStructures)
Caches the layout page template structures in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutPageTemplateStructure layoutPageTemplateStructure) |
static int |
countAll()
Returns the number of layout page template structures.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of layout page template structures where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of layout page template structures where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout page template structures where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout page template structures where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout page template structures where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutPageTemplateStructure |
create(long layoutPageTemplateStructureId)
Creates a new layout page template structure with the primary key.
|
static LayoutPageTemplateStructure |
fetchByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
static LayoutPageTemplateStructure |
fetchByG_C_C(long groupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateStructure |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where groupId = ?.
|
static LayoutPageTemplateStructure |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where groupId = ?.
|
static LayoutPageTemplateStructure |
fetchByPrimaryKey(long layoutPageTemplateStructureId)
Returns the layout page template structure with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutPageTemplateStructure> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutPageTemplateStructure |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructure |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructure |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutPageTemplateStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout page template structure where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateStructure |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findAll()
Returns all the layout page template structures.
|
static java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end)
Returns a range of all the layout page template structures.
|
static java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures.
|
static java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures.
|
static LayoutPageTemplateStructure |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchPageTemplateStructureException if it could not be found. |
static LayoutPageTemplateStructure |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where groupId = ?.
|
static LayoutPageTemplateStructure |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where groupId = ?.
|
static LayoutPageTemplateStructure[] |
findByGroupId_PrevAndNext(long layoutPageTemplateStructureId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where groupId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId)
Returns all the layout page template structures where groupId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout page template structures where groupId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where groupId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where groupId = ?.
|
static LayoutPageTemplateStructure |
findByPrimaryKey(long layoutPageTemplateStructureId)
Returns the layout page template structure with the primary key or throws a
NoSuchPageTemplateStructureException if it could not be found. |
static LayoutPageTemplateStructure |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructure |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructure[] |
findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout page template structures where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout page template structures where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructure |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructure |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure where uuid = ? and groupId = ? or throws a
NoSuchPageTemplateStructureException if it could not be found. |
static LayoutPageTemplateStructure |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructure[] |
findByUuid_PrevAndNext(long layoutPageTemplateStructureId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid)
Returns all the layout page template structures where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout page template structures where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutPageTemplateStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutPageTemplateStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) |
static LayoutPageTemplateStructurePersistence |
getPersistence() |
static LayoutPageTemplateStructure |
remove(long layoutPageTemplateStructureId)
Removes the layout page template structure with the primary key from the database.
|
static void |
removeAll()
Removes all the layout page template structures from the database.
|
static LayoutPageTemplateStructure |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes the layout page template structure where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the layout page template structures where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout page template structures where uuid = ? and companyId = ? from the database.
|
static LayoutPageTemplateStructure |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout page template structure where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout page template structures where uuid = ? from the database.
|
static LayoutPageTemplateStructure |
update(LayoutPageTemplateStructure layoutPageTemplateStructure) |
static LayoutPageTemplateStructure |
update(LayoutPageTemplateStructure layoutPageTemplateStructure,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateStructure |
updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutPageTemplateStructure layoutPageTemplateStructure)
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,LayoutPageTemplateStructure> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutPageTemplateStructure update(LayoutPageTemplateStructure layoutPageTemplateStructure)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutPageTemplateStructure update(LayoutPageTemplateStructure layoutPageTemplateStructure, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)public static java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructure findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure[] findByUuid_PrevAndNext(long layoutPageTemplateStructureId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure 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 LayoutPageTemplateStructure findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure 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 structure could not be foundpublic static LayoutPageTemplateStructure 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 structure could not be foundpublic static LayoutPageTemplateStructure removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureException
uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)public static java.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructure findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure 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<LayoutPageTemplateStructure> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)public static java.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure[] findByGroupId_PrevAndNext(long layoutPageTemplateStructureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure 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 LayoutPageTemplateStructure findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByG_C_C(long groupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching layout page template structure could not be foundpublic static LayoutPageTemplateStructure removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchPageTemplateStructureException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchPageTemplateStructureException
public static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static void cacheResult(LayoutPageTemplateStructure layoutPageTemplateStructure)
layoutPageTemplateStructure
- the layout page template structurepublic static void cacheResult(java.util.List<LayoutPageTemplateStructure> layoutPageTemplateStructures)
layoutPageTemplateStructures
- the layout page template structurespublic static LayoutPageTemplateStructure create(long layoutPageTemplateStructureId)
layoutPageTemplateStructureId
- the primary key for the new layout page template structurepublic static LayoutPageTemplateStructure remove(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the layout page template structureNoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundpublic static LayoutPageTemplateStructure updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure)
public static LayoutPageTemplateStructure findByPrimaryKey(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.layoutPageTemplateStructureId
- the primary key of the layout page template structureNoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundpublic static LayoutPageTemplateStructure fetchByPrimaryKey(long layoutPageTemplateStructureId)
null
if it could not be found.layoutPageTemplateStructureId
- the primary key of the layout page template structurenull
if a layout page template structure with the primary key could not be foundpublic static java.util.List<LayoutPageTemplateStructure> findAll()
public static java.util.List<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)public static java.util.List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> 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 LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (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 LayoutPageTemplateStructurePersistence getPersistence()