Class TemplateEntryUtil

java.lang.Object
com.liferay.template.service.persistence.TemplateEntryUtil

public class TemplateEntryUtil extends Object
The persistence utility for the template entry service. This utility wraps com.liferay.template.service.persistence.impl.TemplateEntryPersistenceImpl 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(TemplateEntry templateEntry)
    Caches the template entry in the entity cache if it is enabled.
    static void
    cacheResult(List<TemplateEntry> templateEntries)
    Caches the template entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(TemplateEntry templateEntry)
     
    static int
    Returns the number of template entries.
    static int
    countByDDMTemplateId(long ddmTemplateId)
    Returns the number of template entries where ddmTemplateId = ?.
    static int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of template entries where externalReferenceCode = ? and groupId = ?.
    static int
    countByG_IICN(long groupId, String infoItemClassName)
    Returns the number of template entries where groupId = ? and infoItemClassName = ?.
    static int
    countByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey)
    Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    static int
    countByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
    Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of template entries where groupId = ?.
    static int
    countByGroupId(long[] groupIds)
    Returns the number of template entries where groupId = any ?.
    static int
    Returns the number of template entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of template entries where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of template entries where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long templateEntryId)
    Creates a new template entry with the primary key.
    fetchByDDMTemplateId(long ddmTemplateId)
    Returns the template entry where ddmTemplateId = ? or returns null if it could not be found.
    fetchByDDMTemplateId(long ddmTemplateId, boolean useFinderCache)
    Returns the template entry where ddmTemplateId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the template entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the template entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
    fetchByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    fetchByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    fetchByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ?.
    fetchByPrimaryKey(long templateEntryId)
    Returns the template entry with the primary key or returns null if it could not be found.
     
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the template entry where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the template entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where uuid = ?.
    Returns all the template entries.
    findAll(int start, int end)
    Returns a range of all the template entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries.
    findByDDMTemplateId(long ddmTemplateId)
    Returns the template entry where ddmTemplateId = ? or throws a NoSuchTemplateEntryException if it could not be found.
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the template entry where externalReferenceCode = ? and groupId = ? or throws a NoSuchTemplateEntryException if it could not be found.
    findByG_IICN(long groupId, String infoItemClassName)
    Returns all the template entries where groupId = ? and infoItemClassName = ?.
    findByG_IICN(long groupId, String infoItemClassName, int start, int end)
    Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.
    findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.
    findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.
    findByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
    findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey)
    Returns all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end)
    Returns a range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?, optionally using the finder cache.
    findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
    Returns all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end)
    Returns a range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    static TemplateEntry[]
    findByG_IICN_IIFVK_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    findByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.
    static TemplateEntry[]
    findByG_IICN_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ?.
    findByGroupId(long groupId)
    Returns all the template entries where groupId = ?.
    findByGroupId(long[] groupIds)
    Returns all the template entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the template entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where groupId = ?, optionally using the finder cache.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the template entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where groupId = ?.
    static TemplateEntry[]
    findByGroupId_PrevAndNext(long templateEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the template entries before and after the current template entry in the ordered set where groupId = ?.
    findByPrimaryKey(long templateEntryId)
    Returns the template entry with the primary key or throws a NoSuchTemplateEntryException if it could not be found.
    Returns all the template entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the template entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the template entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the template entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns an ordered range of all the template entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the template entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where uuid = ? and companyId = ?.
    static TemplateEntry[]
    findByUuid_C_PrevAndNext(long templateEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the template entries before and after the current template entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the first template entry in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the template entry where uuid = ? and groupId = ? or throws a NoSuchTemplateEntryException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the last template entry in the ordered set where uuid = ?.
    static TemplateEntry[]
    findByUuid_PrevAndNext(long templateEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
    Returns the template entries before and after the current template entry in the ordered set where uuid = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
     
     
    remove(long templateEntryId)
    Removes the template entry with the primary key from the database.
    static void
    Removes all the template entries from the database.
    removeByDDMTemplateId(long ddmTemplateId)
    Removes the template entry where ddmTemplateId = ? from the database.
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the template entry where externalReferenceCode = ? and groupId = ? from the database.
    static void
    removeByG_IICN(long groupId, String infoItemClassName)
    Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.
    static void
    removeByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
    Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the template entries where groupId = ? from the database.
    static void
    Removes all the template entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the template entries where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the template entry where uuid = ? and groupId = ? from the database.
    static void
     
    update(TemplateEntry templateEntry)
     
    update(TemplateEntry templateEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(TemplateEntry templateEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TemplateEntryUtil

      public TemplateEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(TemplateEntry templateEntry)
      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,TemplateEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static TemplateEntry update(TemplateEntry templateEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static TemplateEntry update(TemplateEntry templateEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<TemplateEntry> findByUuid(String uuid)
      Returns all the template entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching template entries
    • findByUuid

      public static List<TemplateEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the template entries where uuid = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByUuid

      public static List<TemplateEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where uuid = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByUuid

      public static List<TemplateEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where uuid = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • findByUuid_First

      public static TemplateEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the first template entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByUuid_First

      public static TemplateEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the first template entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry, or null if a matching template entry could not be found
    • findByUuid_Last

      public static TemplateEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the last template entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByUuid_Last

      public static TemplateEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the last template entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry, or null if a matching template entry could not be found
    • findByUuid_PrevAndNext

      public static TemplateEntry[] findByUuid_PrevAndNext(long templateEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the template entries before and after the current template entry in the ordered set where uuid = ?.
      Parameters:
      templateEntryId - the primary key of the current template entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the template entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of template entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching template entries
    • findByUUID_G

      public static TemplateEntry findByUUID_G(String uuid, long groupId) throws NoSuchTemplateEntryException
      Returns the template entry where uuid = ? and groupId = ? or throws a NoSuchTemplateEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByUUID_G

      public static TemplateEntry fetchByUUID_G(String uuid, long groupId)
      Returns the template entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • fetchByUUID_G

      public static TemplateEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the template entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • removeByUUID_G

      public static TemplateEntry removeByUUID_G(String uuid, long groupId) throws NoSuchTemplateEntryException
      Removes the template entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the template entry that was removed
      Throws:
      NoSuchTemplateEntryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of template entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching template entries
    • findByUuid_C

      public static List<TemplateEntry> findByUuid_C(String uuid, long companyId)
      Returns all the template entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching template entries
    • findByUuid_C

      public static List<TemplateEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the template entries where uuid = ? and companyId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByUuid_C

      public static List<TemplateEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where uuid = ? and companyId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByUuid_C

      public static List<TemplateEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where uuid = ? and companyId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • findByUuid_C_First

      public static TemplateEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the first template entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByUuid_C_First

      public static TemplateEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the first template entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry, or null if a matching template entry could not be found
    • findByUuid_C_Last

      public static TemplateEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the last template entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByUuid_C_Last

      public static TemplateEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the last template entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry, or null if a matching template entry could not be found
    • findByUuid_C_PrevAndNext

      public static TemplateEntry[] findByUuid_C_PrevAndNext(long templateEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the template entries before and after the current template entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      templateEntryId - the primary key of the current template entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the template entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of template entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long groupId)
      Returns all the template entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the template entries where groupId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where groupId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where groupId = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • findByGroupId_First

      public static TemplateEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the first template entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByGroupId_First

      public static TemplateEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the first template entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry, or null if a matching template entry could not be found
    • findByGroupId_Last

      public static TemplateEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the last template entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByGroupId_Last

      public static TemplateEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the last template entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry, or null if a matching template entry could not be found
    • findByGroupId_PrevAndNext

      public static TemplateEntry[] findByGroupId_PrevAndNext(long templateEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the template entries before and after the current template entry in the ordered set where groupId = ?.
      Parameters:
      templateEntryId - the primary key of the current template entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long[] groupIds)
      Returns all the template entries where groupId = any ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      Returns:
      the matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the template entries where groupId = any ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where groupId = any ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByGroupId

      public static List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where groupId = ?, optionally using the finder cache.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the template entries where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of template entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching template entries
    • countByGroupId

      public static int countByGroupId(long[] groupIds)
      Returns the number of template entries where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching template entries
    • findByDDMTemplateId

      public static TemplateEntry findByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException
      Returns the template entry where ddmTemplateId = ? or throws a NoSuchTemplateEntryException if it could not be found.
      Parameters:
      ddmTemplateId - the ddm template ID
      Returns:
      the matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByDDMTemplateId

      public static TemplateEntry fetchByDDMTemplateId(long ddmTemplateId)
      Returns the template entry where ddmTemplateId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      ddmTemplateId - the ddm template ID
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • fetchByDDMTemplateId

      public static TemplateEntry fetchByDDMTemplateId(long ddmTemplateId, boolean useFinderCache)
      Returns the template entry where ddmTemplateId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      ddmTemplateId - the ddm template ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • removeByDDMTemplateId

      public static TemplateEntry removeByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException
      Removes the template entry where ddmTemplateId = ? from the database.
      Parameters:
      ddmTemplateId - the ddm template ID
      Returns:
      the template entry that was removed
      Throws:
      NoSuchTemplateEntryException
    • countByDDMTemplateId

      public static int countByDDMTemplateId(long ddmTemplateId)
      Returns the number of template entries where ddmTemplateId = ?.
      Parameters:
      ddmTemplateId - the ddm template ID
      Returns:
      the number of matching template entries
    • findByG_IICN

      public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName)
      Returns all the template entries where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      Returns:
      the matching template entries
    • findByG_IICN

      public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end)
      Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByG_IICN

      public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByG_IICN

      public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • findByG_IICN_First

      public static TemplateEntry findByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByG_IICN_First

      public static TemplateEntry fetchByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry, or null if a matching template entry could not be found
    • findByG_IICN_Last

      public static TemplateEntry findByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByG_IICN_Last

      public static TemplateEntry fetchByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry, or null if a matching template entry could not be found
    • findByG_IICN_PrevAndNext

      public static TemplateEntry[] findByG_IICN_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ?.
      Parameters:
      templateEntryId - the primary key of the current template entry
      groupId - the group ID
      infoItemClassName - the info item class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • removeByG_IICN

      public static void removeByG_IICN(long groupId, String infoItemClassName)
      Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
    • countByG_IICN

      public static int countByG_IICN(long groupId, String infoItemClassName)
      Returns the number of template entries where groupId = ? and infoItemClassName = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      Returns:
      the number of matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
      Returns all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      Returns:
      the matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end)
      Returns a range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • findByG_IICN_IIFVK_First

      public static TemplateEntry findByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByG_IICN_IIFVK_First

      public static TemplateEntry fetchByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching template entry, or null if a matching template entry could not be found
    • findByG_IICN_IIFVK_Last

      public static TemplateEntry findByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByG_IICN_IIFVK_Last

      public static TemplateEntry fetchByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching template entry, or null if a matching template entry could not be found
    • findByG_IICN_IIFVK_PrevAndNext

      public static TemplateEntry[] findByG_IICN_IIFVK_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
      Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      templateEntryId - the primary key of the current template entry
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey)
      Returns all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      Returns:
      the matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end)
      Returns a range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching template entries
    • findByG_IICN_IIFVK

      public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?, optionally using the finder cache.

      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 TemplateEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (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 template entries
    • removeByG_IICN_IIFVK

      public static void removeByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
      Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
    • countByG_IICN_IIFVK

      public static int countByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
      Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupId - the group ID
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      Returns:
      the number of matching template entries
    • countByG_IICN_IIFVK

      public static int countByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey)
      Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
      Parameters:
      groupIds - the group IDs
      infoItemClassName - the info item class name
      infoItemFormVariationKey - the info item form variation key
      Returns:
      the number of matching template entries
    • findByERC_G

      public static TemplateEntry findByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException
      Returns the template entry where externalReferenceCode = ? and groupId = ? or throws a NoSuchTemplateEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching template entry
      Throws:
      NoSuchTemplateEntryException - if a matching template entry could not be found
      NoSuchTemplateEntryException
    • fetchByERC_G

      public static TemplateEntry fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the template entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • fetchByERC_G

      public static TemplateEntry fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the template entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching template entry, or null if a matching template entry could not be found
    • removeByERC_G

      public static TemplateEntry removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException
      Removes the template entry where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the template entry that was removed
      Throws:
      NoSuchTemplateEntryException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of template entries where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching template entries
    • cacheResult

      public static void cacheResult(TemplateEntry templateEntry)
      Caches the template entry in the entity cache if it is enabled.
      Parameters:
      templateEntry - the template entry
    • cacheResult

      public static void cacheResult(List<TemplateEntry> templateEntries)
      Caches the template entries in the entity cache if it is enabled.
      Parameters:
      templateEntries - the template entries
    • create

      public static TemplateEntry create(long templateEntryId)
      Creates a new template entry with the primary key. Does not add the template entry to the database.
      Parameters:
      templateEntryId - the primary key for the new template entry
      Returns:
      the new template entry
    • remove

      public static TemplateEntry remove(long templateEntryId) throws NoSuchTemplateEntryException
      Removes the template entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      templateEntryId - the primary key of the template entry
      Returns:
      the template entry that was removed
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • updateImpl

      public static TemplateEntry updateImpl(TemplateEntry templateEntry)
    • findByPrimaryKey

      public static TemplateEntry findByPrimaryKey(long templateEntryId) throws NoSuchTemplateEntryException
      Returns the template entry with the primary key or throws a NoSuchTemplateEntryException if it could not be found.
      Parameters:
      templateEntryId - the primary key of the template entry
      Returns:
      the template entry
      Throws:
      NoSuchTemplateEntryException - if a template entry with the primary key could not be found
      NoSuchTemplateEntryException
    • fetchByPrimaryKey

      public static TemplateEntry fetchByPrimaryKey(long templateEntryId)
      Returns the template entry with the primary key or returns null if it could not be found.
      Parameters:
      templateEntryId - the primary key of the template entry
      Returns:
      the template entry, or null if a template entry with the primary key could not be found
    • findAll

      public static List<TemplateEntry> findAll()
      Returns all the template entries.
      Returns:
      the template entries
    • findAll

      public static List<TemplateEntry> findAll(int start, int end)
      Returns a range of all the template entries.

      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 TemplateEntryModelImpl.

      Parameters:
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      Returns:
      the range of template entries
    • findAll

      public static List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
      Returns an ordered range of all the template entries.

      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 TemplateEntryModelImpl.

      Parameters:
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of template entries
    • findAll

      public static List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the template entries.

      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 TemplateEntryModelImpl.

      Parameters:
      start - the lower bound of the range of template entries
      end - the upper bound of the range of template entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of template entries
    • removeAll

      public static void removeAll()
      Removes all the template entries from the database.
    • countAll

      public static int countAll()
      Returns the number of template entries.
      Returns:
      the number of template entries
    • getPersistence

      public static TemplateEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(TemplateEntryPersistence persistence)