Interface AssetVocabularyGroupRelPersistence
- All Superinterfaces:
BasePersistence<AssetVocabularyGroupRel>
,CTPersistence<AssetVocabularyGroupRel>
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
(AssetVocabularyGroupRel assetVocabularyGroupRel) Caches the asset vocabulary group rel in the entity cache if it is enabled.void
cacheResult
(List<AssetVocabularyGroupRel> assetVocabularyGroupRels) Caches the asset vocabulary group rels in the entity cache if it is enabled.int
countAll()
Returns the number of asset vocabulary group rels.int
countByG_V
(long groupId, long vocabularyId) Returns the number of asset vocabulary group rels where groupId = ? and vocabularyId = ?.int
countByGroupId
(long groupId) Returns the number of asset vocabulary group rels where groupId = ?.int
countByUuid
(String uuid) Returns the number of asset vocabulary group rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of asset vocabulary group rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of asset vocabulary group rels where uuid = ? and groupId = ?.int
countByVocabularyId
(long vocabularyId) Returns the number of asset vocabulary group rels where vocabularyId = ?.create
(long assetVocabularyGroupRelId) Creates a new asset vocabulary group rel with the primary key.fetchByG_V
(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found.fetchByG_V
(long groupId, long vocabularyId, boolean useFinderCache) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.fetchByPrimaryKey
(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the asset vocabulary 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 vocabulary group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.fetchByVocabularyId_First
(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.fetchByVocabularyId_Last
(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.findAll()
Returns all the asset vocabulary group rels.findAll
(int start, int end) Returns a range of all the asset vocabulary group rels.findAll
(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels.findAll
(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels.findByG_V
(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.findByGroupId
(long groupId) Returns all the asset vocabulary group rels where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the asset vocabulary group rels where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long assetVocabularyGroupRelId, long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where groupId = ?.findByPrimaryKey
(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelException
if it could not be found.findByUuid
(String uuid) Returns all the asset vocabulary group rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the asset vocabulary group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long assetVocabularyGroupRelId, String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.findByUuid_Last
(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long assetVocabularyGroupRelId, String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ?.findByVocabularyId
(long vocabularyId) Returns all the asset vocabulary group rels where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end) Returns a range of all the asset vocabulary group rels where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.findByVocabularyId
(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.findByVocabularyId_First
(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.findByVocabularyId_Last
(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.findByVocabularyId_PrevAndNext
(long assetVocabularyGroupRelId, long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where vocabularyId = ?.remove
(long assetVocabularyGroupRelId) Removes the asset vocabulary group rel with the primary key from the database.void
Removes all the asset vocabulary group rels from the database.removeByG_V
(long groupId, long vocabularyId) Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.void
removeByGroupId
(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the asset vocabulary group rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset vocabulary group rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.void
removeByVocabularyId
(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.updateImpl
(AssetVocabularyGroupRel assetVocabularyGroupRel) 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 vocabulary group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset vocabulary group rels
-
findByUuid
Returns a range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)- Returns:
- the range of matching asset vocabulary group rels
-
findByUuid
List<AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabulary group rels
-
findByUuid
List<AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary 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 vocabulary group rels
-
findByUuid_First
AssetVocabularyGroupRel findByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the first asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_First
AssetVocabularyGroupRel fetchByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_Last
AssetVocabularyGroupRel findByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the last asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_Last
AssetVocabularyGroupRel fetchByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_PrevAndNext
AssetVocabularyGroupRel[] findByUuid_PrevAndNext(long assetVocabularyGroupRelId, String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ?.- Parameters:
assetVocabularyGroupRelId
- the primary key of the current asset vocabulary group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
removeByUuid
Removes all the asset vocabulary group rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset vocabulary group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset vocabulary group rels
-
findByUUID_G
AssetVocabularyGroupRel findByUUID_G(String uuid, long groupId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUUID_G
Returns the asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
fetchByUUID_G
Returns the asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
removeByUUID_G
AssetVocabularyGroupRel removeByUUID_G(String uuid, long groupId) throws NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset vocabulary group rel that was removed
- Throws:
NoSuchVocabularyGroupRelException
-
countByUUID_G
Returns the number of asset vocabulary group rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset vocabulary group rels
-
findByUuid_C
Returns all the asset vocabulary group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset vocabulary group rels
-
findByUuid_C
Returns a range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)- Returns:
- the range of matching asset vocabulary group rels
-
findByUuid_C
List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabulary group rels
-
findByUuid_C
List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary 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 vocabulary group rels
-
findByUuid_C_First
AssetVocabularyGroupRel findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the first asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_C_First
AssetVocabularyGroupRel fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_C_Last
AssetVocabularyGroupRel findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the last asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_C_Last
AssetVocabularyGroupRel fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_C_PrevAndNext
AssetVocabularyGroupRel[] findByUuid_C_PrevAndNext(long assetVocabularyGroupRelId, String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
assetVocabularyGroupRelId
- the primary key of the current asset vocabulary group reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
removeByUuid_C
Removes all the asset vocabulary group rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset vocabulary group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset vocabulary group rels
-
findByGroupId
Returns all the asset vocabulary group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset vocabulary group rels
-
findByGroupId
Returns a range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)- Returns:
- the range of matching asset vocabulary group rels
-
findByGroupId
List<AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabulary group rels
-
findByGroupId
List<AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary 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 vocabulary group rels
-
findByGroupId_First
AssetVocabularyGroupRel findByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the first asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByGroupId_First
AssetVocabularyGroupRel fetchByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByGroupId_Last
AssetVocabularyGroupRel findByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the last asset vocabulary 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 vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByGroupId_Last
AssetVocabularyGroupRel fetchByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary 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 vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByGroupId_PrevAndNext
AssetVocabularyGroupRel[] findByGroupId_PrevAndNext(long assetVocabularyGroupRelId, long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where groupId = ?.- Parameters:
assetVocabularyGroupRelId
- the primary key of the current asset vocabulary group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of asset vocabulary group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset vocabulary group rels
-
findByVocabularyId
Returns all the asset vocabulary group rels where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rels
-
findByVocabularyId
Returns a range of all the asset vocabulary group rels where vocabularyId = ?.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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
vocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)- Returns:
- the range of matching asset vocabulary group rels
-
findByVocabularyId
List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
vocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset vocabulary group rels
-
findByVocabularyId
List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
vocabularyId
- the vocabulary IDstart
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary 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 vocabulary group rels
-
findByVocabularyId_First
AssetVocabularyGroupRel findByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByVocabularyId_First
AssetVocabularyGroupRel fetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByVocabularyId_Last
AssetVocabularyGroupRel findByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByVocabularyId_Last
AssetVocabularyGroupRel fetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByVocabularyId_PrevAndNext
AssetVocabularyGroupRel[] findByVocabularyId_PrevAndNext(long assetVocabularyGroupRelId, long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where vocabularyId = ?.- Parameters:
assetVocabularyGroupRelId
- the primary key of the current asset vocabulary group relvocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
removeByVocabularyId
void removeByVocabularyId(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.- Parameters:
vocabularyId
- the vocabulary ID
-
countByVocabularyId
int countByVocabularyId(long vocabularyId) Returns the number of asset vocabulary group rels where vocabularyId = ?.- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the number of matching asset vocabulary group rels
-
findByG_V
AssetVocabularyGroupRel findByG_V(long groupId, long vocabularyId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByG_V
Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
fetchByG_V
Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
removeByG_V
AssetVocabularyGroupRel removeByG_V(long groupId, long vocabularyId) throws NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the asset vocabulary group rel that was removed
- Throws:
NoSuchVocabularyGroupRelException
-
countByG_V
int countByG_V(long groupId, long vocabularyId) Returns the number of asset vocabulary group rels where groupId = ? and vocabularyId = ?.- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset vocabulary group rels
-
cacheResult
Caches the asset vocabulary group rel in the entity cache if it is enabled.- Parameters:
assetVocabularyGroupRel
- the asset vocabulary group rel
-
cacheResult
Caches the asset vocabulary group rels in the entity cache if it is enabled.- Parameters:
assetVocabularyGroupRels
- the asset vocabulary group rels
-
create
Creates a new asset vocabulary group rel with the primary key. Does not add the asset vocabulary group rel to the database.- Parameters:
assetVocabularyGroupRelId
- the primary key for the new asset vocabulary group rel- Returns:
- the new asset vocabulary group rel
-
remove
AssetVocabularyGroupRel remove(long assetVocabularyGroupRelId) throws NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel that was removed
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
AssetVocabularyGroupRel findByPrimaryKey(long assetVocabularyGroupRelId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel
- Throws:
NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel, or
null
if a asset vocabulary group rel with the primary key could not be found
-
findAll
List<AssetVocabularyGroupRel> findAll()Returns all the asset vocabulary group rels.- Returns:
- the asset vocabulary group rels
-
findAll
Returns a range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)- Returns:
- the range of asset vocabulary group rels
-
findAll
List<AssetVocabularyGroupRel> findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset vocabulary group rels
-
findAll
List<AssetVocabularyGroupRel> findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary 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 fromAssetVocabularyGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset vocabulary group relsend
- the upper bound of the range of asset vocabulary 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 vocabulary group rels
-
removeAll
void removeAll()Removes all the asset vocabulary group rels from the database. -
countAll
int countAll()Returns the number of asset vocabulary group rels.- Returns:
- the number of asset vocabulary group rels
-