Class AssetVocabularyGroupRelPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
,com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
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 TypeMethodDescriptionvoid
Initializes the asset vocabulary group rel persistence.void
cacheResult
(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) Caches the asset vocabulary group rel in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> assetVocabularyGroupRels) Caches the asset vocabulary group rels in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(AssetVocabularyGroupRelModelImpl assetVocabularyGroupRelModelImpl) void
Clears the cache for all asset vocabulary group rels.void
clearCache
(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) Clears the cache for the asset vocabulary group rel.void
clearCache
(List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> assetVocabularyGroupRels) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of asset vocabulary group rels.int
countByG_V
(long groupId, long vocabularyId) Returns the number of asset vocabulary group rels where groupId = ? and vocabularyId = ?.int
countByGroupId
(long groupId) Returns the number of asset vocabulary group rels where groupId = ?.int
countByUuid
(String uuid) Returns the number of asset vocabulary group rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of asset vocabulary group rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of asset vocabulary group rels where uuid = ? and groupId = ?.int
countByVocabularyId
(long vocabularyId) Returns the number of asset vocabulary group rels where vocabularyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
create
(long assetVocabularyGroupRelId) Creates a new asset vocabulary group rel with the primary key.void
destroy()
com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByG_V
(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByG_V
(long groupId, long vocabularyId, boolean useFinderCache) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByPrimaryKey
(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByPrimaryKey
(Serializable primaryKey) Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.asset.kernel.model.AssetVocabularyGroupRel> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUUID_G
(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByVocabularyId_First
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
fetchByVocabularyId_Last
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findAll()
Returns all the asset vocabulary group rels.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findAll
(int start, int end) Returns a range of all the asset vocabulary group rels.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByG_V
(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByGroupId
(long groupId) Returns all the asset vocabulary group rels where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByGroupId
(long groupId, int start, int end) Returns a range of all the asset vocabulary group rels where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel[]
findByGroupId_PrevAndNext
(long assetVocabularyGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByPrimaryKey
(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelException
if it could not be found.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByPrimaryKey
(Serializable primaryKey) Returns the asset vocabulary group rel with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid
(String uuid) Returns all the asset vocabulary group rels where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid_C
(String uuid, long companyId) Returns all the asset vocabulary group rels where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel[]
findByUuid_C_PrevAndNext
(long assetVocabularyGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByUUID_G
(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel[]
findByUuid_PrevAndNext
(long assetVocabularyGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByVocabularyId
(long vocabularyId) Returns all the asset vocabulary group rels where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByVocabularyId
(long vocabularyId, int start, int end) Returns a range of all the asset vocabulary group rels where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByVocabularyId
(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
findByVocabularyId
(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByVocabularyId_First
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
findByVocabularyId_Last
(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.com.liferay.asset.kernel.model.AssetVocabularyGroupRel[]
findByVocabularyId_PrevAndNext
(long assetVocabularyGroupRelId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where vocabularyId = ?.protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel
getByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel
getByVocabularyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.asset.kernel.model.AssetVocabularyGroupRel
remove
(long assetVocabularyGroupRelId) Removes the asset vocabulary group rel with the primary key from the database.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
remove
(Serializable primaryKey) Removes the asset vocabulary group rel with the primary key from the database.void
Removes all the asset vocabulary group rels from the database.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
removeByG_V
(long groupId, long vocabularyId) Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.void
removeByGroupId
(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the asset vocabulary group rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset vocabulary group rels where uuid = ? and companyId = ? from the database.com.liferay.asset.kernel.model.AssetVocabularyGroupRel
removeByUUID_G
(String uuid, long groupId) Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.void
removeByVocabularyId
(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel
removeImpl
(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) com.liferay.asset.kernel.model.AssetVocabularyGroupRel
updateImpl
(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, 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
-
AssetVocabularyGroupRelPersistenceImpl
public AssetVocabularyGroupRelPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the asset vocabulary group rels where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching asset vocabulary group rels
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end) Returns a range of all the asset vocabulary group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the first asset vocabulary group rel in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_First
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the last asset vocabulary group rel in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel[] findByUuid_PrevAndNext(long assetVocabularyGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) -
removeByUuid
Removes all the asset vocabulary group rels where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset vocabulary group rels where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset vocabulary group rels
-
findByUUID_G
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where uuid = ? and groupId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Specified by:
findByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUUID_G
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUUID_G(String uuid, long groupId) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
fetchByUUID_G
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset vocabulary group rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
removeByUUID_G
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset vocabulary group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
-
countByUUID_G
Returns the number of asset vocabulary group rels where uuid = ? and groupId = ?.- Specified by:
countByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset vocabulary group rels
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId) Returns all the asset vocabulary group rels where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset vocabulary group rels
-
findByUuid_C
public List<com.liferay.asset.kernel.model.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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_C_First
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_C_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByUuid_C_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel[] findByUuid_C_PrevAndNext(long assetVocabularyGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the asset vocabulary group rels where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset vocabulary group rels where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 = ?.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching asset vocabulary group rels
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end) Returns a range of all the asset vocabulary group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the first asset vocabulary group rel in the ordered set where groupId = ?.- Specified by:
findByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByGroupId_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the last asset vocabulary group rel in the ordered set where groupId = ?.- Specified by:
findByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByGroupId_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByGroupId_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel[] findByGroupId_PrevAndNext(long assetVocabularyGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset vocabulary group rels where groupId = ? from the database.- Specified by:
removeByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset vocabulary group rels where groupId = ?.- Specified by:
countByGroupId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset vocabulary group rels
-
findByVocabularyId
public List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId) Returns all the asset vocabulary group rels where vocabularyId = ?.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rels
-
findByVocabularyId
public List<com.liferay.asset.kernel.model.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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels where vocabularyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByVocabularyId_First
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the first asset vocabulary group rel in the ordered set where vocabularyId = ?.- Specified by:
fetchByVocabularyId_First
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByVocabularyId_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByVocabularyId_Last
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns the last asset vocabulary group rel in the ordered set where vocabularyId = ?.- Specified by:
fetchByVocabularyId_Last
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
findByVocabularyId_PrevAndNext
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel[] findByVocabularyId_PrevAndNext(long assetVocabularyGroupRelId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rels before and after the current asset vocabulary group rel in the ordered set where vocabularyId = ?.- Specified by:
findByVocabularyId_PrevAndNext
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
getByVocabularyId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean previous) -
removeByVocabularyId
public void removeByVocabularyId(long vocabularyId) Removes all the asset vocabulary group rels where vocabularyId = ? from the database.- Specified by:
removeByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary ID
-
countByVocabularyId
public int countByVocabularyId(long vocabularyId) Returns the number of asset vocabulary group rels where vocabularyId = ?.- Specified by:
countByVocabularyId
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
vocabularyId
- the vocabulary ID- Returns:
- the number of matching asset vocabulary group rels
-
findByG_V
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByG_V(long groupId, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Specified by:
findByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a matching asset vocabulary group rel could not be found
-
fetchByG_V
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByG_V(long groupId, long vocabularyId) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
fetchByG_V
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByG_V(long groupId, long vocabularyId, boolean useFinderCache) Returns the asset vocabulary group rel where groupId = ? and vocabularyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset vocabulary group rel, or
null
if a matching asset vocabulary group rel could not be found
-
removeByG_V
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel removeByG_V(long groupId, long vocabularyId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel where groupId = ? and vocabularyId = ? from the database.- Specified by:
removeByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the asset vocabulary group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
-
countByG_V
public int countByG_V(long groupId, long vocabularyId) Returns the number of asset vocabulary group rels where groupId = ? and vocabularyId = ?.- Specified by:
countByG_V
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
groupId
- the group IDvocabularyId
- the vocabulary ID- Returns:
- the number of matching asset vocabulary group rels
-
cacheResult
public void cacheResult(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) Caches the asset vocabulary group rel in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Parameters:
assetVocabularyGroupRel
- the asset vocabulary group rel
-
cacheResult
public void cacheResult(List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> assetVocabularyGroupRels) Caches the asset vocabulary group rels in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
assetVocabularyGroupRels
- the asset vocabulary group rels
-
clearCache
public void clearCache()Clears the cache for all asset vocabulary group rels.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
clearCache
public void clearCache(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) Clears the cache for the asset vocabulary group rel.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
clearCache
public void clearCache(List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> assetVocabularyGroupRels) - Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
cacheUniqueFindersCache
protected void cacheUniqueFindersCache(AssetVocabularyGroupRelModelImpl assetVocabularyGroupRelModelImpl) -
create
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel create(long assetVocabularyGroupRelId) Creates a new asset vocabulary group rel with the primary key. Does not add the asset vocabulary group rel to the database.- Specified by:
create
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
assetVocabularyGroupRelId
- the primary key for the new asset vocabulary group rel- Returns:
- the new asset vocabulary group rel
-
remove
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel remove(long assetVocabularyGroupRelId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
remove
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Removes the asset vocabulary group rel with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Parameters:
primaryKey
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetVocabularyGroupRel removeImpl(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
updateImpl
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel updateImpl(com.liferay.asset.kernel.model.AssetVocabularyGroupRel assetVocabularyGroupRel) - Specified by:
updateImpl
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Parameters:
primaryKey
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel findByPrimaryKey(long assetVocabularyGroupRelId) throws com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException Returns the asset vocabulary group rel with the primary key or throws aNoSuchVocabularyGroupRelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel
- Throws:
com.liferay.asset.kernel.exception.NoSuchVocabularyGroupRelException
- if a asset vocabulary group rel with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByPrimaryKey(Serializable primaryKey) Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Parameters:
primaryKey
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel, or
null
if a asset vocabulary group rel with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetVocabularyGroupRel fetchByPrimaryKey(long assetVocabularyGroupRelId) Returns the asset vocabulary group rel with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Parameters:
assetVocabularyGroupRelId
- the primary key of the asset vocabulary group rel- Returns:
- the asset vocabulary group rel, or
null
if a asset vocabulary group rel with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.asset.kernel.model.AssetVocabularyGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
findAll
Returns all the asset vocabulary group rels.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Returns:
- the asset vocabulary group rels
-
findAll
Returns a range of all the asset vocabulary group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator) Returns an ordered range of all the asset vocabulary group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 List<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabularyGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset vocabulary group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetVocabularyGroupRelModelImpl
.- Specified by:
findAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- 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 void removeAll()Removes all the asset vocabulary group rels from the database.- Specified by:
removeAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
-
countAll
public int countAll()Returns the number of asset vocabulary group rels.- Specified by:
countAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetVocabularyGroupRelPersistence
- Returns:
- the number of asset vocabulary group rels
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset vocabulary group rel persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabularyGroupRel>
-