Interface TemplateEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<TemplateEntry>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<TemplateEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(TemplateEntry templateEntry) Caches the template entry in the entity cache if it is enabled.voidcacheResult(List<TemplateEntry> templateEntries) Caches the template entries in the entity cache if it is enabled.intcountAll()Returns the number of template entries.intcountByDDMTemplateId(long ddmTemplateId) Returns the number of template entries where ddmTemplateId = ?.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of template entries where externalReferenceCode = ? and groupId = ?.intcountByG_IICN(long groupId, String infoItemClassName) Returns the number of template entries where groupId = ? and infoItemClassName = ?.intcountByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.intcountByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.intcountByGroupId(long groupId) Returns the number of template entries where groupId = ?.intcountByGroupId(long[] groupIds) Returns the number of template entries where groupId = any ?.intcountByUuid(String uuid) Returns the number of template entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of template entries where uuid = ? and companyId = ?.intcountByUUID_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 returnsnullif it could not be found.fetchByDDMTemplateId(long ddmTemplateId, boolean useFinderCache) Returns the template entry where ddmTemplateId = ? or returnsnullif 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 returnsnullif it could not be found.fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the template entry where externalReferenceCode = ? and groupId = ? or returnsnullif 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 returnsnullif 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 returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the template entry where uuid = ? and groupId = ? or returnsnullif 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 = ?.findAll()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 aNoSuchTemplateEntryExceptionif it could not be found.findByERC_G(String externalReferenceCode, long groupId) Returns the template entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateEntryExceptionif 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 aNoSuchTemplateEntryExceptionif it could not be found.findByUuid(String uuid) 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 aNoSuchTemplateEntryExceptionif 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.voidRemoves 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.voidremoveByG_IICN(long groupId, String infoItemClassName) Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.voidremoveByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.voidremoveByGroupId(long groupId) Removes all the template entries where groupId = ? from the database.voidremoveByUuid(String uuid) Removes all the template entries where uuid = ? from the database.voidremoveByUuid_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, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the template entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching template entries
-
findByUuid
Returns a range of all the template entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching template entry, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching template entry, or
nullif 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 entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next template entry
- Throws:
NoSuchTemplateEntryException- if a template entry with the primary key could not be found
-
removeByUuid
Removes all the template entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of template entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching template entries
-
findByUUID_G
Returns the template entry where uuid = ? and groupId = ? or throws aNoSuchTemplateEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching template entry
- Throws:
NoSuchTemplateEntryException- if a matching template entry could not be found
-
fetchByUUID_G
Returns the template entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching template entry, or
nullif a matching template entry could not be found
-
fetchByUUID_G
Returns the template entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching template entry, or
nullif a matching template entry could not be found
-
removeByUUID_G
Removes the template entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the template entry that was removed
- Throws:
NoSuchTemplateEntryException
-
countByUUID_G
Returns the number of template entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching template entries
-
findByUuid_C
Returns all the template entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching template entries
-
findByUuid_C
Returns a range of all the template entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching template entry, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching template entry, or
nullif 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 entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next template entry
- Throws:
NoSuchTemplateEntryException- if a template entry with the primary key could not be found
-
removeByUuid_C
Removes all the template entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of template entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching template entries
-
findByGroupId
Returns all the template entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching template entries
-
findByGroupId
Returns a range of all the template entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching template entry, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching template entry, or
nullif 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 entrygroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next template entry
- Throws:
NoSuchTemplateEntryException- if a template entry with the primary key could not be found
-
findByGroupId
Returns all the template entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDs- Returns:
- the matching template entries
-
findByGroupId
Returns a range of all the template entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
Returns the template entry where ddmTemplateId = ? or throws aNoSuchTemplateEntryExceptionif 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
Returns the template entry where ddmTemplateId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
ddmTemplateId- the ddm template ID- Returns:
- the matching template entry, or
nullif a matching template entry could not be found
-
fetchByDDMTemplateId
Returns the template entry where ddmTemplateId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
ddmTemplateId- the ddm template IDuseFinderCache- whether to use the finder cache- Returns:
- the matching template entry, or
nullif a matching template entry could not be found
-
removeByDDMTemplateId
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
Returns all the template entries where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group IDinfoItemClassName- the info item class name- Returns:
- the matching template entries
-
findByG_IICN
Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class namestart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class namestart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class namestart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDinfoItemClassName- the info item class nameorderByComparator- the comparator to order the set by (optionallynull)- 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 IDinfoItemClassName- the info item class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching template entry, or
nullif 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 IDinfoItemClassName- the info item class nameorderByComparator- the comparator to order the set by (optionallynull)- 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 IDinfoItemClassName- the info item class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching template entry, or
nullif 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 entrygroupId- the group IDinfoItemClassName- the info item class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next template entry
- Throws:
NoSuchTemplateEntryException- if a template entry with the primary key could not be found
-
removeByG_IICN
Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.- Parameters:
groupId- the group IDinfoItemClassName- the info item class name
-
countByG_IICN
Returns the number of template entries where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group IDinfoItemClassName- 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 IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keyorderByComparator- the comparator to order the set by (optionallynull)- 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 IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching template entry, or
nullif 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 IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keyorderByComparator- the comparator to order the set by (optionallynull)- 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 IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching template entry, or
nullif 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 entrygroupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keyorderByComparator- the comparator to order the set by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation keystart- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching template entries
-
removeByG_IICN_IIFVK
Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key
-
countByG_IICN_IIFVK
Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key- Returns:
- the number of matching template entries
-
countByG_IICN_IIFVK
Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- 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 aNoSuchTemplateEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching template entry
- Throws:
NoSuchTemplateEntryException- if a matching template entry could not be found
-
fetchByERC_G
Returns the template entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching template entry, or
nullif a matching template entry could not be found
-
fetchByERC_G
Returns the template entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching template entry, or
nullif 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 codegroupId- the group ID- Returns:
- the template entry that was removed
- Throws:
NoSuchTemplateEntryException
-
countByERC_G
Returns the number of template entries where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching template entries
-
cacheResult
Caches the template entry in the entity cache if it is enabled.- Parameters:
templateEntry- the template entry
-
cacheResult
Caches the template entries in the entity cache if it is enabled.- Parameters:
templateEntries- the template entries
-
create
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
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
-
findByPrimaryKey
Returns the template entry with the primary key or throws aNoSuchTemplateEntryExceptionif 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
Returns the template entry with the primary key or returnsnullif it could not be found.- Parameters:
templateEntryId- the primary key of the template entry- Returns:
- the template entry, or
nullif 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
Returns a range of all the template entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
start- the lower bound of the range of template entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
start- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromTemplateEntryModelImpl.- Parameters:
start- the lower bound of the range of template entriesend- the upper bound of the range of template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-