Class AssetVocabularyGroupRelUtil
com.liferay.portlet.asset.service.persistence.impl.AssetVocabularyGroupRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AssetVocabularyGroupRel assetVocabularyGroupRel) Caches the asset vocabulary group rel in the entity cache if it is enabled.static voidcacheResult(List<AssetVocabularyGroupRel> assetVocabularyGroupRels) Caches the asset vocabulary group rels in the entity cache if it is enabled.static voidstatic voidclearCache(AssetVocabularyGroupRel assetVocabularyGroupRel) static intcountAll()Returns the number of asset vocabulary group rels.static intcountByG_V(long groupId, long vocabularyId) Returns the number of asset vocabulary group rels where groupId = ? and vocabularyId = ?.static intcountByGroupId(long groupId) Returns the number of asset vocabulary group rels where groupId = ?.static intcountByUuid(String uuid) Returns the number of asset vocabulary group rels where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of asset vocabulary group rels where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of asset vocabulary group rels where uuid = ? and groupId = ?.static intcountByVocabularyId(long vocabularyId) Returns the number of asset vocabulary group rels where vocabularyId = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static AssetVocabularyGroupRelcreate(long assetVocabularyGroupRelId) Creates a new asset vocabulary group rel with the primary key.static AssetVocabularyGroupRelfetchByG_V(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnullif it could not be found.static AssetVocabularyGroupRelfetchByG_V(long groupId, long vocabularyId, boolean useFinderCache) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnullif it could not be found, optionally using the finder cache.static AssetVocabularyGroupRelfetchByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.static AssetVocabularyGroupRelfetchByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.static AssetVocabularyGroupRelfetchByPrimaryKey(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or returnsnullif it could not be found.static Map<Serializable,AssetVocabularyGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static AssetVocabularyGroupRelfetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.static AssetVocabularyGroupRelfetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.static AssetVocabularyGroupRelfetchByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.static AssetVocabularyGroupRelfetchByUUID_G(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnullif it could not be found.static AssetVocabularyGroupRelfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static AssetVocabularyGroupRelfetchByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.static AssetVocabularyGroupRelfetchByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.static AssetVocabularyGroupRelfetchByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.static List<AssetVocabularyGroupRel>findAll()Returns all the asset vocabulary group rels.static List<AssetVocabularyGroupRel>findAll(int start, int end) Returns a range of all the asset vocabulary group rels.static List<AssetVocabularyGroupRel>findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels.static List<AssetVocabularyGroupRel>findAll(int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels.static AssetVocabularyGroupRelfindByG_V(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelExceptionif it could not be found.static List<AssetVocabularyGroupRel>findByGroupId(long groupId) Returns all the asset vocabulary group rels where groupId = ?.static List<AssetVocabularyGroupRel>findByGroupId(long groupId, int start, int end) Returns a range of all the asset vocabulary group rels where groupId = ?.static 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 = ?.static 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 = ?.static AssetVocabularyGroupRelfindByGroupId_First(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.static AssetVocabularyGroupRelfindByGroupId_Last(long groupId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.static AssetVocabularyGroupRel[]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 = ?.static AssetVocabularyGroupRelfindByPrimaryKey(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelExceptionif it could not be found.static List<AssetVocabularyGroupRel>findByUuid(String uuid) Returns all the asset vocabulary group rels where uuid = ?.static List<AssetVocabularyGroupRel>findByUuid(String uuid, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ?.static 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 = ?.static 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 = ?.static List<AssetVocabularyGroupRel>findByUuid_C(String uuid, long companyId) Returns all the asset vocabulary group rels where uuid = ? and companyId = ?.static List<AssetVocabularyGroupRel>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static AssetVocabularyGroupRelfindByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.static AssetVocabularyGroupRelfindByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.static AssetVocabularyGroupRel[]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 = ?.static AssetVocabularyGroupRelfindByUuid_First(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.static AssetVocabularyGroupRelfindByUUID_G(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelExceptionif it could not be found.static AssetVocabularyGroupRelfindByUuid_Last(String uuid, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.static AssetVocabularyGroupRel[]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 = ?.static List<AssetVocabularyGroupRel>findByVocabularyId(long vocabularyId) Returns all the asset vocabulary group rels where vocabularyId = ?.static List<AssetVocabularyGroupRel>findByVocabularyId(long vocabularyId, int start, int end) Returns a range of all the asset vocabulary group rels where vocabularyId = ?.static 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 = ?.static 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 = ?.static AssetVocabularyGroupRelfindByVocabularyId_First(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.static AssetVocabularyGroupRelfindByVocabularyId_Last(long vocabularyId, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.static AssetVocabularyGroupRel[]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 = ?.static List<AssetVocabularyGroupRel>findWithDynamicQuery(DynamicQuery dynamicQuery) static List<AssetVocabularyGroupRel>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<AssetVocabularyGroupRel>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) static AssetVocabularyGroupRelremove(long assetVocabularyGroupRelId) Removes the asset vocabulary group rel with the primary key from the database.static voidRemoves all the asset vocabulary group rels from the database.static AssetVocabularyGroupRelremoveByG_V(long groupId, long vocabularyId) Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the asset vocabulary group rels where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the asset vocabulary group rels where uuid = ? and companyId = ? from the database.static AssetVocabularyGroupRelremoveByUUID_G(String uuid, long groupId) Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.static voidremoveByVocabularyId(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.static voidsetPersistence(AssetVocabularyGroupRelPersistence persistence) static AssetVocabularyGroupRelupdate(AssetVocabularyGroupRel assetVocabularyGroupRel) static AssetVocabularyGroupRelupdate(AssetVocabularyGroupRel assetVocabularyGroupRel, ServiceContext serviceContext) static AssetVocabularyGroupRelupdateImpl(AssetVocabularyGroupRel assetVocabularyGroupRel)
-
Constructor Details
-
AssetVocabularyGroupRelUtil
public AssetVocabularyGroupRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,AssetVocabularyGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<AssetVocabularyGroupRel> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<AssetVocabularyGroupRel> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<AssetVocabularyGroupRel> orderByComparator) -
update
-
update
public static AssetVocabularyGroupRel update(AssetVocabularyGroupRel assetVocabularyGroupRel, ServiceContext serviceContext) -
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByUuid_First
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByUuid_Last
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByUuid_Last
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByUuid_PrevAndNext
public static 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 foundNoSuchVocabularyGroupRelException
-
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
public static AssetVocabularyGroupRel findByUUID_G(String uuid, long groupId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelExceptionif 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 foundNoSuchVocabularyGroupRelException
-
fetchByUUID_G
Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching asset vocabulary group rel, or
nullif a matching asset vocabulary group rel could not be found
-
fetchByUUID_G
public static AssetVocabularyGroupRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset vocabulary group rel, or
nullif a matching asset vocabulary group rel could not be found
-
removeByUUID_G
public static 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
public static List<AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByUuid_C_First
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByUuid_C_Last
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByUuid_C_Last
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByUuid_C_PrevAndNext
public static 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 foundNoSuchVocabularyGroupRelException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByGroupId_First
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByGroupId_Last
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByGroupId_Last
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByGroupId_PrevAndNext
public static 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 foundNoSuchVocabularyGroupRelException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static 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
public static List<AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end) Returns a range of all the asset vocabulary group rels where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByVocabularyId_First
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByVocabularyId_Last
public static 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 foundNoSuchVocabularyGroupRelException
-
fetchByVocabularyId_Last
public static 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
nullif a matching asset vocabulary group rel could not be found
-
findByVocabularyId_PrevAndNext
public static 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 foundNoSuchVocabularyGroupRelException
-
removeByVocabularyId
public static void removeByVocabularyId(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.- Parameters:
vocabularyId- the vocabulary ID
-
countByVocabularyId
public static 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
public static AssetVocabularyGroupRel findByG_V(long groupId, long vocabularyId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelExceptionif 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 foundNoSuchVocabularyGroupRelException
-
fetchByG_V
Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnullif 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
nullif a matching asset vocabulary group rel could not be found
-
fetchByG_V
public static AssetVocabularyGroupRel fetchByG_V(long groupId, long vocabularyId, boolean useFinderCache) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnullif 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
nullif a matching asset vocabulary group rel could not be found
-
removeByG_V
public static 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
public static 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
public static 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 foundNoSuchVocabularyGroupRelException
-
updateImpl
-
findByPrimaryKey
public static AssetVocabularyGroupRel findByPrimaryKey(long assetVocabularyGroupRelId) throws NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelExceptionif 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 foundNoSuchVocabularyGroupRelException
-
fetchByPrimaryKey
Returns the asset vocabulary group rel with the primary key or returnsnullif it could not be found.- Parameters:
assetVocabularyGroupRelId- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel, or
nullif a asset vocabulary group rel with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic 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
public static void removeAll()Removes all the asset vocabulary group rels from the database. -
countAll
public static int countAll()Returns the number of asset vocabulary group rels.- Returns:
- the number of asset vocabulary group rels
-
getPersistence
-
setPersistence
-