@ProviderType public interface TemplateEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<TemplateEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<TemplateEntry>
Caching information and settings can be found in portal.properties
TemplateEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<TemplateEntry> templateEntries)
Caches the template entries in the entity cache if it is enabled.
|
void |
cacheResult(TemplateEntry templateEntry)
Caches the template entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of template entries.
|
int |
countByDDMTemplateId(long ddmTemplateId)
Returns the number of template entries where ddmTemplateId = ?.
|
int |
countByERC_G(java.lang.String externalReferenceCode,
long groupId)
Returns the number of template entries where externalReferenceCode = ? and groupId = ?.
|
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 = ?.
|
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 = ?.
|
int |
countByG_IICN(long groupId,
java.lang.String infoItemClassName)
Returns the number of template entries where groupId = ? and infoItemClassName = ?.
|
int |
countByGroupId(long groupId)
Returns the number of template entries where groupId = ?.
|
int |
countByGroupId(long[] groupIds)
Returns the number of template entries where groupId = any ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of template entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of template entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of template entries where uuid = ?.
|
TemplateEntry |
create(long templateEntryId)
Creates a new template entry with the primary key.
|
TemplateEntry |
fetchByDDMTemplateId(long ddmTemplateId)
Returns the template entry where ddmTemplateId = ? or returns
null if it could not be found. |
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. |
TemplateEntry |
fetchByERC_G(java.lang.String externalReferenceCode,
long groupId)
Returns the template entry where externalReferenceCode = ? and groupId = ? or returns
null if it could not be found. |
TemplateEntry |
fetchByERC_G(java.lang.String externalReferenceCode,
long groupId,
boolean useFinderCache)
Returns the template entry where externalReferenceCode = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
TemplateEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ?.
|
TemplateEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the last template entry in the ordered set where groupId = ?.
|
TemplateEntry |
fetchByPrimaryKey(long templateEntryId)
Returns the template entry with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
java.util.List<TemplateEntry> |
findAll()
Returns all the template entries.
|
java.util.List<TemplateEntry> |
findAll(int start,
int end)
Returns a range of all the template entries.
|
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.
|
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.
|
TemplateEntry |
findByDDMTemplateId(long ddmTemplateId)
Returns the template entry where ddmTemplateId = ? or throws a
NoSuchTemplateEntryException if it could not be found. |
TemplateEntry |
findByERC_G(java.lang.String externalReferenceCode,
long groupId)
Returns the template entry where externalReferenceCode = ? and groupId = ? or throws a
NoSuchTemplateEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<TemplateEntry> |
findByG_IICN(long groupId,
java.lang.String infoItemClassName)
Returns all the template entries where groupId = ? and infoItemClassName = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
TemplateEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the first template entry in the ordered set where groupId = ?.
|
TemplateEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<TemplateEntry> orderByComparator)
Returns the last template entry in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<TemplateEntry> |
findByGroupId(long groupId)
Returns all the template entries where groupId = ?.
|
java.util.List<TemplateEntry> |
findByGroupId(long[] groupIds)
Returns all the template entries where groupId = any ?.
|
java.util.List<TemplateEntry> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the template entries where groupId = any ?.
|
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 ?.
|
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.
|
java.util.List<TemplateEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the template entries where groupId = ?.
|
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 = ?.
|
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 = ?.
|
TemplateEntry |
findByPrimaryKey(long templateEntryId)
Returns the template entry with the primary key or throws a
NoSuchTemplateEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<TemplateEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the template entries where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<TemplateEntry> |
findByUuid(java.lang.String uuid)
Returns all the template entries where uuid = ?.
|
java.util.List<TemplateEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the template entries where uuid = ?.
|
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 = ?.
|
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 = ?.
|
TemplateEntry |
remove(long templateEntryId)
Removes the template entry with the primary key from the database.
|
void |
removeAll()
Removes all the template entries from the database.
|
TemplateEntry |
removeByDDMTemplateId(long ddmTemplateId)
Removes the template entry where ddmTemplateId = ? from the database.
|
TemplateEntry |
removeByERC_G(java.lang.String externalReferenceCode,
long groupId)
Removes the template entry where externalReferenceCode = ? and groupId = ? from the database.
|
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.
|
void |
removeByG_IICN(long groupId,
java.lang.String infoItemClassName)
Removes all the template entries where groupId = ? and infoItemClassName = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the template entries where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the template entries where uuid = ? and companyId = ? from the database.
|
TemplateEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the template entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the template entries where uuid = ? from the database.
|
TemplateEntry |
updateImpl(TemplateEntry templateEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<TemplateEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTemplateEntryException
uuid
- the uuidgroupId
- the group IDNoSuchTemplateEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<TemplateEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<TemplateEntry> findByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 cacheTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry[] 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 foundjava.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 IDsjava.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)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
)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 cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry removeByDDMTemplateId(long ddmTemplateId) throws NoSuchTemplateEntryException
ddmTemplateId
- the ddm template IDNoSuchTemplateEntryException
int countByDDMTemplateId(long ddmTemplateId)
ddmTemplateId
- the ddm template IDjava.util.List<TemplateEntry> findByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class namejava.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)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
)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 cacheTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry[] 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 foundvoid removeByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class nameint countByG_IICN(long groupId, java.lang.String infoItemClassName)
groupId
- the group IDinfoItemClassName
- the info item class namejava.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 keyjava.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)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
)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 cacheTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry 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 foundTemplateEntry[] 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 foundjava.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 keyjava.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)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
)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 cachevoid 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 keyint 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 keyint 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 keyTemplateEntry findByERC_G(java.lang.String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException
NoSuchTemplateEntryException
if it could not be found.externalReferenceCode
- the external reference codegroupId
- the group IDNoSuchTemplateEntryException
- if a matching template entry could not be foundTemplateEntry fetchByERC_G(java.lang.String externalReferenceCode, long groupId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codegroupId
- the group IDnull
if a matching template entry could not be foundTemplateEntry fetchByERC_G(java.lang.String externalReferenceCode, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching template entry could not be foundTemplateEntry removeByERC_G(java.lang.String externalReferenceCode, long groupId) throws NoSuchTemplateEntryException
externalReferenceCode
- the external reference codegroupId
- the group IDNoSuchTemplateEntryException
int countByERC_G(java.lang.String externalReferenceCode, long groupId)
externalReferenceCode
- the external reference codegroupId
- the group IDvoid cacheResult(TemplateEntry templateEntry)
templateEntry
- the template entryvoid cacheResult(java.util.List<TemplateEntry> templateEntries)
templateEntries
- the template entriesTemplateEntry create(long templateEntryId)
templateEntryId
- the primary key for the new template entryTemplateEntry remove(long templateEntryId) throws NoSuchTemplateEntryException
templateEntryId
- the primary key of the template entryNoSuchTemplateEntryException
- if a template entry with the primary key could not be foundTemplateEntry updateImpl(TemplateEntry templateEntry)
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 foundTemplateEntry 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 foundjava.util.List<TemplateEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()