Class LayoutSEOEntryCustomMetaTagUtil

java.lang.Object
com.liferay.layout.seo.service.persistence.LayoutSEOEntryCustomMetaTagUtil

public class LayoutSEOEntryCustomMetaTagUtil extends Object
The persistence utility for the layout seo entry custom meta tag service. This utility wraps 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 Details

    • LayoutSEOEntryCustomMetaTagUtil

      public LayoutSEOEntryCustomMetaTagUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag)
      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

      public static List<LayoutSEOEntryCustomMetaTag> findByG_L(long groupId, long layoutSEOEntryId)
      Returns all the layout seo entry custom meta tags where groupId = ? and layoutSEOEntryId = ?.
      Parameters:
      groupId - the group ID
      layoutSEOEntryId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      groupId - the group ID
      layoutSEOEntryId - the layout seo entry ID
      start - the lower bound of the range of layout seo entry custom meta tags
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      groupId - the group ID
      layoutSEOEntryId - the layout seo entry ID
      start - the lower bound of the range of layout seo entry custom meta tags
      end - the upper bound of the range of layout seo entry custom meta tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      groupId - the group ID
      layoutSEOEntryId - the layout seo entry ID
      start - the lower bound of the range of layout seo entry custom meta tags
      end - the upper bound of the range of layout seo entry custom meta tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      layoutSEOEntryId - the layout seo entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout seo entry custom meta tag
      Throws:
      NoSuchEntryCustomMetaTagException - if a matching layout seo entry custom meta tag could not be found
      NoSuchEntryCustomMetaTagException
    • 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 ID
      layoutSEOEntryId - the layout seo entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout seo entry custom meta tag, or null if 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 ID
      layoutSEOEntryId - the layout seo entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout seo entry custom meta tag
      Throws:
      NoSuchEntryCustomMetaTagException - if a matching layout seo entry custom meta tag could not be found
      NoSuchEntryCustomMetaTagException
    • 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 ID
      layoutSEOEntryId - the layout seo entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout seo entry custom meta tag, or null if 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 tag
      groupId - the group ID
      layoutSEOEntryId - the layout seo entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryCustomMetaTagException
    • 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 ID
      layoutSEOEntryId - 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 ID
      layoutSEOEntryId - the layout seo entry ID
      Returns:
      the number of matching layout seo entry custom meta tags
    • cacheResult

      public static void cacheResult(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag)
      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

      public static void cacheResult(List<LayoutSEOEntryCustomMetaTag> layoutSEOEntryCustomMetaTags)
      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

      public static LayoutSEOEntryCustomMetaTag create(long layoutSEOEntryCustomMetaTagId)
      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 found
      NoSuchEntryCustomMetaTagException
    • 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 a NoSuchEntryCustomMetaTagException if 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 found
      NoSuchEntryCustomMetaTagException
    • fetchByPrimaryKey

      public static LayoutSEOEntryCustomMetaTag fetchByPrimaryKey(long layoutSEOEntryCustomMetaTagId)
      Returns the layout seo entry custom meta tag with the primary key or returns null if 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 null if a layout seo entry custom meta tag with the primary key could not be found
    • findAll

      public static List<LayoutSEOEntryCustomMetaTag> findAll()
      Returns all the layout seo entry custom meta tags.
      Returns:
      the layout seo entry custom meta tags
    • findAll

      public static List<LayoutSEOEntryCustomMetaTag> findAll(int start, int end)
      Returns a range of all the layout seo entry custom meta tags.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      start - the lower bound of the range of layout seo entry custom meta tags
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      start - the lower bound of the range of layout seo entry custom meta tags
      end - the upper bound of the range of layout seo entry custom meta tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSEOEntryCustomMetaTagModelImpl.

      Parameters:
      start - the lower bound of the range of layout seo entry custom meta tags
      end - the upper bound of the range of layout seo entry custom meta tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static LayoutSEOEntryCustomMetaTagPersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutSEOEntryCustomMetaTagPersistence persistence)