Class AssetTagGroupRelPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the asset tag group rel persistence.intcountByG_T(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.intcountByGroupId(long groupId) Returns the number of asset tag group rels where groupId = ?.intcountByTagId(long tagId) Returns the number of asset tag group rels where tagId = ?.intcountByUuid(String uuid) Returns the number of asset tag group rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of asset tag group rels where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of asset tag group rels where uuid = ? and groupId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelcreate(long assetTagGroupRelId) Creates a new asset tag group rel with the primary key.voiddestroy()com.liferay.asset.kernel.model.AssetTagGroupRelfetchByG_T(long groupId, long tagId, boolean useFinderCache) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByPrimaryKey(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetTagGroupRelfindByG_T(long groupId, long tagId) Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetTagGroupRel>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where groupId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByPrimaryKey(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetTagGroupRel>findByTagId(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where tagId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.List<com.liferay.asset.kernel.model.AssetTagGroupRel>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ?.List<com.liferay.asset.kernel.model.AssetTagGroupRel>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tag group rels where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetTagGroupRelfindByUUID_G(String uuid, long groupId) Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelExceptionif it could not be found.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperprotected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.asset.kernel.model.AssetTagGroupRelremove(long assetTagGroupRelId) Removes the asset tag group rel with the primary key from the database.com.liferay.asset.kernel.model.AssetTagGroupRelremoveByG_T(long groupId, long tagId) Removes the asset tag group rel where groupId = ? and tagId = ? from the database.voidremoveByGroupId(long groupId) Removes all the asset tag group rels where groupId = ? from the database.voidremoveByTagId(long tagId) Removes all the asset tag group rels where tagId = ? from the database.voidremoveByUuid(String uuid) Removes all the asset tag group rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.com.liferay.asset.kernel.model.AssetTagGroupRelremoveByUUID_G(String uuid, long groupId) Removes the asset tag group rel where uuid = ? and groupId = ? from the database.protected com.liferay.asset.kernel.model.AssetTagGroupRelremoveImpl(com.liferay.asset.kernel.model.AssetTagGroupRel assetTagGroupRel) com.liferay.asset.kernel.model.AssetTagGroupRelupdateImpl(com.liferay.asset.kernel.model.AssetTagGroupRel assetTagGroupRel) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence
fetchByG_T, fetchByUUID_G, findByGroupId, findByGroupId, findByGroupId, findByTagId, findByTagId, findByTagId, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_CMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
AssetTagGroupRelPersistenceImpl
public AssetTagGroupRelPersistenceImpl()
-
-
Method Details
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetTagGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromAssetTagGroupRelModelImpl.- Specified by:
findByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- 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 com.liferay.asset.kernel.model.AssetTagGroupRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByUuid_First
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByUuid
Removes all the asset tag group rels where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of asset tag group rels where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching asset tag group rels
-
findByUUID_G
public com.liferay.asset.kernel.model.AssetTagGroupRel findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the asset tag group rel where uuid = ? and groupId = ? or throws aNoSuchTagGroupRelExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByUUID_G
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset tag group rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByUUID_G
public com.liferay.asset.kernel.model.AssetTagGroupRel removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Removes the asset tag group rel where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the asset tag group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException
-
countByUUID_G
Returns the number of asset tag group rels where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching asset tag group rels
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetTagGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromAssetTagGroupRelModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- 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 com.liferay.asset.kernel.model.AssetTagGroupRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByUuid_C_First
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByUuid_C
Removes all the asset tag group rels where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of asset tag group rels where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching asset tag group rels
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTagGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromAssetTagGroupRelModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- 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 com.liferay.asset.kernel.model.AssetTagGroupRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset tag group rels where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset tag group rels where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching asset tag group rels
-
findByTagId
public List<com.liferay.asset.kernel.model.AssetTagGroupRel> findByTagId(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromAssetTagGroupRelModelImpl.- Specified by:
findByTagIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- 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 com.liferay.asset.kernel.model.AssetTagGroupRel findByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the first asset tag group rel in the ordered set where tagId = ?.- Specified by:
findByTagId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
tagId- the tag IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByTagId_First
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTagGroupRel> orderByComparator) Returns the first asset tag group rel in the ordered set where tagId = ?.- Specified by:
fetchByTagId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
tagId- the tag IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByTagId
public void removeByTagId(long tagId) Removes all the asset tag group rels where tagId = ? from the database.- Specified by:
removeByTagIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
tagId- the tag ID
-
countByTagId
public int countByTagId(long tagId) Returns the number of asset tag group rels where tagId = ?.- Specified by:
countByTagIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
tagId- the tag ID- Returns:
- the number of matching asset tag group rels
-
findByG_T
public com.liferay.asset.kernel.model.AssetTagGroupRel findByG_T(long groupId, long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the asset tag group rel where groupId = ? and tagId = ? or throws aNoSuchTagGroupRelExceptionif it could not be found.- Specified by:
findByG_Tin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDtagId- the tag ID- Returns:
- the matching asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a matching asset tag group rel could not be found
-
fetchByG_T
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByG_T(long groupId, long tagId, boolean useFinderCache) Returns the asset tag group rel where groupId = ? and tagId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_Tin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDtagId- the tag IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset tag group rel, or
nullif a matching asset tag group rel could not be found
-
removeByG_T
public com.liferay.asset.kernel.model.AssetTagGroupRel removeByG_T(long groupId, long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Removes the asset tag group rel where groupId = ? and tagId = ? from the database.- Specified by:
removeByG_Tin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDtagId- the tag ID- Returns:
- the asset tag group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException
-
countByG_T
public int countByG_T(long groupId, long tagId) Returns the number of asset tag group rels where groupId = ? and tagId = ?.- Specified by:
countByG_Tin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
groupId- the group IDtagId- the tag ID- Returns:
- the number of matching asset tag group rels
-
create
public com.liferay.asset.kernel.model.AssetTagGroupRel create(long assetTagGroupRelId) Creates a new asset tag group rel with the primary key. Does not add the asset tag group rel to the database.- Specified by:
createin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
assetTagGroupRelId- the primary key for the new asset tag group rel- Returns:
- the new asset tag group rel
-
remove
public com.liferay.asset.kernel.model.AssetTagGroupRel remove(long assetTagGroupRelId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Removes the asset tag group rel with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
assetTagGroupRelId- the primary key of the asset tag group rel- Returns:
- the asset tag group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a asset tag group rel with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetTagGroupRel removeImpl(com.liferay.asset.kernel.model.AssetTagGroupRel assetTagGroupRel) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
updateImpl
public com.liferay.asset.kernel.model.AssetTagGroupRel updateImpl(com.liferay.asset.kernel.model.AssetTagGroupRel assetTagGroupRel) - Specified by:
updateImplin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetTagGroupRel findByPrimaryKey(long assetTagGroupRelId) throws com.liferay.asset.kernel.exception.NoSuchTagGroupRelException Returns the asset tag group rel with the primary key or throws aNoSuchTagGroupRelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
assetTagGroupRelId- the primary key of the asset tag group rel- Returns:
- the asset tag group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagGroupRelException- if a asset tag group rel with the primary key could not be found
-
getCTPersistenceHelper
protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()- Overrides:
getCTPersistenceHelperin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetTagGroupRel fetchByPrimaryKey(long assetTagGroupRelId) Returns the asset tag group rel with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetTagGroupRelPersistence- Parameters:
assetTagGroupRelId- the primary key of the asset tag group rel- Returns:
- the asset tag group rel, or
nullif a asset tag group rel with the primary key could not be found
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTagGroupRel>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset tag group rel persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTagGroupRel,com.liferay.asset.kernel.exception.NoSuchTagGroupRelException>
-