Class TemplateEntryUtil
com.liferay.template.service.persistence.impl.TemplateEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(TemplateEntry templateEntry) Caches the template entry in the entity cache if it is enabled.static voidcacheResult(List<TemplateEntry> templateEntries) Caches the template entries in the entity cache if it is enabled.static voidstatic voidclearCache(TemplateEntry templateEntry) static intcountAll()Returns the number of template entries.static intcountByDDMTemplateId(long ddmTemplateId) Returns the number of template entries where ddmTemplateId = ?.static intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of template entries where externalReferenceCode = ? and groupId = ?.static intcountByG_IICN(long groupId, String infoItemClassName) Returns the number of template entries where groupId = ? and infoItemClassName = ?.static intcountByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static intcountByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static intcountByGroupId(long groupId) Returns the number of template entries where groupId = ?.static intcountByGroupId(long[] groupIds) Returns the number of template entries where groupId = any ?.static intcountByUuid(String uuid) Returns the number of template entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of template entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of template entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static TemplateEntrycreate(long templateEntryId) Creates a new template entry with the primary key.static TemplateEntryfetchByDDMTemplateId(long ddmTemplateId) Returns the template entry where ddmTemplateId = ? or returnsnullif it could not be found.static TemplateEntryfetchByDDMTemplateId(long ddmTemplateId, boolean useFinderCache) Returns the template entry where ddmTemplateId = ? or returnsnullif it could not be found, optionally using the finder cache.static TemplateEntryfetchByERC_G(String externalReferenceCode, long groupId) Returns the template entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.static TemplateEntryfetchByERC_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.static TemplateEntryfetchByG_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 = ?.static TemplateEntryfetchByG_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 = ?.static TemplateEntryfetchByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static TemplateEntryfetchByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.static TemplateEntryfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where groupId = ?.static TemplateEntryfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ?.static TemplateEntryfetchByPrimaryKey(long templateEntryId) Returns the template entry with the primary key or returnsnullif it could not be found.static Map<Serializable,TemplateEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static TemplateEntryfetchByUuid_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 = ?.static TemplateEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ? and companyId = ?.static TemplateEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where uuid = ?.static TemplateEntryfetchByUUID_G(String uuid, long groupId) Returns the template entry where uuid = ? and groupId = ? or returnsnullif it could not be found.static TemplateEntryfetchByUUID_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.static TemplateEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ?.static List<TemplateEntry>findAll()Returns all the template entries.static List<TemplateEntry>findAll(int start, int end) Returns a range of all the template entries.static List<TemplateEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries.static List<TemplateEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries.static TemplateEntryfindByDDMTemplateId(long ddmTemplateId) Returns the template entry where ddmTemplateId = ? or throws aNoSuchTemplateEntryExceptionif it could not be found.static TemplateEntryfindByERC_G(String externalReferenceCode, long groupId) Returns the template entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateEntryExceptionif it could not be found.static List<TemplateEntry>findByG_IICN(long groupId, String infoItemClassName) Returns all the template entries where groupId = ? and infoItemClassName = ?.static List<TemplateEntry>findByG_IICN(long groupId, String infoItemClassName, int start, int end) Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.static List<TemplateEntry>findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.static List<TemplateEntry>findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.static TemplateEntryfindByG_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 = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey) Returns all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end) Returns a range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?, optionally using the finder cache.static List<TemplateEntry>findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Returns all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end) Returns a range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static List<TemplateEntry>findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static TemplateEntryfindByG_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 = ?.static TemplateEntryfindByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static TemplateEntry[]findByG_IICN_IIFVK_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.static TemplateEntryfindByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.static TemplateEntry[]findByG_IICN_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ?.static List<TemplateEntry>findByGroupId(long groupId) Returns all the template entries where groupId = ?.static List<TemplateEntry>findByGroupId(long[] groupIds) Returns all the template entries where groupId = any ?.static List<TemplateEntry>findByGroupId(long[] groupIds, int start, int end) Returns a range of all the template entries where groupId = any ?.static List<TemplateEntry>findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = any ?.static List<TemplateEntry>findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ?, optionally using the finder cache.static List<TemplateEntry>findByGroupId(long groupId, int start, int end) Returns a range of all the template entries where groupId = ?.static List<TemplateEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ?.static List<TemplateEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ?.static TemplateEntryfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where groupId = ?.static TemplateEntryfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ?.static TemplateEntry[]findByGroupId_PrevAndNext(long templateEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the template entries before and after the current template entry in the ordered set where groupId = ?.static TemplateEntryfindByPrimaryKey(long templateEntryId) Returns the template entry with the primary key or throws aNoSuchTemplateEntryExceptionif it could not be found.static List<TemplateEntry>findByUuid(String uuid) Returns all the template entries where uuid = ?.static List<TemplateEntry>findByUuid(String uuid, int start, int end) Returns a range of all the template entries where uuid = ?.static List<TemplateEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where uuid = ?.static List<TemplateEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where uuid = ?.static List<TemplateEntry>findByUuid_C(String uuid, long companyId) Returns all the template entries where uuid = ? and companyId = ?.static List<TemplateEntry>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the template entries where uuid = ? and companyId = ?.static List<TemplateEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where uuid = ? and companyId = ?.static List<TemplateEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where uuid = ? and companyId = ?.static TemplateEntryfindByUuid_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 = ?.static TemplateEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ? and companyId = ?.static TemplateEntry[]findByUuid_C_PrevAndNext(long templateEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the template entries before and after the current template entry in the ordered set where uuid = ? and companyId = ?.static TemplateEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where uuid = ?.static TemplateEntryfindByUUID_G(String uuid, long groupId) Returns the template entry where uuid = ? and groupId = ? or throws aNoSuchTemplateEntryExceptionif it could not be found.static TemplateEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ?.static TemplateEntry[]findByUuid_PrevAndNext(long templateEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the template entries before and after the current template entry in the ordered set where uuid = ?.static List<TemplateEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<TemplateEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<TemplateEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) static TemplateEntryPersistencestatic TemplateEntryremove(long templateEntryId) Removes the template entry with the primary key from the database.static voidRemoves all the template entries from the database.static TemplateEntryremoveByDDMTemplateId(long ddmTemplateId) Removes the template entry where ddmTemplateId = ? from the database.static TemplateEntryremoveByERC_G(String externalReferenceCode, long groupId) Removes the template entry where externalReferenceCode = ? and groupId = ? from the database.static voidremoveByG_IICN(long groupId, String infoItemClassName) Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.static voidremoveByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.static voidremoveByGroupId(long groupId) Removes all the template entries where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the template entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the template entries where uuid = ? and companyId = ? from the database.static TemplateEntryremoveByUUID_G(String uuid, long groupId) Removes the template entry where uuid = ? and groupId = ? from the database.static voidsetPersistence(TemplateEntryPersistence persistence) static TemplateEntryupdate(TemplateEntry templateEntry) static TemplateEntryupdate(TemplateEntry templateEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static TemplateEntryupdateImpl(TemplateEntry templateEntry)
-
Constructor Details
-
TemplateEntryUtil
public TemplateEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static TemplateEntry update(TemplateEntry templateEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
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
public static List<TemplateEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
public static TemplateEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the first template entry in the ordered set where uuid = ?.- Parameters:
uuid- the 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 foundNoSuchTemplateEntryException
-
fetchByUuid_First
public static TemplateEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where uuid = ?.- Parameters:
uuid- the 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
public static TemplateEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the last template entry in the ordered set where uuid = ?.- Parameters:
uuid- the 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 foundNoSuchTemplateEntryException
-
fetchByUuid_Last
public static TemplateEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ?.- Parameters:
uuid- the 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
public static TemplateEntry[] findByUuid_PrevAndNext(long templateEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the template entries before and after the current template entry in the ordered set where uuid = ?.- Parameters:
templateEntryId- the primary key of the current template 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 foundNoSuchTemplateEntryException
-
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
public static TemplateEntry findByUUID_G(String uuid, long groupId) throws NoSuchTemplateEntryException 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 foundNoSuchTemplateEntryException
-
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
public static TemplateEntry removeByUUID_G(String uuid, long groupId) throws NoSuchTemplateEntryException Removes the template entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the 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
public static List<TemplateEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static TemplateEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the first template entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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 foundNoSuchTemplateEntryException
-
fetchByUuid_C_First
public static TemplateEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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
public static TemplateEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the last template entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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 foundNoSuchTemplateEntryException
-
fetchByUuid_C_Last
public static TemplateEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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
public static TemplateEntry[] findByUuid_C_PrevAndNext(long templateEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the template entries before and after the current template entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
templateEntryId- the primary key of the current template 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 foundNoSuchTemplateEntryException
-
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
public static List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - 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
public static TemplateEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the first template entry in the ordered set where groupId = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByGroupId_First
public static TemplateEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where groupId = ?.- Parameters:
groupId- the group 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
public static TemplateEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the last template entry in the ordered set where groupId = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByGroupId_Last
public static TemplateEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ?.- Parameters:
groupId- the group 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
public static TemplateEntry[] findByGroupId_PrevAndNext(long templateEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the template entries before and after the current template entry in the ordered set where groupId = ?.- Parameters:
templateEntryId- the primary key of the current template 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 foundNoSuchTemplateEntryException
-
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
public static List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - 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
public static void removeByGroupId(long groupId) Removes all the template entries where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of template entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching template entries
-
countByGroupId
public static int countByGroupId(long[] groupIds) Returns the number of template entries where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching template entries
-
findByDDMTemplateId
public static TemplateEntry findByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException Returns the template entry where ddmTemplateId = ? or throws 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 foundNoSuchTemplateEntryException
-
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
public static TemplateEntry removeByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException Removes the template entry where ddmTemplateId = ? from the database.- Parameters:
ddmTemplateId- the ddm template ID- Returns:
- the template entry that was removed
- Throws:
NoSuchTemplateEntryException
-
countByDDMTemplateId
public static int countByDDMTemplateId(long ddmTemplateId) Returns the number of template entries where ddmTemplateId = ?.- Parameters:
ddmTemplateId- the ddm template ID- Returns:
- the number of matching template entries
-
findByG_IICN
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
public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end) Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN(long groupId, String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ?.Useful when paginating results. Returns a maximum of
end - 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
public static TemplateEntry findByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByG_IICN_First
public static TemplateEntry fetchByG_IICN_First(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group 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
public static TemplateEntry findByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByG_IICN_Last
public static TemplateEntry fetchByG_IICN_Last(long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ?.- Parameters:
groupId- the group 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
public static TemplateEntry[] findByG_IICN_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ?.- Parameters:
templateEntryId- the primary key of the current template 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 foundNoSuchTemplateEntryException
-
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
public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Returns all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key- Returns:
- the matching template entries
-
findByG_IICN_IIFVK
public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end) Returns a range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static TemplateEntry findByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByG_IICN_IIFVK_First
public static TemplateEntry fetchByG_IICN_IIFVK_First(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group 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
public static TemplateEntry findByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group 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 foundNoSuchTemplateEntryException
-
fetchByG_IICN_IIFVK_Last
public static TemplateEntry fetchByG_IICN_IIFVK_Last(long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns the last template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group 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
public static TemplateEntry[] findByG_IICN_IIFVK_PrevAndNext(long templateEntryId, long groupId, String infoItemClassName, String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException Returns the template entries before and after the current template entry in the ordered set where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
templateEntryId- the primary key of the current template 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 foundNoSuchTemplateEntryException
-
findByG_IICN_IIFVK
public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey) Returns all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end) Returns a range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - 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
public static void removeByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key
-
countByG_IICN_IIFVK
public static int countByG_IICN_IIFVK(long groupId, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupId- the group IDinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key- Returns:
- the number of matching template entries
-
countByG_IICN_IIFVK
public static int countByG_IICN_IIFVK(long[] groupIds, String infoItemClassName, String infoItemFormVariationKey) Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.- Parameters:
groupIds- the group IDsinfoItemClassName- the info item class nameinfoItemFormVariationKey- the info item form variation key- Returns:
- the number of matching template entries
-
findByERC_G
public static TemplateEntry findByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException Returns the template entry where externalReferenceCode = ? and groupId = ? or throws 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 foundNoSuchTemplateEntryException
-
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
public static TemplateEntry 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.- 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
public static TemplateEntry removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException Removes the template entry where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference 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 foundNoSuchTemplateEntryException
-
updateImpl
-
findByPrimaryKey
public static TemplateEntry findByPrimaryKey(long templateEntryId) throws NoSuchTemplateEntryException 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 foundNoSuchTemplateEntryException
-
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
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
public static List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) Returns an ordered range of all the template entries.Useful when paginating results. Returns a maximum of
end - 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
public static List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the template entries.Useful when paginating results. Returns a maximum of
end - 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
public static void removeAll()Removes all the template entries from the database. -
countAll
public static int countAll()Returns the number of template entries.- Returns:
- the number of template entries
-
getPersistence
-
setPersistence
-