Class LayoutPageTemplateStructureUtil
com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateStructurePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(LayoutPageTemplateStructure layoutPageTemplateStructure) Caches the layout page template structure in the entity cache if it is enabled.static void
cacheResult
(List<LayoutPageTemplateStructure> layoutPageTemplateStructures) Caches the layout page template structures in the entity cache if it is enabled.static void
static void
clearCache
(LayoutPageTemplateStructure layoutPageTemplateStructure) static int
countAll()
Returns the number of layout page template structures.static int
countByG_P
(long groupId, long plid) Returns the number of layout page template structures where groupId = ? and plid = ?.static int
countByGroupId
(long groupId) Returns the number of layout page template structures where groupId = ?.static int
countByUuid
(String uuid) Returns the number of layout page template structures where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of layout page template structures where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of layout page template structures where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static LayoutPageTemplateStructure
create
(long layoutPageTemplateStructureId) Creates a new layout page template structure with the primary key.static LayoutPageTemplateStructure
fetchByG_P
(long groupId, long plid) Returns the layout page template structure where groupId = ? and plid = ? or returnsnull
if it could not be found.static LayoutPageTemplateStructure
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.static LayoutPageTemplateStructure
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.static LayoutPageTemplateStructure
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.static LayoutPageTemplateStructure
fetchByPrimaryKey
(long layoutPageTemplateStructureId) Returns the layout page template structure with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static LayoutPageTemplateStructure
fetchByUUID_G
(String uuid, long groupId) Returns the layout page template structure where uuid = ? and groupId = ? or returnsnull
if it could not be found.static LayoutPageTemplateStructure
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.static 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 = ?.static List<LayoutPageTemplateStructure>
findAll()
Returns all the layout page template structures.static List<LayoutPageTemplateStructure>
findAll
(int start, int end) Returns a range of all the layout page template structures.static List<LayoutPageTemplateStructure>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures.static List<LayoutPageTemplateStructure>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures.static LayoutPageTemplateStructure
findByG_P
(long groupId, long plid) Returns the layout page template structure where groupId = ? and plid = ? or throws aNoSuchPageTemplateStructureException
if it could not be found.static List<LayoutPageTemplateStructure>
findByGroupId
(long groupId) Returns all the layout page template structures where groupId = ?.static List<LayoutPageTemplateStructure>
findByGroupId
(long groupId, int start, int end) Returns a range of all the layout page template structures where groupId = ?.static List<LayoutPageTemplateStructure>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns an ordered range of all the layout page template structures where groupId = ?.static List<LayoutPageTemplateStructure>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template structures where groupId = ?.static LayoutPageTemplateStructure
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.static LayoutPageTemplateStructure
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.static LayoutPageTemplateStructure[]
findByGroupId_PrevAndNext
(long layoutPageTemplateStructureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the layout page template structures before and after the current layout page template structure in the ordered set where groupId = ?.static LayoutPageTemplateStructure
findByPrimaryKey
(long layoutPageTemplateStructureId) Returns the layout page template structure with the primary key or throws aNoSuchPageTemplateStructureException
if it could not be found.static List<LayoutPageTemplateStructure>
findByUuid
(String uuid) Returns all the layout page template structures where uuid = ?.static List<LayoutPageTemplateStructure>
findByUuid
(String uuid, int start, int end) Returns a range of all the layout page template structures where uuid = ?.static 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 = ?.static 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 = ?.static List<LayoutPageTemplateStructure>
findByUuid_C
(String uuid, long companyId) Returns all the layout page template structures where uuid = ? and companyId = ?.static List<LayoutPageTemplateStructure>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout page template structures where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static LayoutPageTemplateStructure
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 = ?.static LayoutPageTemplateStructure
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 = ?.static LayoutPageTemplateStructure[]
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 = ?.static LayoutPageTemplateStructure
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 = ?.static LayoutPageTemplateStructure
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.static LayoutPageTemplateStructure
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 = ?.static LayoutPageTemplateStructure[]
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 = ?.static List<LayoutPageTemplateStructure>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LayoutPageTemplateStructure>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LayoutPageTemplateStructure>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) static LayoutPageTemplateStructure
remove
(long layoutPageTemplateStructureId) Removes the layout page template structure with the primary key from the database.static void
Removes all the layout page template structures from the database.static LayoutPageTemplateStructure
removeByG_P
(long groupId, long plid) Removes the layout page template structure where groupId = ? and plid = ? from the database.static void
removeByGroupId
(long groupId) Removes all the layout page template structures where groupId = ? from the database.static void
removeByUuid
(String uuid) Removes all the layout page template structures where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the layout page template structures where uuid = ? and companyId = ? from the database.static LayoutPageTemplateStructure
removeByUUID_G
(String uuid, long groupId) Removes the layout page template structure where uuid = ? and groupId = ? from the database.static void
setPersistence
(LayoutPageTemplateStructurePersistence persistence) static LayoutPageTemplateStructure
update
(LayoutPageTemplateStructure layoutPageTemplateStructure) static LayoutPageTemplateStructure
update
(LayoutPageTemplateStructure layoutPageTemplateStructure, com.liferay.portal.kernel.service.ServiceContext serviceContext) static LayoutPageTemplateStructure
updateImpl
(LayoutPageTemplateStructure layoutPageTemplateStructure)
-
Constructor Details
-
LayoutPageTemplateStructureUtil
public LayoutPageTemplateStructureUtil()
-
-
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,LayoutPageTemplateStructure> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<LayoutPageTemplateStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static LayoutPageTemplateStructure update(LayoutPageTemplateStructure layoutPageTemplateStructure) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static LayoutPageTemplateStructure update(LayoutPageTemplateStructure layoutPageTemplateStructure, 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 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
public static 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
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
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
public static 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 foundNoSuchPageTemplateStructureException
-
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
public static LayoutPageTemplateStructure 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.- 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
public static 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
public static List<LayoutPageTemplateStructure> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
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
public static 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
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByGroupId_First
public static LayoutPageTemplateStructure fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the first layout page template structure in the ordered set where groupId = ?.- 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
public static 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 foundNoSuchPageTemplateStructureException
-
fetchByGroupId_Last
public static LayoutPageTemplateStructure fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) Returns the last layout page template structure in the ordered set where groupId = ?.- 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
public static 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 foundNoSuchPageTemplateStructureException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the layout page template structures where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
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
public static LayoutPageTemplateStructure 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.- 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
public static 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
public static 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
public static 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 foundNoSuchPageTemplateStructureException
-
updateImpl
public static LayoutPageTemplateStructure updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure) -
findByPrimaryKey
public static 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 foundNoSuchPageTemplateStructureException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the layout page template structures from the database. -
countAll
public static int countAll()Returns the number of layout page template structures.- Returns:
- the number of layout page template structures
-
getPersistence
-
setPersistence
-