Class LayoutSEOEntryCustomMetaTagUtil
com.liferay.layout.seo.service.persistence.impl.LayoutSEOEntryCustomMetaTagPersistenceImpl 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 voidcacheResult(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag) Caches the layout seo entry custom meta tag in the entity cache if it is enabled.static voidcacheResult(List<LayoutSEOEntryCustomMetaTag> layoutSEOEntryCustomMetaTags) Caches the layout seo entry custom meta tags in the entity cache if it is enabled.static voidstatic voidclearCache(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag) static intcountAll()Returns the number of layout seo entry custom meta tags.static intcountByG_L(long groupId, long layoutSEOEntryId) Returns the number of layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static LayoutSEOEntryCustomMetaTagcreate(long layoutSEOEntryCustomMetaTagId) Creates a new layout seo entry custom meta tag with the primary key.static LayoutSEOEntryCustomMetaTagfetchByG_L_First(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the first layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTagfetchByG_L_Last(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the last layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTagfetchByPrimaryKey(long layoutSEOEntryCustomMetaTagId) Returns the layout seo entry custom meta tag with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<LayoutSEOEntryCustomMetaTag>findAll()Returns all the layout seo entry custom meta tags.static List<LayoutSEOEntryCustomMetaTag>findAll(int start, int end) Returns a range of all the layout seo entry custom meta tags.static List<LayoutSEOEntryCustomMetaTag>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns an ordered range of all the layout seo entry custom meta tags.static List<LayoutSEOEntryCustomMetaTag>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout seo entry custom meta tags.static List<LayoutSEOEntryCustomMetaTag>findByG_L(long groupId, long layoutSEOEntryId) Returns all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.static List<LayoutSEOEntryCustomMetaTag>findByG_L(long groupId, long layoutSEOEntryId, int start, int end) Returns a range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.static List<LayoutSEOEntryCustomMetaTag>findByG_L(long groupId, long layoutSEOEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns an ordered range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.static List<LayoutSEOEntryCustomMetaTag>findByG_L(long groupId, long layoutSEOEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTagfindByG_L_First(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the first layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTagfindByG_L_Last(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the last layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTag[]findByG_L_PrevAndNext(long layoutSEOEntryCustomMetaTagId, long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the layout seo entry custom meta tags before and after the current layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.static LayoutSEOEntryCustomMetaTagfindByPrimaryKey(long layoutSEOEntryCustomMetaTagId) Returns the layout seo entry custom meta tag with the primary key or throws aNoSuchEntryCustomMetaTagExceptionif it could not be found.static List<LayoutSEOEntryCustomMetaTag>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LayoutSEOEntryCustomMetaTag>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LayoutSEOEntryCustomMetaTag>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) static LayoutSEOEntryCustomMetaTagremove(long layoutSEOEntryCustomMetaTagId) Removes the layout seo entry custom meta tag with the primary key from the database.static voidRemoves all the layout seo entry custom meta tags from the database.static voidremoveByG_L(long groupId, long layoutSEOEntryId) Removes all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ? from the database.static voidsetPersistence(LayoutSEOEntryCustomMetaTagPersistence persistence) static LayoutSEOEntryCustomMetaTagupdate(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag) static LayoutSEOEntryCustomMetaTagupdate(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag, com.liferay.portal.kernel.service.ServiceContext serviceContext) static LayoutSEOEntryCustomMetaTagupdateImpl(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag)
-
Constructor Details
-
LayoutSEOEntryCustomMetaTagUtil
public LayoutSEOEntryCustomMetaTagUtil()
-
-
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,LayoutSEOEntryCustomMetaTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<LayoutSEOEntryCustomMetaTag> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<LayoutSEOEntryCustomMetaTag> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<LayoutSEOEntryCustomMetaTag> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static LayoutSEOEntryCustomMetaTag update(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static LayoutSEOEntryCustomMetaTag update(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByG_L
Returns all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry ID- Returns:
- the matching layout seo entry custom meta tags
-
findByG_L
public static List<LayoutSEOEntryCustomMetaTag> findByG_L(long groupId, long layoutSEOEntryId, int start, int end) Returns a range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDstart- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (not inclusive)- Returns:
- the range of matching layout seo entry custom meta tags
-
findByG_L
public static List<LayoutSEOEntryCustomMetaTag> findByG_L(long groupId, long layoutSEOEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns an ordered range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDstart- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout seo entry custom meta tags
-
findByG_L
public static List<LayoutSEOEntryCustomMetaTag> findByG_L(long groupId, long layoutSEOEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDstart- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (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 seo entry custom meta tags
-
findByG_L_First
public static LayoutSEOEntryCustomMetaTag findByG_L_First(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) throws NoSuchEntryCustomMetaTagException Returns the first layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout seo entry custom meta tag
- Throws:
NoSuchEntryCustomMetaTagException- if a matching layout seo entry custom meta tag could not be foundNoSuchEntryCustomMetaTagException
-
fetchByG_L_First
public static LayoutSEOEntryCustomMetaTag fetchByG_L_First(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the first layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout seo entry custom meta tag, or
nullif a matching layout seo entry custom meta tag could not be found
-
findByG_L_Last
public static LayoutSEOEntryCustomMetaTag findByG_L_Last(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) throws NoSuchEntryCustomMetaTagException Returns the last layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout seo entry custom meta tag
- Throws:
NoSuchEntryCustomMetaTagException- if a matching layout seo entry custom meta tag could not be foundNoSuchEntryCustomMetaTagException
-
fetchByG_L_Last
public static LayoutSEOEntryCustomMetaTag fetchByG_L_Last(long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns the last layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout seo entry custom meta tag, or
nullif a matching layout seo entry custom meta tag could not be found
-
findByG_L_PrevAndNext
public static LayoutSEOEntryCustomMetaTag[] findByG_L_PrevAndNext(long layoutSEOEntryCustomMetaTagId, long groupId, long layoutSEOEntryId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) throws NoSuchEntryCustomMetaTagException Returns the layout seo entry custom meta tags before and after the current layout seo entry custom meta tag in the ordered set where groupId = ? and layoutSEOEntryId = ?.- Parameters:
layoutSEOEntryCustomMetaTagId- the primary key of the current layout seo entry custom meta taggroupId- the group IDlayoutSEOEntryId- the layout seo entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout seo entry custom meta tag
- Throws:
NoSuchEntryCustomMetaTagException- if a layout seo entry custom meta tag with the primary key could not be foundNoSuchEntryCustomMetaTagException
-
removeByG_L
public static void removeByG_L(long groupId, long layoutSEOEntryId) Removes all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ? from the database.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry ID
-
countByG_L
public static int countByG_L(long groupId, long layoutSEOEntryId) Returns the number of layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.- Parameters:
groupId- the group IDlayoutSEOEntryId- the layout seo entry ID- Returns:
- the number of matching layout seo entry custom meta tags
-
cacheResult
Caches the layout seo entry custom meta tag in the entity cache if it is enabled.- Parameters:
layoutSEOEntryCustomMetaTag- the layout seo entry custom meta tag
-
cacheResult
Caches the layout seo entry custom meta tags in the entity cache if it is enabled.- Parameters:
layoutSEOEntryCustomMetaTags- the layout seo entry custom meta tags
-
create
Creates a new layout seo entry custom meta tag with the primary key. Does not add the layout seo entry custom meta tag to the database.- Parameters:
layoutSEOEntryCustomMetaTagId- the primary key for the new layout seo entry custom meta tag- Returns:
- the new layout seo entry custom meta tag
-
remove
public static LayoutSEOEntryCustomMetaTag remove(long layoutSEOEntryCustomMetaTagId) throws NoSuchEntryCustomMetaTagException Removes the layout seo entry custom meta tag with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutSEOEntryCustomMetaTagId- the primary key of the layout seo entry custom meta tag- Returns:
- the layout seo entry custom meta tag that was removed
- Throws:
NoSuchEntryCustomMetaTagException- if a layout seo entry custom meta tag with the primary key could not be foundNoSuchEntryCustomMetaTagException
-
updateImpl
public static LayoutSEOEntryCustomMetaTag updateImpl(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag) -
findByPrimaryKey
public static LayoutSEOEntryCustomMetaTag findByPrimaryKey(long layoutSEOEntryCustomMetaTagId) throws NoSuchEntryCustomMetaTagException Returns the layout seo entry custom meta tag with the primary key or throws aNoSuchEntryCustomMetaTagExceptionif it could not be found.- Parameters:
layoutSEOEntryCustomMetaTagId- the primary key of the layout seo entry custom meta tag- Returns:
- the layout seo entry custom meta tag
- Throws:
NoSuchEntryCustomMetaTagException- if a layout seo entry custom meta tag with the primary key could not be foundNoSuchEntryCustomMetaTagException
-
fetchByPrimaryKey
Returns the layout seo entry custom meta tag with the primary key or returnsnullif it could not be found.- Parameters:
layoutSEOEntryCustomMetaTagId- the primary key of the layout seo entry custom meta tag- Returns:
- the layout seo entry custom meta tag, or
nullif a layout seo entry custom meta tag with the primary key could not be found
-
findAll
Returns all the layout seo entry custom meta tags.- Returns:
- the layout seo entry custom meta tags
-
findAll
Returns a range of all the layout seo entry custom meta tags.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
start- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (not inclusive)- Returns:
- the range of layout seo entry custom meta tags
-
findAll
public static List<LayoutSEOEntryCustomMetaTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator) Returns an ordered range of all the layout seo entry custom meta tags.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
start- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of layout seo entry custom meta tags
-
findAll
public static List<LayoutSEOEntryCustomMetaTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntryCustomMetaTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout seo entry custom meta tags.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSEOEntryCustomMetaTagModelImpl.- Parameters:
start- the lower bound of the range of layout seo entry custom meta tagsend- the upper bound of the range of layout seo entry custom meta tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of layout seo entry custom meta tags
-
removeAll
public static void removeAll()Removes all the layout seo entry custom meta tags from the database. -
countAll
public static int countAll()Returns the number of layout seo entry custom meta tags.- Returns:
- the number of layout seo entry custom meta tags
-
getPersistence
-
setPersistence
-