public class TemplateEntryUtil
extends java.lang.Object
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
TemplateEntryPersistence
Constructor and Description |
---|
TemplateEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<TemplateEntry> templateEntries)
Caches the template entries in the entity cache if it is enabled.
|
static void |
cacheResult(TemplateEntry templateEntry)
Caches the template entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(TemplateEntry templateEntry) |
static int |
countAll()
Returns the number of template entries.
|
static int |
countByDDMTemplateId(long ddmTemplateId)
Returns the number of template entries where ddmTemplateId = ?.
|
static int |
countByG_IICN_IIFVK(long[] groupIds,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey)
Returns the number of template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static int |
countByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey)
Returns the number of template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static int |
countByG_IICN(long groupId,
java.lang.String infoItemClassName)
Returns the number of template entries where groupId = ? and infoItemClassName = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of template entries where groupId = ?.
|
static int |
countByGroupId(long[] groupIds)
Returns the number of template entries where groupId = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of template entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of template entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of template entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static TemplateEntry |
create(long templateEntryId)
Creates a new template entry with the primary key.
|
static TemplateEntry |
fetchByDDMTemplateId(long ddmTemplateId)
Returns the template entry where ddmTemplateId = ? or returns
null if it could not be found. |
static TemplateEntry |
fetchByDDMTemplateId(long ddmTemplateId,
boolean useFinderCache)
Returns the template entry where ddmTemplateId = ? or returns
null if it could not be found, optionally using the finder cache. |
static TemplateEntry |
fetchByG_IICN_First(long groupId,
java.lang.String infoItemClassName,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
|
static TemplateEntry |
fetchByG_IICN_IIFVK_First(long groupId,
java.lang.String infoItemClassName,
java.lang.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 TemplateEntry |
fetchByG_IICN_IIFVK_Last(long groupId,
java.lang.String infoItemClassName,
java.lang.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 |
fetchByG_IICN_Last(long groupId,
java.lang.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 |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ?.
|
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 = ?.
|
static TemplateEntry |
fetchByPrimaryKey(long templateEntryId)
Returns the template entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,TemplateEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static TemplateEntry |
fetchByUuid_C_First(java.lang.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 TemplateEntry |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where uuid = ?.
|
static TemplateEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the template entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static TemplateEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the template entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static TemplateEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the last template entry in the ordered set where uuid = ?.
|
static java.util.List<TemplateEntry> |
findAll()
Returns all the template entries.
|
static java.util.List<TemplateEntry> |
findAll(int start,
int end)
Returns a range of all the template entries.
|
static java.util.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 java.util.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 TemplateEntry |
findByDDMTemplateId(long ddmTemplateId)
Returns the template entry where ddmTemplateId = ? or throws a
NoSuchTemplateEntryException if it could not be found. |
static TemplateEntry |
findByG_IICN_First(long groupId,
java.lang.String infoItemClassName,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ? and infoItemClassName = ?.
|
static TemplateEntry |
findByG_IICN_IIFVK_First(long groupId,
java.lang.String infoItemClassName,
java.lang.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 TemplateEntry |
findByG_IICN_IIFVK_Last(long groupId,
java.lang.String infoItemClassName,
java.lang.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,
java.lang.String infoItemClassName,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long[] groupIds,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey)
Returns all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long[] groupIds,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey,
int start,
int end)
Returns a range of all the template entries where groupId = any ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long[] groupIds,
java.lang.String infoItemClassName,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long[] groupIds,
java.lang.String infoItemClassName,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey)
Returns all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey,
int start,
int end)
Returns a range of all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.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 TemplateEntry |
findByG_IICN_Last(long groupId,
java.lang.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,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN(long groupId,
java.lang.String infoItemClassName)
Returns all the template entries where groupId = ? and infoItemClassName = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN(long groupId,
java.lang.String infoItemClassName,
int start,
int end)
Returns a range of all the template entries where groupId = ? and infoItemClassName = ?.
|
static java.util.List<TemplateEntry> |
findByG_IICN(long groupId,
java.lang.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 java.util.List<TemplateEntry> |
findByG_IICN(long groupId,
java.lang.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 TemplateEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ?.
|
static TemplateEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the last template entry in the ordered set where groupId = ?.
|
static TemplateEntry[] |
findByGroupId_PrevAndNext(long templateEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the template entries before and after the current template entry in the ordered set where groupId = ?.
|
static java.util.List<TemplateEntry> |
findByGroupId(long groupId)
Returns all the template entries where groupId = ?.
|
static java.util.List<TemplateEntry> |
findByGroupId(long[] groupIds)
Returns all the template entries where groupId = any ?.
|
static java.util.List<TemplateEntry> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the template entries where groupId = any ?.
|
static java.util.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 java.util.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 java.util.List<TemplateEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the template entries where groupId = ?.
|
static java.util.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 java.util.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 TemplateEntry |
findByPrimaryKey(long templateEntryId)
Returns the template entry with the primary key or throws a
NoSuchTemplateEntryException if it could not be found. |
static TemplateEntry |
findByUuid_C_First(java.lang.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 TemplateEntry |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<TemplateEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the template entries where uuid = ? and companyId = ?.
|
static java.util.List<TemplateEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the template entries where uuid = ? and companyId = ?.
|
static java.util.List<TemplateEntry> |
findByUuid_C(java.lang.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 java.util.List<TemplateEntry> |
findByUuid_C(java.lang.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 TemplateEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where uuid = ?.
|
static TemplateEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the template entry where uuid = ? and groupId = ? or throws a
NoSuchTemplateEntryException if it could not be found. |
static TemplateEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<TemplateEntry> |
findByUuid(java.lang.String uuid)
Returns all the template entries where uuid = ?.
|
static java.util.List<TemplateEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the template entries where uuid = ?.
|
static java.util.List<TemplateEntry> |
findByUuid(java.lang.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 java.util.List<TemplateEntry> |
findByUuid(java.lang.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 java.util.List<TemplateEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<TemplateEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<TemplateEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) |
static TemplateEntryPersistence |
getPersistence() |
static TemplateEntry |
remove(long templateEntryId)
Removes the template entry with the primary key from the database.
|
static void |
removeAll()
Removes all the template entries from the database.
|
static TemplateEntry |
removeByDDMTemplateId(long ddmTemplateId)
Removes the template entry where ddmTemplateId = ? from the database.
|
static void |
removeByG_IICN_IIFVK(long groupId,
java.lang.String infoItemClassName,
java.lang.String infoItemFormVariationKey)
Removes all the template entries where groupId = ? and infoItemClassName = ? and infoItemFormVariationKey = ? from the database.
|
static void |
removeByG_IICN(long groupId,
java.lang.String infoItemClassName)
Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the template entries where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the template entries where uuid = ? and companyId = ? from the database.
|
static TemplateEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the template entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the template entries where uuid = ? from the database.
|
static void |
setPersistence(TemplateEntryPersistence persistence) |
static TemplateEntry |
update(TemplateEntry templateEntry) |
static TemplateEntry |
update(TemplateEntry templateEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static TemplateEntry |
updateImpl(TemplateEntry templateEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(TemplateEntry templateEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,TemplateEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<TemplateEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static TemplateEntry update(TemplateEntry templateEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static TemplateEntry update(TemplateEntry templateEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<TemplateEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<TemplateEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of template entriesend
- the upper bound of the range of template entries (not inclusive)public static java.util.List<TemplateEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static TemplateEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry[] findByUuid_PrevAndNext(long templateEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the current template entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static TemplateEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTemplateEntryException
NoSuchTemplateEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching template entry could not be foundpublic static TemplateEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching template entry could not be foundpublic static TemplateEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTemplateEntryException
uuid
- the uuidgroupId
- the group IDNoSuchTemplateEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<TemplateEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<TemplateEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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)public static java.util.List<TemplateEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static TemplateEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry[] findByUuid_C_PrevAndNext(long templateEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the current template entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<TemplateEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<TemplateEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of template entriesend
- the upper bound of the range of template entries (not inclusive)public static java.util.List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static TemplateEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry[] findByGroupId_PrevAndNext(long templateEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the current template entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static java.util.List<TemplateEntry> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
groupIds
- the group IDspublic static java.util.List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of template entriesend
- the upper bound of the range of template entries (not inclusive)public static java.util.List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static TemplateEntry findByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException
NoSuchTemplateEntryException
if it could not be found.ddmTemplateId
- the ddm template IDNoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByDDMTemplateId(long ddmTemplateId)
null
if it could not be found. Uses the finder cache.ddmTemplateId
- the ddm template IDnull
if a matching template entry could not be foundpublic static TemplateEntry fetchByDDMTemplateId(long ddmTemplateId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.ddmTemplateId
- the ddm template IDuseFinderCache
- whether to use the finder cachenull
if a matching template entry could not be foundpublic static TemplateEntry removeByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException
ddmTemplateId
- the ddm template IDNoSuchTemplateEntryException
public static int countByDDMTemplateId(long ddmTemplateId)
ddmTemplateId
- the ddm template IDpublic static java.util.List<TemplateEntry> findByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class namepublic static java.util.List<TemplateEntry> findByG_IICN(long groupId, java.lang.String infoItemClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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)public static java.util.List<TemplateEntry> findByG_IICN(long groupId, java.lang.String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByG_IICN(long groupId, java.lang.String infoItemClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static TemplateEntry findByG_IICN_First(long groupId, java.lang.String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDinfoItemClassName
- the info item class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByG_IICN_First(long groupId, java.lang.String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDinfoItemClassName
- the info item class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry findByG_IICN_Last(long groupId, java.lang.String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDinfoItemClassName
- the info item class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByG_IICN_Last(long groupId, java.lang.String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDinfoItemClassName
- the info item class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry[] findByG_IICN_PrevAndNext(long templateEntryId, long groupId, java.lang.String infoItemClassName, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the current template entrygroupId
- the group IDinfoItemClassName
- the info item class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static void removeByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class namepublic static int countByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class namepublic static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey)
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keypublic static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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)public static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static TemplateEntry findByG_IICN_IIFVK_First(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByG_IICN_IIFVK_First(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry findByG_IICN_IIFVK_Last(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateEntryException
- if a matching template entry could not be foundpublic static TemplateEntry fetchByG_IICN_IIFVK_Last(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching template entry could not be foundpublic static TemplateEntry[] findByG_IICN_IIFVK_PrevAndNext(long templateEntryId, long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator) throws NoSuchTemplateEntryException
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 (optionally null
)NoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
groupIds
- the group IDsinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keypublic static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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)public static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findByG_IICN_IIFVK(long[] groupIds, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey)
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keypublic static int countByG_IICN_IIFVK(long groupId, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey)
groupId
- the group IDinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keypublic static int countByG_IICN_IIFVK(long[] groupIds, java.lang.String infoItemClassName, java.lang.String infoItemFormVariationKey)
groupIds
- the group IDsinfoItemClassName
- the info item class nameinfoItemFormVariationKey
- the info item form variation keypublic static void cacheResult(TemplateEntry templateEntry)
templateEntry
- the template entrypublic static void cacheResult(java.util.List<TemplateEntry> templateEntries)
templateEntries
- the template entriespublic static TemplateEntry create(long templateEntryId)
templateEntryId
- the primary key for the new template entrypublic static TemplateEntry remove(long templateEntryId) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the template entryNoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static TemplateEntry updateImpl(TemplateEntry templateEntry)
public static TemplateEntry findByPrimaryKey(long templateEntryId) throws NoSuchTemplateEntryException
NoSuchTemplateEntryException
if it could not be found.templateEntryId
- the primary key of the template entryNoSuchTemplateEntryException
- if a template entry with the primary key could not be foundpublic static TemplateEntry fetchByPrimaryKey(long templateEntryId)
null
if it could not be found.templateEntryId
- the primary key of the template entrynull
if a template entry with the primary key could not be foundpublic static java.util.List<TemplateEntry> findAll()
public static java.util.List<TemplateEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
start
- the lower bound of the range of template entriesend
- the upper bound of the range of template entries (not inclusive)public static java.util.List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)public static java.util.List<TemplateEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from TemplateEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static TemplateEntryPersistence getPersistence()
public static void setPersistence(TemplateEntryPersistence persistence)