Interface LayoutPageTemplateStructurePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutPageTemplateStructure>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateStructure>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(LayoutPageTemplateStructure layoutPageTemplateStructure) Caches the layout page template structure in the entity cache if it is enabled.void
cacheResult
(List<LayoutPageTemplateStructure> layoutPageTemplateStructures) Caches the layout page template structures in the entity cache if it is enabled.int
countAll()
Returns the number of layout page template structures.int
countByG_P
(long groupId, long plid) Returns the number of layout page template structures where groupId = ? and plid = ?.int
countByGroupId
(long groupId) Returns the number of layout page template structures where groupId = ?.int
countByUuid
(String uuid) Returns the number of layout page template structures where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of layout page template structures where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of layout page template structures where uuid = ? and groupId = ?.create
(long layoutPageTemplateStructureId) Creates a new layout page template structure with the primary key.fetchByG_P
(long groupId, long plid) Returns the layout page template structure where groupId = ? and plid = ? or returnsnull
if it could not be found.fetchByG_P
(long groupId, long plid, boolean useFinderCache) Returns the layout page template structure where groupId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.fetchByPrimaryKey
(long layoutPageTemplateStructureId) Returns the layout page template structure with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the layout page template structure 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 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<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where uuid = ?.findAll()
Returns all the layout page template structures.findAll
(int start, int end) Returns a range of all the layout page template structures.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures.findByG_P
(long groupId, long plid) Returns the layout page template structure where groupId = ? and plid = ? or throws aNoSuchPageTemplateStructureException
if it could not be found.findByGroupId
(long groupId) Returns all the layout page template structures where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the layout page template structures where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long layoutPageTemplateStructureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the layout page template structures before and after the current layout page template structure in the ordered set where groupId = ?.findByPrimaryKey
(long layoutPageTemplateStructureId) Returns the layout page template structure with the primary key or throws aNoSuchPageTemplateStructureException
if it could not be found.findByUuid
(String uuid) Returns all the layout page template structures where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the layout page template structures where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the layout page template structures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout page template structures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long layoutPageTemplateStructureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the layout page template structure where uuid = ? and groupId = ? or throws aNoSuchPageTemplateStructureException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long layoutPageTemplateStructureId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ?.remove
(long layoutPageTemplateStructureId) Removes the layout page template structure with the primary key from the database.void
Removes all the layout page template structures from the database.removeByG_P
(long groupId, long plid) Removes the layout page template structure where groupId = ? and plid = ? from the database.void
removeByGroupId
(long groupId) Removes all the layout page template structures where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the layout page template structures where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the layout page template structures where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the layout page template structure where uuid = ? and groupId = ? from the database.updateImpl
(LayoutPageTemplateStructure layoutPageTemplateStructure) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the layout page template structures where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout page template structures
-
findByUuid
Returns a range of all the layout page template structures 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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)- Returns:
- the range of matching layout page template structures
-
findByUuid
List<LayoutPageTemplateStructure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where uuid = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout page template structures
-
findByUuid
List<LayoutPageTemplateStructure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where uuid = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structures
-
findByUuid_First
LayoutPageTemplateStructure findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the first layout page template structure 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
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByUuid_First
LayoutPageTemplateStructure fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure 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, or
null
if a matching layout page template structure could not be found
-
findByUuid_Last
LayoutPageTemplateStructure findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the last layout page template structure 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
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByUuid_Last
LayoutPageTemplateStructure fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure 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, or
null
if a matching layout page template structure could not be found
-
findByUuid_PrevAndNext
LayoutPageTemplateStructure[] findByUuid_PrevAndNext(long layoutPageTemplateStructureId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ?.- Parameters:
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be found
-
removeByUuid
Removes all the layout page template structures where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout page template structures where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout page template structures
-
findByUUID_G
LayoutPageTemplateStructure findByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureException Returns the layout page template structure where uuid = ? and groupId = ? or throws aNoSuchPageTemplateStructureException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByUUID_G
Returns the layout page template structure 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, or
null
if a matching layout page template structure could not be found
-
fetchByUUID_G
Returns the layout page template structure 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, or
null
if a matching layout page template structure could not be found
-
removeByUUID_G
LayoutPageTemplateStructure removeByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureException Removes the layout page template structure where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the layout page template structure that was removed
- Throws:
NoSuchPageTemplateStructureException
-
countByUUID_G
Returns the number of layout page template structures where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching layout page template structures
-
findByUuid_C
Returns all the layout page template structures where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout page template structures
-
findByUuid_C
Returns a range of all the layout page template structures 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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)- Returns:
- the range of matching layout page template structures
-
findByUuid_C
List<LayoutPageTemplateStructure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout page template structures
-
findByUuid_C
List<LayoutPageTemplateStructure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structures
-
findByUuid_C_First
LayoutPageTemplateStructure findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the first layout page template structure 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
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByUuid_C_First
LayoutPageTemplateStructure fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
findByUuid_C_Last
LayoutPageTemplateStructure findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the last layout page template structure 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
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByUuid_C_Last
LayoutPageTemplateStructure fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
findByUuid_C_PrevAndNext
LayoutPageTemplateStructure[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be found
-
removeByUuid_C
Removes all the layout page template structures where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout page template structures where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout page template structures
-
findByGroupId
Returns all the layout page template structures where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching layout page template structures
-
findByGroupId
Returns a range of all the layout page template structures where groupId = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)- Returns:
- the range of matching layout page template structures
-
findByGroupId
List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where groupId = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout page template structures
-
findByGroupId
List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where groupId = ?.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout page template structures
-
findByGroupId_First
LayoutPageTemplateStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the first layout page template structure in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByGroupId_First
LayoutPageTemplateStructure fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
findByGroupId_Last
LayoutPageTemplateStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the last layout page template structure in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByGroupId_Last
LayoutPageTemplateStructure fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
findByGroupId_PrevAndNext
LayoutPageTemplateStructure[] findByGroupId_PrevAndNext(long layoutPageTemplateStructureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException Returns the layout page template structures before and after the current layout page template structure in the ordered set where groupId = ?.- Parameters:
layoutPageTemplateStructureId
- the primary key of the current layout page template structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the layout page template structures where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of layout page template structures where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching layout page template structures
-
findByG_P
LayoutPageTemplateStructure findByG_P(long groupId, long plid) throws NoSuchPageTemplateStructureException Returns the layout page template structure where groupId = ? and plid = ? or throws aNoSuchPageTemplateStructureException
if it could not be found.- Parameters:
groupId
- the group IDplid
- the plid- Returns:
- the matching layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be found
-
fetchByG_P
Returns the layout page template structure where groupId = ? and plid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDplid
- the plid- Returns:
- the matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
fetchByG_P
Returns the layout page template structure where groupId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDplid
- the pliduseFinderCache
- whether to use the finder cache- Returns:
- the matching layout page template structure, or
null
if a matching layout page template structure could not be found
-
removeByG_P
LayoutPageTemplateStructure removeByG_P(long groupId, long plid) throws NoSuchPageTemplateStructureException Removes the layout page template structure where groupId = ? and plid = ? from the database.- Parameters:
groupId
- the group IDplid
- the plid- Returns:
- the layout page template structure that was removed
- Throws:
NoSuchPageTemplateStructureException
-
countByG_P
int countByG_P(long groupId, long plid) Returns the number of layout page template structures where groupId = ? and plid = ?.- Parameters:
groupId
- the group IDplid
- the plid- Returns:
- the number of matching layout page template structures
-
cacheResult
Caches the layout page template structure in the entity cache if it is enabled.- Parameters:
layoutPageTemplateStructure
- the layout page template structure
-
cacheResult
Caches the layout page template structures in the entity cache if it is enabled.- Parameters:
layoutPageTemplateStructures
- the layout page template structures
-
create
Creates a new layout page template structure with the primary key. Does not add the layout page template structure to the database.- Parameters:
layoutPageTemplateStructureId
- the primary key for the new layout page template structure- Returns:
- the new layout page template structure
-
remove
LayoutPageTemplateStructure remove(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException Removes the layout page template structure with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutPageTemplateStructureId
- the primary key of the layout page template structure- Returns:
- the layout page template structure that was removed
- Throws:
NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
LayoutPageTemplateStructure findByPrimaryKey(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException Returns the layout page template structure with the primary key or throws aNoSuchPageTemplateStructureException
if it could not be found.- Parameters:
layoutPageTemplateStructureId
- the primary key of the layout page template structure- Returns:
- the layout page template structure
- Throws:
NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout page template structure with the primary key or returnsnull
if it could not be found.- Parameters:
layoutPageTemplateStructureId
- the primary key of the layout page template structure- Returns:
- the layout page template structure, or
null
if a layout page template structure with the primary key could not be found
-
findAll
List<LayoutPageTemplateStructure> findAll()Returns all the layout page template structures.- Returns:
- the layout page template structures
-
findAll
Returns a range of all the layout page template structures.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)- Returns:
- the range of layout page template structures
-
findAll
List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of layout page template structures
-
findAll
List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures.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 fromLayoutPageTemplateStructureModelImpl
.- Parameters:
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout page template structures
-
removeAll
void removeAll()Removes all the layout page template structures from the database. -
countAll
int countAll()Returns the number of layout page template structures.- Returns:
- the number of layout page template structures
-