Class LayoutPageTemplateStructureRelUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) Caches the layout page template structure rel in the entity cache if it is enabled.static void
cacheResult
(List<LayoutPageTemplateStructureRel> layoutPageTemplateStructureRels) Caches the layout page template structure rels in the entity cache if it is enabled.static void
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
(String uuid) Returns the number of layout page template structure rels where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of layout page template structure rels where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of layout page template structure rels where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long layoutPageTemplateStructureRelId) Creates a new layout page template structure rel with the primary key.fetchByL_S
(long layoutPageTemplateStructureId, long segmentsExperienceId) Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returnsnull
if it could not be found.fetchByL_S
(long layoutPageTemplateStructureId, long segmentsExperienceId, boolean useFinderCache) Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByPrimaryKey
(long layoutPageTemplateStructureRelId) Returns the layout page template structure rel with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) Returns the first layout page template structure rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the layout page template structure rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the layout page template structure rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(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 List<LayoutPageTemplateStructureRel>
findAll()
Returns all the layout page template structure rels.static List<LayoutPageTemplateStructureRel>
findAll
(int start, int end) Returns a range of all the layout page template structure rels.static 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 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.findByL_S
(long layoutPageTemplateStructureId, long segmentsExperienceId) Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or throws aNoSuchPageTemplateStructureRelException
if it could not be found.static List<LayoutPageTemplateStructureRel>
findByLayoutPageTemplateStructureId
(long layoutPageTemplateStructureId) Returns all the layout page template structure rels where layoutPageTemplateStructureId = ?.static List<LayoutPageTemplateStructureRel>
findByLayoutPageTemplateStructureId
(long layoutPageTemplateStructureId, int start, int end) Returns a range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.static 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 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 = ?.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 = ?.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 = ?.findByPrimaryKey
(long layoutPageTemplateStructureRelId) Returns the layout page template structure rel with the primary key or throws aNoSuchPageTemplateStructureRelException
if it could not be found.static List<LayoutPageTemplateStructureRel>
findBySegmentsExperienceId
(long segmentsExperienceId) Returns all the layout page template structure rels where segmentsExperienceId = ?.static List<LayoutPageTemplateStructureRel>
findBySegmentsExperienceId
(long segmentsExperienceId, int start, int end) Returns a range of all the layout page template structure rels where segmentsExperienceId = ?.static 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 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 = ?.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 = ?.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 List<LayoutPageTemplateStructureRel>
findByUuid
(String uuid) Returns all the layout page template structure rels where uuid = ?.static List<LayoutPageTemplateStructureRel>
findByUuid
(String uuid, int start, int end) Returns a range of all the layout page template structure rels where uuid = ?.static List<LayoutPageTemplateStructureRel>
findByUuid
(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 List<LayoutPageTemplateStructureRel>
findByUuid
(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 List<LayoutPageTemplateStructureRel>
findByUuid_C
(String uuid, long companyId) Returns all the layout page template structure rels where uuid = ? and companyId = ?.static List<LayoutPageTemplateStructureRel>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout page template structure rels where uuid = ? and companyId = ?.static List<LayoutPageTemplateStructureRel>
findByUuid_C
(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 List<LayoutPageTemplateStructureRel>
findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) Returns the first layout page template structure rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the layout page template structure rel where uuid = ? and groupId = ? or throws aNoSuchPageTemplateStructureRelException
if it could not be found.findByUuid_Last
(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, 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 List<LayoutPageTemplateStructureRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LayoutPageTemplateStructureRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LayoutPageTemplateStructureRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) remove
(long layoutPageTemplateStructureRelId) Removes the layout page template structure rel with the primary key from the database.static void
Removes all the layout page template structure rels from the database.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
(String uuid) Removes all the layout page template structure rels where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the layout page template structure rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the layout page template structure rel where uuid = ? and groupId = ? from the database.static void
setPersistence
(LayoutPageTemplateStructureRelPersistence persistence) update
(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) update
(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
-
Constructor Details
-
LayoutPageTemplateStructureRelUtil
public LayoutPageTemplateStructureRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,LayoutPageTemplateStructureRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructureRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static LayoutPageTemplateStructureRel update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static LayoutPageTemplateStructureRel update(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the layout page template structure rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout page template structure rels
-
findByUuid
Returns a range of all the layout page template structure rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout page template structure rels
-
findByUuid
public static List<LayoutPageTemplateStructureRel> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout page template structure rels
-
findByUuid
public static List<LayoutPageTemplateStructureRel> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structure rels
-
findByUuid_First
public static LayoutPageTemplateStructureRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the first layout page template structure rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByUuid_First
public static LayoutPageTemplateStructureRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) Returns the first layout page template structure rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByUuid_Last
public static LayoutPageTemplateStructureRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the last layout page template structure rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByUuid_Last
public static LayoutPageTemplateStructureRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) Returns the last layout page template structure rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByUuid_PrevAndNext
public static LayoutPageTemplateStructureRel[] findByUuid_PrevAndNext(long layoutPageTemplateStructureRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where uuid = ?.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
removeByUuid
Removes all the layout page template structure rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout page template structure rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout page template structure rels
-
findByUUID_G
public static LayoutPageTemplateStructureRel findByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rel where uuid = ? and groupId = ? or throws aNoSuchPageTemplateStructureRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByUUID_G
Returns the layout page template structure rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
fetchByUUID_G
public static LayoutPageTemplateStructureRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the layout page template structure rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
removeByUUID_G
public static LayoutPageTemplateStructureRel removeByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureRelException Removes the layout page template structure rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the layout page template structure rel that was removed
- Throws:
NoSuchPageTemplateStructureRelException
-
countByUUID_G
Returns the number of layout page template structure rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching layout page template structure rels
-
findByUuid_C
Returns all the layout page template structure rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout page template structure rels
-
findByUuid_C
public static List<LayoutPageTemplateStructureRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout page template structure rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout page template structure rels
-
findByUuid_C
public static List<LayoutPageTemplateStructureRel> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout page template structure rels
-
findByUuid_C
public static List<LayoutPageTemplateStructureRel> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structure rels
-
findByUuid_C_First
public static LayoutPageTemplateStructureRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the first layout page template structure rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByUuid_C_First
public static LayoutPageTemplateStructureRel fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByUuid_C_Last
public static LayoutPageTemplateStructureRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the last layout page template structure rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByUuid_C_Last
public static LayoutPageTemplateStructureRel fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByUuid_C_PrevAndNext
public static LayoutPageTemplateStructureRel[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException 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 = ?.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
removeByUuid_C
Removes all the layout page template structure rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout page template structure rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout page template structure rels
-
findByLayoutPageTemplateStructureId
public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId) Returns all the layout page template structure rels where layoutPageTemplateStructureId = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure ID- Returns:
- the matching layout page template structure rels
-
findByLayoutPageTemplateStructureId
public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end) Returns a range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout page template structure rels
-
findByLayoutPageTemplateStructureId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout page template structure rels
-
findByLayoutPageTemplateStructureId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structure rels
-
findByLayoutPageTemplateStructureId_First
public static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the first layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByLayoutPageTemplateStructureId_First
public 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 = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByLayoutPageTemplateStructureId_Last
public static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the last layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByLayoutPageTemplateStructureId_Last
public 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 = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findByLayoutPageTemplateStructureId_PrevAndNext
public static LayoutPageTemplateStructureRel[] findByLayoutPageTemplateStructureId_PrevAndNext(long layoutPageTemplateStructureRelId, long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
removeByLayoutPageTemplateStructureId
public static void removeByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId) Removes all the layout page template structure rels where layoutPageTemplateStructureId = ? from the database.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure ID
-
countByLayoutPageTemplateStructureId
public static int countByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId) Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure ID- Returns:
- the number of matching layout page template structure rels
-
findBySegmentsExperienceId
public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId) Returns all the layout page template structure rels where segmentsExperienceId = ?.- Parameters:
segmentsExperienceId
- the segments experience ID- Returns:
- the matching layout page template structure rels
-
findBySegmentsExperienceId
public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end) Returns a range of all the layout page template structure rels where segmentsExperienceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout page template structure rels
-
findBySegmentsExperienceId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout page template structure rels
-
findBySegmentsExperienceId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structure rels
-
findBySegmentsExperienceId_First
public static LayoutPageTemplateStructureRel findBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the first layout page template structure rel in the ordered set where segmentsExperienceId = ?.- Parameters:
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchBySegmentsExperienceId_First
public 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 = ?.- Parameters:
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findBySegmentsExperienceId_Last
public static LayoutPageTemplateStructureRel findBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the last layout page template structure rel in the ordered set where segmentsExperienceId = ?.- Parameters:
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchBySegmentsExperienceId_Last
public 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 = ?.- Parameters:
segmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
findBySegmentsExperienceId_PrevAndNext
public static LayoutPageTemplateStructureRel[] findBySegmentsExperienceId_PrevAndNext(long layoutPageTemplateStructureRelId, long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where segmentsExperienceId = ?.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the current layout page template structure relsegmentsExperienceId
- the segments experience IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
removeBySegmentsExperienceId
public static void removeBySegmentsExperienceId(long segmentsExperienceId) Removes all the layout page template structure rels where segmentsExperienceId = ? from the database.- Parameters:
segmentsExperienceId
- the segments experience ID
-
countBySegmentsExperienceId
public static int countBySegmentsExperienceId(long segmentsExperienceId) Returns the number of layout page template structure rels where segmentsExperienceId = ?.- Parameters:
segmentsExperienceId
- the segments experience ID- Returns:
- the number of matching layout page template structure rels
-
findByL_S
public static LayoutPageTemplateStructureRel findByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or throws aNoSuchPageTemplateStructureRelException
if it could not be found.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience ID- Returns:
- the matching layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a matching layout page template structure rel could not be foundNoSuchPageTemplateStructureRelException
-
fetchByL_S
public static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience ID- Returns:
- the matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
fetchByL_S
public static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId, boolean useFinderCache) Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout page template structure rel, or
null
if a matching layout page template structure rel could not be found
-
removeByL_S
public static LayoutPageTemplateStructureRel removeByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException Removes the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? from the database.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience ID- Returns:
- the layout page template structure rel that was removed
- Throws:
NoSuchPageTemplateStructureRelException
-
countByL_S
public static int countByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ? and segmentsExperienceId = ?.- Parameters:
layoutPageTemplateStructureId
- the layout page template structure IDsegmentsExperienceId
- the segments experience ID- Returns:
- the number of matching layout page template structure rels
-
cacheResult
Caches the layout page template structure rel in the entity cache if it is enabled.- Parameters:
layoutPageTemplateStructureRel
- the layout page template structure rel
-
cacheResult
public static void cacheResult(List<LayoutPageTemplateStructureRel> layoutPageTemplateStructureRels) Caches the layout page template structure rels in the entity cache if it is enabled.- Parameters:
layoutPageTemplateStructureRels
- the layout page template structure rels
-
create
Creates a new layout page template structure rel with the primary key. Does not add the layout page template structure rel to the database.- Parameters:
layoutPageTemplateStructureRelId
- the primary key for the new layout page template structure rel- Returns:
- the new layout page template structure rel
-
remove
public static LayoutPageTemplateStructureRel remove(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException Removes the layout page template structure rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the layout page template structure rel- Returns:
- the layout page template structure rel that was removed
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
updateImpl
public static LayoutPageTemplateStructureRel updateImpl(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel) -
findByPrimaryKey
public static LayoutPageTemplateStructureRel findByPrimaryKey(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException Returns the layout page template structure rel with the primary key or throws aNoSuchPageTemplateStructureRelException
if it could not be found.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the layout page template structure rel- Returns:
- the layout page template structure rel
- Throws:
NoSuchPageTemplateStructureRelException
- if a layout page template structure rel with the primary key could not be foundNoSuchPageTemplateStructureRelException
-
fetchByPrimaryKey
public static LayoutPageTemplateStructureRel fetchByPrimaryKey(long layoutPageTemplateStructureRelId) Returns the layout page template structure rel with the primary key or returnsnull
if it could not be found.- Parameters:
layoutPageTemplateStructureRelId
- the primary key of the layout page template structure rel- Returns:
- the layout page template structure rel, or
null
if a layout page template structure rel with the primary key could not be found
-
findAll
Returns all the layout page template structure rels.- Returns:
- the layout page template structure rels
-
findAll
Returns a range of all the layout page template structure rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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)- Returns:
- the range of layout page template structure rels
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of layout page template structure rels
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateStructureRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout page template structure rels
-
removeAll
public static void removeAll()Removes all the layout page template structure rels from the database. -
countAll
public static int countAll()Returns the number of layout page template structure rels.- Returns:
- the number of layout page template structure rels
-
getPersistence
-
setPersistence
-