Interface AssetCategoryPropertyPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AssetCategoryProperty>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetCategoryProperty>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(AssetCategoryProperty assetCategoryProperty) Caches the asset category property in the entity cache if it is enabled.void
cacheResult
(List<AssetCategoryProperty> assetCategoryProperties) Caches the asset category properties in the entity cache if it is enabled.int
countAll()
Returns the number of asset category properties.int
countByC_K
(long companyId, String key) Returns the number of asset category properties where companyId = ? and key = ?.int
countByCA_K
(long categoryId, String key) Returns the number of asset category properties where categoryId = ? and key = ?.int
countByCategoryId
(long categoryId) Returns the number of asset category properties where categoryId = ?.int
countByCompanyId
(long companyId) Returns the number of asset category properties where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of asset category properties where externalReferenceCode = ? and companyId = ?.create
(long categoryPropertyId) Creates a new asset category property with the primary key.fetchByC_K_First
(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ? and key = ?.fetchByC_K_Last
(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ? and key = ?.fetchByCA_K
(long categoryId, String key) Returns the asset category property where categoryId = ? and key = ? or returnsnull
if it could not be found.fetchByCA_K
(long categoryId, String key, boolean useFinderCache) Returns the asset category property where categoryId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCategoryId_First
(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where categoryId = ?.fetchByCategoryId_Last
(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where categoryId = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the asset category property where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the asset category property where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long categoryPropertyId) Returns the asset category property with the primary key or returnsnull
if it could not be found.findAll()
Returns all the asset category properties.findAll
(int start, int end) Returns a range of all the asset category properties.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties.Returns all the asset category properties where companyId = ? and key = ?.Returns a range of all the asset category properties where companyId = ? and key = ?.findByC_K
(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where companyId = ? and key = ?.findByC_K
(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where companyId = ? and key = ?.findByC_K_First
(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ? and key = ?.findByC_K_Last
(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ? and key = ?.findByC_K_PrevAndNext
(long categoryPropertyId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.findByCA_K
(long categoryId, String key) Returns the asset category property where categoryId = ? and key = ? or throws aNoSuchCategoryPropertyException
if it could not be found.findByCategoryId
(long categoryId) Returns all the asset category properties where categoryId = ?.findByCategoryId
(long categoryId, int start, int end) Returns a range of all the asset category properties where categoryId = ?.findByCategoryId
(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where categoryId = ?.findByCategoryId
(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where categoryId = ?.findByCategoryId_First
(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where categoryId = ?.findByCategoryId_Last
(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where categoryId = ?.findByCategoryId_PrevAndNext
(long categoryPropertyId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.findByCompanyId
(long companyId) Returns all the asset category properties where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the asset category properties where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long categoryPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the asset category property where externalReferenceCode = ? and companyId = ? or throws aNoSuchCategoryPropertyException
if it could not be found.findByPrimaryKey
(long categoryPropertyId) Returns the asset category property with the primary key or throws aNoSuchCategoryPropertyException
if it could not be found.remove
(long categoryPropertyId) Removes the asset category property with the primary key from the database.void
Removes all the asset category properties from the database.void
removeByC_K
(long companyId, String key) Removes all the asset category properties where companyId = ? and key = ? from the database.removeByCA_K
(long categoryId, String key) Removes the asset category property where categoryId = ? and key = ? from the database.void
removeByCategoryId
(long categoryId) Removes all the asset category properties where categoryId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the asset category properties where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the asset category property where externalReferenceCode = ? and companyId = ? from the database.updateImpl
(AssetCategoryProperty assetCategoryProperty) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCompanyId
Returns all the asset category properties where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching asset category properties
-
findByCompanyId
Returns a range of all the asset category properties where 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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)- Returns:
- the range of matching asset category properties
-
findByCompanyId
List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where 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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset category properties
-
findByCompanyId
List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where 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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (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 category properties
-
findByCompanyId_First
AssetCategoryProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the first asset category property in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByCompanyId_First
AssetCategoryProperty fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property, or
null
if a matching asset category property could not be found
-
findByCompanyId_Last
AssetCategoryProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the last asset category property in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByCompanyId_Last
AssetCategoryProperty fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property, or
null
if a matching asset category property could not be found
-
findByCompanyId_PrevAndNext
AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ?.- Parameters:
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category property
- Throws:
NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the asset category properties where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of asset category properties where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching asset category properties
-
findByCategoryId
Returns all the asset category properties where categoryId = ?.- Parameters:
categoryId
- the category ID- Returns:
- the matching asset category properties
-
findByCategoryId
Returns a range of all the asset category properties where categoryId = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)- Returns:
- the range of matching asset category properties
-
findByCategoryId
List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where categoryId = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset category properties
-
findByCategoryId
List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where categoryId = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (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 category properties
-
findByCategoryId_First
AssetCategoryProperty findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the first asset category property in the ordered set where categoryId = ?.- Parameters:
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByCategoryId_First
AssetCategoryProperty fetchByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where categoryId = ?.- Parameters:
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property, or
null
if a matching asset category property could not be found
-
findByCategoryId_Last
AssetCategoryProperty findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the last asset category property in the ordered set where categoryId = ?.- Parameters:
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByCategoryId_Last
AssetCategoryProperty fetchByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where categoryId = ?.- Parameters:
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property, or
null
if a matching asset category property could not be found
-
findByCategoryId_PrevAndNext
AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.- Parameters:
categoryPropertyId
- the primary key of the current asset category propertycategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category property
- Throws:
NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be found
-
removeByCategoryId
void removeByCategoryId(long categoryId) Removes all the asset category properties where categoryId = ? from the database.- Parameters:
categoryId
- the category ID
-
countByCategoryId
int countByCategoryId(long categoryId) Returns the number of asset category properties where categoryId = ?.- Parameters:
categoryId
- the category ID- Returns:
- the number of matching asset category properties
-
findByC_K
Returns all the asset category properties where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the matching asset category properties
-
findByC_K
Returns a range of all the asset category properties where companyId = ? and key = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)- Returns:
- the range of matching asset category properties
-
findByC_K
List<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties where companyId = ? and key = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset category properties
-
findByC_K
List<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties where companyId = ? and key = ?.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (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 category properties
-
findByC_K_First
AssetCategoryProperty findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the first asset category property in the ordered set where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByC_K_First
AssetCategoryProperty fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the first asset category property in the ordered set where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset category property, or
null
if a matching asset category property could not be found
-
findByC_K_Last
AssetCategoryProperty findByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the last asset category property in the ordered set where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByC_K_Last
AssetCategoryProperty fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns the last asset category property in the ordered set where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset category property, or
null
if a matching asset category property could not be found
-
findByC_K_PrevAndNext
AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.- Parameters:
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset category property
- Throws:
NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be found
-
removeByC_K
Removes all the asset category properties where companyId = ? and key = ? from the database.- Parameters:
companyId
- the company IDkey
- the key
-
countByC_K
Returns the number of asset category properties where companyId = ? and key = ?.- Parameters:
companyId
- the company IDkey
- the key- Returns:
- the number of matching asset category properties
-
findByCA_K
AssetCategoryProperty findByCA_K(long categoryId, String key) throws NoSuchCategoryPropertyException Returns the asset category property where categoryId = ? and key = ? or throws aNoSuchCategoryPropertyException
if it could not be found.- Parameters:
categoryId
- the category IDkey
- the key- Returns:
- the matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByCA_K
Returns the asset category property where categoryId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
categoryId
- the category IDkey
- the key- Returns:
- the matching asset category property, or
null
if a matching asset category property could not be found
-
fetchByCA_K
Returns the asset category property where categoryId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
categoryId
- the category IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset category property, or
null
if a matching asset category property could not be found
-
removeByCA_K
AssetCategoryProperty removeByCA_K(long categoryId, String key) throws NoSuchCategoryPropertyException Removes the asset category property where categoryId = ? and key = ? from the database.- Parameters:
categoryId
- the category IDkey
- the key- Returns:
- the asset category property that was removed
- Throws:
NoSuchCategoryPropertyException
-
countByCA_K
Returns the number of asset category properties where categoryId = ? and key = ?.- Parameters:
categoryId
- the category IDkey
- the key- Returns:
- the number of matching asset category properties
-
findByERC_C
AssetCategoryProperty findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCategoryPropertyException Returns the asset category property where externalReferenceCode = ? and companyId = ? or throws aNoSuchCategoryPropertyException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching asset category property
- Throws:
NoSuchCategoryPropertyException
- if a matching asset category property could not be found
-
fetchByERC_C
Returns the asset category property where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching asset category property, or
null
if a matching asset category property could not be found
-
fetchByERC_C
AssetCategoryProperty fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the asset category property where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset category property, or
null
if a matching asset category property could not be found
-
removeByERC_C
AssetCategoryProperty removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCategoryPropertyException Removes the asset category property where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the asset category property that was removed
- Throws:
NoSuchCategoryPropertyException
-
countByERC_C
Returns the number of asset category properties where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching asset category properties
-
cacheResult
Caches the asset category property in the entity cache if it is enabled.- Parameters:
assetCategoryProperty
- the asset category property
-
cacheResult
Caches the asset category properties in the entity cache if it is enabled.- Parameters:
assetCategoryProperties
- the asset category properties
-
create
Creates a new asset category property with the primary key. Does not add the asset category property to the database.- Parameters:
categoryPropertyId
- the primary key for the new asset category property- Returns:
- the new asset category property
-
remove
Removes the asset category property with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
categoryPropertyId
- the primary key of the asset category property- Returns:
- the asset category property that was removed
- Throws:
NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
AssetCategoryProperty findByPrimaryKey(long categoryPropertyId) throws NoSuchCategoryPropertyException Returns the asset category property with the primary key or throws aNoSuchCategoryPropertyException
if it could not be found.- Parameters:
categoryPropertyId
- the primary key of the asset category property- Returns:
- the asset category property
- Throws:
NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset category property with the primary key or returnsnull
if it could not be found.- Parameters:
categoryPropertyId
- the primary key of the asset category property- Returns:
- the asset category property, or
null
if a asset category property with the primary key could not be found
-
findAll
List<AssetCategoryProperty> findAll()Returns all the asset category properties.- Returns:
- the asset category properties
-
findAll
Returns a range of all the asset category properties.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)- Returns:
- the range of asset category properties
-
findAll
List<AssetCategoryProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator) Returns an ordered range of all the asset category properties.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset category properties
-
findAll
List<AssetCategoryProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset category properties.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 fromAssetCategoryPropertyModelImpl
.- Parameters:
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset category properties
-
removeAll
void removeAll()Removes all the asset category properties from the database. -
countAll
int countAll()Returns the number of asset category properties.- Returns:
- the number of asset category properties
-