Class AssetTagGroupRelUtil
com.liferay.portlet.asset.service.persistence.impl.AssetTagGroupRelPersistenceImpl
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 void
cacheResult
(AssetTagGroupRel assetTagGroupRel) Caches the asset tag group rel in the entity cache if it is enabled.static void
cacheResult
(List<AssetTagGroupRel> assetTagGroupRels) Caches the asset tag group rels in the entity cache if it is enabled.static void
static void
clearCache
(AssetTagGroupRel assetTagGroupRel) static int
countAll()
Returns the number of asset tag group rels.static int
countByG_T
(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.static int
countByGroupId
(long groupId) Returns the number of asset tag group rels where groupId = ?.static int
countByTagId
(long tagId) Returns the number of asset tag group rels where tagId = ?.static int
countByUuid
(String uuid) Returns the number of asset tag group rels where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of asset tag group rels where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of asset tag group rels where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static AssetTagGroupRel
create
(long assetTagGroupRelId) Creates a new asset tag group rel with the primary key.static AssetTagGroupRel
fetchByG_T
(long groupId, long tagId) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found.static AssetTagGroupRel
fetchByG_T
(long groupId, long tagId, boolean useFinderCache) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found, optionally using the finder cache.static AssetTagGroupRel
fetchByGroupId_First
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.static AssetTagGroupRel
fetchByGroupId_Last
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.static AssetTagGroupRel
fetchByPrimaryKey
(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or returnsnull
if it could not be found.static Map<Serializable,
AssetTagGroupRel> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static AssetTagGroupRel
fetchByTagId_First
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.static AssetTagGroupRel
fetchByTagId_Last
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.static AssetTagGroupRel
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.static AssetTagGroupRel
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.static AssetTagGroupRel
fetchByUuid_First
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.static AssetTagGroupRel
fetchByUUID_G
(String uuid, long groupId) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.static AssetTagGroupRel
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static AssetTagGroupRel
fetchByUuid_Last
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.static List<AssetTagGroupRel>
findAll()
Returns all the asset tag group rels.static List<AssetTagGroupRel>
findAll
(int start, int end) Returns a range of all the asset tag group rels.static List<AssetTagGroupRel>
findAll
(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels.static List<AssetTagGroupRel>
findAll
(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels.static AssetTagGroupRel
findByG_T
(long groupId, long tagId) Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelException
if it could not be found.static List<AssetTagGroupRel>
findByGroupId
(long groupId) Returns all the asset tag group rels where groupId = ?.static List<AssetTagGroupRel>
findByGroupId
(long groupId, int start, int end) Returns a range of all the asset tag group rels where groupId = ?.static List<AssetTagGroupRel>
findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where groupId = ?.static List<AssetTagGroupRel>
findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where groupId = ?.static AssetTagGroupRel
findByGroupId_First
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.static AssetTagGroupRel
findByGroupId_Last
(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.static AssetTagGroupRel[]
findByGroupId_PrevAndNext
(long assetTagGroupRelId, long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where groupId = ?.static AssetTagGroupRel
findByPrimaryKey
(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelException
if it could not be found.static List<AssetTagGroupRel>
findByTagId
(long tagId) Returns all the asset tag group rels where tagId = ?.static List<AssetTagGroupRel>
findByTagId
(long tagId, int start, int end) Returns a range of all the asset tag group rels where tagId = ?.static List<AssetTagGroupRel>
findByTagId
(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where tagId = ?.static List<AssetTagGroupRel>
findByTagId
(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where tagId = ?.static AssetTagGroupRel
findByTagId_First
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.static AssetTagGroupRel
findByTagId_Last
(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.static AssetTagGroupRel[]
findByTagId_PrevAndNext
(long assetTagGroupRelId, long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where tagId = ?.static List<AssetTagGroupRel>
findByUuid
(String uuid) Returns all the asset tag group rels where uuid = ?.static List<AssetTagGroupRel>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset tag group rels where uuid = ?.static List<AssetTagGroupRel>
findByUuid
(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ?.static List<AssetTagGroupRel>
findByUuid
(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ?.static List<AssetTagGroupRel>
findByUuid_C
(String uuid, long companyId) Returns all the asset tag group rels where uuid = ? and companyId = ?.static List<AssetTagGroupRel>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset tag group rels where uuid = ? and companyId = ?.static List<AssetTagGroupRel>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.static List<AssetTagGroupRel>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.static AssetTagGroupRel
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.static AssetTagGroupRel
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.static AssetTagGroupRel[]
findByUuid_C_PrevAndNext
(long assetTagGroupRelId, String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ? and companyId = ?.static AssetTagGroupRel
findByUuid_First
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.static AssetTagGroupRel
findByUUID_G
(String uuid, long groupId) Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelException
if it could not be found.static AssetTagGroupRel
findByUuid_Last
(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.static AssetTagGroupRel[]
findByUuid_PrevAndNext
(long assetTagGroupRelId, String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ?.static List<AssetTagGroupRel>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<AssetTagGroupRel>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<AssetTagGroupRel>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) static AssetTagGroupRelPersistence
static AssetTagGroupRel
remove
(long assetTagGroupRelId) Removes the asset tag group rel with the primary key from the database.static void
Removes all the asset tag group rels from the database.static AssetTagGroupRel
removeByG_T
(long groupId, long tagId) Removes the asset tag group rel where groupId = ? and tagId = ? from the database.static void
removeByGroupId
(long groupId) Removes all the asset tag group rels where groupId = ? from the database.static void
removeByTagId
(long tagId) Removes all the asset tag group rels where tagId = ? from the database.static void
removeByUuid
(String uuid) Removes all the asset tag group rels where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.static AssetTagGroupRel
removeByUUID_G
(String uuid, long groupId) Removes the asset tag group rel where uuid = ? and groupId = ? from the database.static void
setPersistence
(AssetTagGroupRelPersistence persistence) static AssetTagGroupRel
update
(AssetTagGroupRel assetTagGroupRel) static AssetTagGroupRel
update
(AssetTagGroupRel assetTagGroupRel, ServiceContext serviceContext) static AssetTagGroupRel
updateImpl
(AssetTagGroupRel assetTagGroupRel)
-
Constructor Details
-
AssetTagGroupRelUtil
public AssetTagGroupRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<AssetTagGroupRel> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<AssetTagGroupRel> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) -
update
-
update
public static AssetTagGroupRel update(AssetTagGroupRel assetTagGroupRel, ServiceContext serviceContext) -
findByUuid
Returns all the asset tag group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset tag group rels
-
findByUuid
Returns a range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByUuid
public static List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid
public static List<AssetTagGroupRel> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_First
public static AssetTagGroupRel findByUuid_First(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByUuid_First
public static AssetTagGroupRel fetchByUuid_First(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_Last
public static AssetTagGroupRel findByUuid_Last(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByUuid_Last
public static AssetTagGroupRel fetchByUuid_Last(String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_PrevAndNext
public static AssetTagGroupRel[] findByUuid_PrevAndNext(long assetTagGroupRelId, String uuid, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
removeByUuid
Removes all the asset tag group rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset tag group rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset tag group rels
-
findByUUID_G
public static AssetTagGroupRel findByUUID_G(String uuid, long groupId) throws NoSuchTagGroupRelException Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByUUID_G
Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
fetchByUUID_G
Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
removeByUUID_G
public static AssetTagGroupRel removeByUUID_G(String uuid, long groupId) throws NoSuchTagGroupRelException Removes the asset tag group rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
-
countByUUID_G
Returns the number of asset tag group rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset tag group rels
-
findByUuid_C
Returns all the asset tag group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset tag group rels
-
findByUuid_C
Returns a range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByUuid_C
public static List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_C
public static List<AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByUuid_C_First
public static AssetTagGroupRel findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByUuid_C_First
public static AssetTagGroupRel fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_C_Last
public static AssetTagGroupRel findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByUuid_C_Last
public static AssetTagGroupRel fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByUuid_C_PrevAndNext
public static AssetTagGroupRel[] findByUuid_C_PrevAndNext(long assetTagGroupRelId, String uuid, long companyId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
removeByUuid_C
Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset tag group rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset tag group rels
-
findByGroupId
Returns all the asset tag group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset tag group rels
-
findByGroupId
Returns a range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByGroupId
public static List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByGroupId
public static List<AssetTagGroupRel> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByGroupId_First
public static AssetTagGroupRel findByGroupId_First(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByGroupId_First
public static AssetTagGroupRel fetchByGroupId_First(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByGroupId_Last
public static AssetTagGroupRel findByGroupId_Last(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByGroupId_Last
public static AssetTagGroupRel fetchByGroupId_Last(long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByGroupId_PrevAndNext
public static AssetTagGroupRel[] findByGroupId_PrevAndNext(long assetTagGroupRelId, long groupId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where groupId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the asset tag group rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of asset tag group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset tag group rels
-
findByTagId
Returns all the asset tag group rels where tagId = ?.- Parameters:
tagId
- the tag ID- Returns:
- the matching asset tag group rels
-
findByTagId
Returns a range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of matching asset tag group rels
-
findByTagId
public static List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset tag group rels
-
findByTagId
public static List<AssetTagGroupRel> findByTagId(long tagId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where tagId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
tagId
- the tag IDstart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset tag group rels
-
findByTagId_First
public static AssetTagGroupRel findByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByTagId_First
public static AssetTagGroupRel fetchByTagId_First(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByTagId_Last
public static AssetTagGroupRel findByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the last asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByTagId_Last
public static AssetTagGroupRel fetchByTagId_Last(long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns the last asset tag group rel in the ordered set where tagId = ?.- Parameters:
tagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
findByTagId_PrevAndNext
public static AssetTagGroupRel[] findByTagId_PrevAndNext(long assetTagGroupRelId, long tagId, OrderByComparator<AssetTagGroupRel> orderByComparator) throws NoSuchTagGroupRelException Returns the asset tag group rels before and after the current asset tag group rel in the ordered set where tagId = ?.- Parameters:
assetTagGroupRelId
- the primary key of the current asset tag group reltagId
- the tag IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
removeByTagId
public static void removeByTagId(long tagId) Removes all the asset tag group rels where tagId = ? from the database.- Parameters:
tagId
- the tag ID
-
countByTagId
public static int countByTagId(long tagId) Returns the number of asset tag group rels where tagId = ?.- Parameters:
tagId
- the tag ID- Returns:
- the number of matching asset tag group rels
-
findByG_T
public static AssetTagGroupRel findByG_T(long groupId, long tagId) throws NoSuchTagGroupRelException Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the matching asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a matching asset tag group rel could not be foundNoSuchTagGroupRelException
-
fetchByG_T
Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
fetchByG_T
Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDtagId
- the tag IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
removeByG_T
public static AssetTagGroupRel removeByG_T(long groupId, long tagId) throws NoSuchTagGroupRelException Removes the asset tag group rel where groupId = ? and tagId = ? from the database.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
-
countByG_T
public static int countByG_T(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.- Parameters:
groupId
- the group IDtagId
- the tag ID- Returns:
- the number of matching asset tag group rels
-
cacheResult
Caches the asset tag group rel in the entity cache if it is enabled.- Parameters:
assetTagGroupRel
- the asset tag group rel
-
cacheResult
Caches the asset tag group rels in the entity cache if it is enabled.- Parameters:
assetTagGroupRels
- the asset tag group rels
-
create
Creates a new asset tag group rel with the primary key. Does not add the asset tag group rel to the database.- Parameters:
assetTagGroupRelId
- the primary key for the new asset tag group rel- Returns:
- the new asset tag group rel
-
remove
Removes the asset tag group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel that was removed
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
updateImpl
-
findByPrimaryKey
public static AssetTagGroupRel findByPrimaryKey(long assetTagGroupRelId) throws NoSuchTagGroupRelException Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelException
if it could not be found.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel
- Throws:
NoSuchTagGroupRelException
- if a asset tag group rel with the primary key could not be foundNoSuchTagGroupRelException
-
fetchByPrimaryKey
Returns the asset tag group rel with the primary key or returnsnull
if it could not be found.- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel, or
null
if a asset tag group rel with the primary key could not be found
-
findAll
Returns all the asset tag group rels.- Returns:
- the asset tag group rels
-
findAll
Returns a range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of asset tag group rels
-
findAll
public static List<AssetTagGroupRel> findAll(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns an ordered range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset tag group rels
-
findAll
public static List<AssetTagGroupRel> findAll(int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset tag group rels
-
removeAll
public static void removeAll()Removes all the asset tag group rels from the database. -
countAll
public static int countAll()Returns the number of asset tag group rels.- Returns:
- the number of asset tag group rels
-
getPersistence
-
setPersistence
-