Interface TemplateEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<TemplateEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<TemplateEntry>

@ProviderType public interface TemplateEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<TemplateEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<TemplateEntry>
The persistence interface for the template entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(TemplateEntry templateEntry)
    Caches the template entry in the entity cache if it is enabled.
    void
    cacheResult(List<TemplateEntry> templateEntries)
    Caches the template entries in the entity cache if it is enabled.
    int
    Returns the number of template entries.
    int
    countByDDMTemplateId(long ddmTemplateId)
    Returns the number of template entries where ddmTemplateId = ?.
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of template entries where externalReferenceCode = ? and groupId = ?.
    int
    countByG_IICN(long groupId, String infoItemClassName)
    Returns the number of template entries where groupId = ? and infoItemClassName = ?.
    int
    countByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey)
    Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    int
    countByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
    Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
    int
    countByGroupId(long groupId)
    Returns the number of template entries where groupId = ?.
    int
    countByGroupId(long[] groupIds)
    Returns the number of template entries where groupId = any ?.
    int
    Returns the number of template entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of template entries where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of template entries where uuid = ? and groupId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    remove(long templateEntryId)
    Removes the template entry with the primary key from the database.
    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.
    void
    removeByG_IICN(long groupId, String infoItemClassName)
    Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.
    void
    removeByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey)
    Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the template entries where groupId = ? from the database.
    void
    Removes all the template entries where uuid = ? from the database.
    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.
    updateImpl(TemplateEntry templateEntry)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

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

      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

      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

      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

      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
    • fetchByGroupId_First

      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

      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
    • fetchByGroupId_Last

      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

      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
    • findByGroupId

      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

      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

      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

      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

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

      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

      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

      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
    • fetchByDDMTemplateId

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByG_IICN_First

      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

      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
    • fetchByG_IICN_Last

      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

      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
    • removeByG_IICN

      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

      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

      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

      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

      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

      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

      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
    • fetchByG_IICN_IIFVK_First

      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

      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
    • fetchByG_IICN_IIFVK_Last

      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

      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
    • findByG_IICN_IIFVK

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByERC_G

      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

      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

      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

      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

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

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

      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

      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
    • updateImpl

      TemplateEntry updateImpl(TemplateEntry templateEntry)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

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

      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

      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

      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

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

      int countAll()
      Returns the number of template entries.
      Returns:
      the number of template entries