public class LayoutPageTemplateStructureRelUtil
extends java.lang.Object
com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateStructureRelPersistenceImpl
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
LayoutPageTemplateStructureRelPersistence
Constructor and Description |
---|
LayoutPageTemplateStructureRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
Caches the layout page template structure rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutPageTemplateStructureRel> layoutPageTemplateStructureRels)
Caches the layout page template structure rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) |
static int |
countAll()
Returns the number of layout page template structure rels.
|
static int |
countByL_S(long layoutPageTemplateStructureId,
long segmentsExperienceId)
Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ? and segmentsExperienceId = ?.
|
static int |
countByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ?.
|
static int |
countBySegmentsExperienceId(long segmentsExperienceId)
Returns the number of layout page template structure rels where segmentsExperienceId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout page template structure rels where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout page template structure rels where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout page template structure rels where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutPageTemplateStructureRel |
create(long layoutPageTemplateStructureRelId)
Creates a new layout page template structure rel with the primary key.
|
static LayoutPageTemplateStructureRel |
fetchByL_S(long layoutPageTemplateStructureId,
long segmentsExperienceId)
Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returns
null if it could not be found. |
static LayoutPageTemplateStructureRel |
fetchByL_S(long layoutPageTemplateStructureId,
long segmentsExperienceId,
boolean useFinderCache)
Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateStructureRel |
fetchByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
|
static LayoutPageTemplateStructureRel |
fetchByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
|
static LayoutPageTemplateStructureRel |
fetchByPrimaryKey(long layoutPageTemplateStructureRelId)
Returns the layout page template structure rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutPageTemplateStructureRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutPageTemplateStructureRel |
fetchBySegmentsExperienceId_First(long segmentsExperienceId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where segmentsExperienceId = ?.
|
static LayoutPageTemplateStructureRel |
fetchBySegmentsExperienceId_Last(long segmentsExperienceId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where segmentsExperienceId = ?.
|
static LayoutPageTemplateStructureRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructureRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructureRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructureRel |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure rel where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutPageTemplateStructureRel |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout page template structure rel where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutPageTemplateStructureRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findAll()
Returns all the layout page template structure rels.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findAll(int start,
int end)
Returns a range of all the layout page template structure rels.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns an ordered range of all the layout page template structure rels.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structure rels.
|
static LayoutPageTemplateStructureRel |
findByL_S(long layoutPageTemplateStructureId,
long segmentsExperienceId)
Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or throws a
NoSuchPageTemplateStructureRelException if it could not be found. |
static LayoutPageTemplateStructureRel |
findByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
|
static LayoutPageTemplateStructureRel |
findByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
|
static LayoutPageTemplateStructureRel[] |
findByLayoutPageTemplateStructureId_PrevAndNext(long layoutPageTemplateStructureRelId,
long layoutPageTemplateStructureId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
Returns all the layout page template structure rels where layoutPageTemplateStructureId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId,
int start,
int end)
Returns a range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns an ordered range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.
|
static LayoutPageTemplateStructureRel |
findByPrimaryKey(long layoutPageTemplateStructureRelId)
Returns the layout page template structure rel with the primary key or throws a
NoSuchPageTemplateStructureRelException if it could not be found. |
static LayoutPageTemplateStructureRel |
findBySegmentsExperienceId_First(long segmentsExperienceId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where segmentsExperienceId = ?.
|
static LayoutPageTemplateStructureRel |
findBySegmentsExperienceId_Last(long segmentsExperienceId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where segmentsExperienceId = ?.
|
static LayoutPageTemplateStructureRel[] |
findBySegmentsExperienceId_PrevAndNext(long layoutPageTemplateStructureRelId,
long segmentsExperienceId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where segmentsExperienceId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findBySegmentsExperienceId(long segmentsExperienceId)
Returns all the layout page template structure rels where segmentsExperienceId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findBySegmentsExperienceId(long segmentsExperienceId,
int start,
int end)
Returns a range of all the layout page template structure rels where segmentsExperienceId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findBySegmentsExperienceId(long segmentsExperienceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns an ordered range of all the layout page template structure rels where segmentsExperienceId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findBySegmentsExperienceId(long segmentsExperienceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structure rels where segmentsExperienceId = ?.
|
static LayoutPageTemplateStructureRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructureRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructureRel[] |
findByUuid_C_PrevAndNext(long layoutPageTemplateStructureRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout page template structure rels where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout page template structure rels where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns an ordered range of all the layout page template structure rels where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structure rels where uuid = ? and companyId = ?.
|
static LayoutPageTemplateStructureRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the first layout page template structure rel in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructureRel |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure rel where uuid = ? and groupId = ? or throws a
NoSuchPageTemplateStructureRelException if it could not be found. |
static LayoutPageTemplateStructureRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the last layout page template structure rel in the ordered set where uuid = ?.
|
static LayoutPageTemplateStructureRel[] |
findByUuid_PrevAndNext(long layoutPageTemplateStructureRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid(java.lang.String uuid)
Returns all the layout page template structure rels where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout page template structure rels where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
Returns an ordered range of all the layout page template structure rels where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structure rels where uuid = ?.
|
static java.util.List<LayoutPageTemplateStructureRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutPageTemplateStructureRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutPageTemplateStructureRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) |
static LayoutPageTemplateStructureRelPersistence |
getPersistence() |
static LayoutPageTemplateStructureRel |
remove(long layoutPageTemplateStructureRelId)
Removes the layout page template structure rel with the primary key from the database.
|
static void |
removeAll()
Removes all the layout page template structure rels from the database.
|
static LayoutPageTemplateStructureRel |
removeByL_S(long layoutPageTemplateStructureId,
long segmentsExperienceId)
Removes the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? from the database.
|
static void |
removeByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
Removes all the layout page template structure rels where layoutPageTemplateStructureId = ? from the database.
|
static void |
removeBySegmentsExperienceId(long segmentsExperienceId)
Removes all the layout page template structure rels where segmentsExperienceId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout page template structure rels where uuid = ? and companyId = ? from the database.
|
static LayoutPageTemplateStructureRel |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout page template structure rel where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout page template structure rels where uuid = ? from the database.
|
static LayoutPageTemplateStructureRel |
update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) |
static LayoutPageTemplateStructureRel |
update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateStructureRel |
updateImpl(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
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,LayoutPageTemplateStructureRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutPageTemplateStructureRel update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutPageTemplateStructureRel update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutPageTemplateStructureRel> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)public static java.util.List<LayoutPageTemplateStructureRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructureRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructureRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel[] findByUuid_PrevAndNext(long layoutPageTemplateStructureRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a layout page template structure rel 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 LayoutPageTemplateStructureRel findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureRelException
NoSuchPageTemplateStructureRelException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel 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 rel could not be foundpublic static LayoutPageTemplateStructureRel 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 rel could not be foundpublic static LayoutPageTemplateStructureRel removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureRelException
uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureRelException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutPageTemplateStructureRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)public static java.util.List<LayoutPageTemplateStructureRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructureRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructureRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a layout page template structure rel 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<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
layoutPageTemplateStructureId
- the layout page template structure IDpublic static java.util.List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, 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 LayoutPageTemplateStructureRelModelImpl
.
layoutPageTemplateStructureId
- the layout page template structure IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)public static java.util.List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
layoutPageTemplateStructureId
- the layout page template structure IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
layoutPageTemplateStructureId
- the layout page template structure IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel[] findByLayoutPageTemplateStructureId_PrevAndNext(long layoutPageTemplateStructureRelId, long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure rellayoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundpublic static void removeByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
layoutPageTemplateStructureId
- the layout page template structure IDpublic static int countByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
layoutPageTemplateStructureId
- the layout page template structure IDpublic static java.util.List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId)
segmentsExperienceId
- the segments experience IDpublic static java.util.List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, 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 LayoutPageTemplateStructureRelModelImpl
.
segmentsExperienceId
- the segments experience IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)public static java.util.List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
segmentsExperienceId
- the segments experience IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
segmentsExperienceId
- the segments experience IDstart
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutPageTemplateStructureRel findBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel findBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel[] findBySegmentsExperienceId_PrevAndNext(long layoutPageTemplateStructureRelId, long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure relsegmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundpublic static void removeBySegmentsExperienceId(long segmentsExperienceId)
segmentsExperienceId
- the segments experience IDpublic static int countBySegmentsExperienceId(long segmentsExperienceId)
segmentsExperienceId
- the segments experience IDpublic static LayoutPageTemplateStructureRel findByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException
NoSuchPageTemplateStructureRelException
if it could not be found.layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDNoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId)
null
if it could not be found. Uses the finder cache.layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDnull
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDuseFinderCache
- whether to use the finder cachenull
if a matching layout page template structure rel could not be foundpublic static LayoutPageTemplateStructureRel removeByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDNoSuchPageTemplateStructureRelException
public static int countByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId)
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDpublic static void cacheResult(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
layoutPageTemplateStructureRel
- the layout page template structure relpublic static void cacheResult(java.util.List<LayoutPageTemplateStructureRel> layoutPageTemplateStructureRels)
layoutPageTemplateStructureRels
- the layout page template structure relspublic static LayoutPageTemplateStructureRel create(long layoutPageTemplateStructureRelId)
layoutPageTemplateStructureRelId
- the primary key for the new layout page template structure relpublic static LayoutPageTemplateStructureRel remove(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException
layoutPageTemplateStructureRelId
- the primary key of the layout page template structure relNoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundpublic static LayoutPageTemplateStructureRel updateImpl(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
public static LayoutPageTemplateStructureRel findByPrimaryKey(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException
NoSuchPageTemplateStructureRelException
if it could not be found.layoutPageTemplateStructureRelId
- the primary key of the layout page template structure relNoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundpublic static LayoutPageTemplateStructureRel fetchByPrimaryKey(long layoutPageTemplateStructureRelId)
null
if it could not be found.layoutPageTemplateStructureRelId
- the primary key of the layout page template structure relnull
if a layout page template structure rel with the primary key could not be foundpublic static java.util.List<LayoutPageTemplateStructureRel> findAll()
public static java.util.List<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
start
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)public static java.util.List<LayoutPageTemplateStructureRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
start
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutPageTemplateStructureRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> 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 LayoutPageTemplateStructureRelModelImpl
.
start
- the lower bound of the range of layout page template structure relsend
- the upper bound of the range of layout page template structure rels (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 LayoutPageTemplateStructureRelPersistence getPersistence()