Interface AssetTagGroupRelPersistence
- All Superinterfaces:
BasePersistence<AssetTagGroupRel>
,CTPersistence<AssetTagGroupRel>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(AssetTagGroupRel assetTagGroupRel) Caches the asset tag group rel in the entity cache if it is enabled.void
cacheResult
(List<AssetTagGroupRel> assetTagGroupRels) Caches the asset tag group rels in the entity cache if it is enabled.int
countAll()
Returns the number of asset tag group rels.int
countByG_T
(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.int
countByGroupId
(long groupId) Returns the number of asset tag group rels where groupId = ?.int
countByTagId
(long tagId) Returns the number of asset tag group rels where tagId = ?.int
countByUuid
(String uuid) Returns the number of asset tag group rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of asset tag group rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of asset tag group rels where uuid = ? and groupId = ?.create
(long assetTagGroupRelId) Creates a new asset tag group rel with the primary key.fetchByG_T
(long groupId, long tagId) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found.fetchByG_T
(long groupId, long tagId, boolean useFinderCache) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.fetchByPrimaryKey
(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or returnsnull
if it could not be found.fetchByTagId_First
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.fetchByTagId_Last
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.findAll()
Returns all the asset tag group rels.findAll
(int start, int end) Returns a range of all the asset tag group rels.findAll
(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels.findAll
(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels.findByG_T
(long groupId, long tagId) Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelException
if it could not be found.findByGroupId
(long groupId) Returns all the asset tag group rels where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the asset tag group rels where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long assetTagGroupRelId, long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where groupId = ?.findByPrimaryKey
(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelException
if it could not be found.findByTagId
(long tagId) Returns all the asset tag group rels where tagId = ?.findByTagId
(long tagId, int start, int end) Returns a range of all the asset tag group rels where tagId = ?.findByTagId
(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where tagId = ?.findByTagId
(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where tagId = ?.findByTagId_First
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.findByTagId_Last
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.findByTagId_PrevAndNext
(long assetTagGroupRelId, long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where tagId = ?.findByUuid
(String uuid) Returns all the asset tag group rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the asset tag group rels where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the asset tag group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset tag group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long assetTagGroupRelId, String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelException
if it could not be found.findByUuid_Last
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long assetTagGroupRelId, String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ?.remove
(long assetTagGroupRelId) Removes the asset tag group rel with the primary key from the database.void
Removes all the asset tag group rels from the database.removeByG_T
(long groupId, long tagId) Removes the asset tag group rel where groupId = ? and tagId = ? from the database.void
removeByGroupId
(long groupId) Removes all the asset tag group rels where groupId = ? from the database.void
removeByTagId
(long tagId) Removes all the asset tag group rels where tagId = ? from the database.void
removeByUuid
(String uuid) Removes all the asset tag group rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the asset tag group rel where uuid = ? and groupId = ? from the database.updateImpl
(AssetTagGroupRel assetTagGroupRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the asset tag group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset tag group rels
-
findByUuid
Returns a range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByUuid
List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid
List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_First
AssetTagGroupRel findByUuid_First(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByUuid_First
AssetTagGroupRel fetchByUuid_First(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_Last
AssetTagGroupRel findByUuid_Last(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByUuid_Last
AssetTagGroupRel fetchByUuid_Last(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_PrevAndNext
AssetTagGroupRel[] findByUuid_PrevAndNext(long assetTagGroupRelId, String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
removeByUuid
Removes all the asset tag group rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset tag group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset tag group rels
-
findByUUID_G
Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByUUID_G
Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
fetchByUUID_G
Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
removeByUUID_G
Removes the asset tag group rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
-
countByUUID_G
Returns the number of asset tag group rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset tag group rels
-
findByUuid_C
Returns all the asset tag group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset tag group rels
-
findByUuid_C
Returns a range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByUuid_C
List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_C
List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_C_First
AssetTagGroupRel findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByUuid_C_First
AssetTagGroupRel fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_C_Last
AssetTagGroupRel findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByUuid_C_Last
AssetTagGroupRel fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_C_PrevAndNext
AssetTagGroupRel[] findByUuid_C_PrevAndNext(long assetTagGroupRelId, String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
removeByUuid_C
Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset tag group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset tag group rels
-
findByGroupId
Returns all the asset tag group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset tag group rels
-
findByGroupId
Returns a range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByGroupId
List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByGroupId
List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByGroupId_First
AssetTagGroupRel findByGroupId_First(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByGroupId_First
AssetTagGroupRel fetchByGroupId_First(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByGroupId_Last
AssetTagGroupRel findByGroupId_Last(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByGroupId_Last
AssetTagGroupRel fetchByGroupId_Last(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByGroupId_PrevAndNext
AssetTagGroupRel[] findByGroupId_PrevAndNext(long assetTagGroupRelId, long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where groupId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the asset tag group rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of asset tag group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset tag group rels
-
findByTagId
Returns all the asset tag group rels where tagId = ?.- Parameters:
tagId
- the tag ID- Returns:
- the matching asset tag group rels
-
findByTagId
Returns a range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByTagId
List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByTagId
List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByTagId_First
AssetTagGroupRel findByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByTagId_First
AssetTagGroupRel fetchByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByTagId_Last
AssetTagGroupRel findByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByTagId_Last
AssetTagGroupRel fetchByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByTagId_PrevAndNext
AssetTagGroupRel[] findByTagId_PrevAndNext(long assetTagGroupRelId, long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where tagId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reltagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
removeByTagId
void removeByTagId(long tagId) Removes all the asset tag group rels where tagId = ? from the database.- Parameters:
tagId
- the tag ID
-
countByTagId
int countByTagId(long tagId) Returns the number of asset tag group rels where tagId = ?.- Parameters:
tagId
- the tag ID- Returns:
- the number of matching asset tag group rels
-
findByG_T
Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be found
-
fetchByG_T
Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
fetchByG_T
Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDtagId
- the tag IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
removeByG_T
Removes the asset tag group rel where groupId = ? and tagId = ? from the database.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
-
countByG_T
int countByG_T(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the number of matching asset tag group rels
-
cacheResult
Caches the asset tag group rel in the entity cache if it is enabled.- Parameters:
assetTagGroupRel
- the asset tag group rel
-
cacheResult
Caches the asset tag group rels in the entity cache if it is enabled.- Parameters:
assetTagGroupRels
- the asset tag group rels
-
create
Creates a new asset tag group rel with the primary key. Does not add the asset tag group rel to the database.- Parameters:
assetTagGroupRelId
- the primary key for the new asset tag group rel- Returns:
- the new asset tag group rel
-
remove
Removes the asset tag group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset tag group rel with the primary key or returnsnull
if it could not be found.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel, or
null
if a asset tag group rel with the primary key could not be found
-
findAll
List<AssetTagGroupRel> findAll()Returns all the asset tag group rels.- Returns:
- the asset tag group rels
-
findAll
Returns a range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of asset tag group rels
-
findAll
List<AssetTagGroupRel> findAll(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset tag group rels
-
findAll
List<AssetTagGroupRel> findAll(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset tag group rels
-
removeAll
void removeAll()Removes all the asset tag group rels from the database. -
countAll
int countAll()Returns the number of asset tag group rels.- Returns:
- the number of asset tag group rels
-