@Deprecated @ProviderType public interface AssetCategoryPropertyPersistence extends BasePersistence<AssetCategoryProperty>
Caching information and settings can be found in portal.properties
AssetCategoryPropertyUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Caches the asset category property in the entity cache if it is enabled.
|
void |
cacheResult(List<AssetCategoryProperty> assetCategoryProperties)
Deprecated.
Caches the asset category properties in the entity cache if it is enabled.
|
int |
countAll()
Deprecated.
Returns the number of asset category properties.
|
int |
countByC_K(long companyId,
String key)
Deprecated.
Returns the number of asset category properties where companyId = ? and key = ?.
|
int |
countByCA_K(long categoryId,
String key)
Deprecated.
Returns the number of asset category properties where categoryId = ? and key = ?.
|
int |
countByCategoryId(long categoryId)
Deprecated.
Returns the number of asset category properties where categoryId = ?.
|
int |
countByCompanyId(long companyId)
Deprecated.
Returns the number of asset category properties where companyId = ?.
|
AssetCategoryProperty |
create(long categoryPropertyId)
Deprecated.
Creates a new asset category property with the primary key.
|
AssetCategoryProperty |
fetchByC_K_First(long companyId,
String key,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
AssetCategoryProperty |
fetchByC_K_Last(long companyId,
String key,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or returns
null if it could not be found. |
AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key,
boolean useFinderCache)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetCategoryProperty |
fetchByCategoryId_First(long categoryId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where categoryId = ?.
|
AssetCategoryProperty |
fetchByCategoryId_Last(long categoryId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where categoryId = ?.
|
AssetCategoryProperty |
fetchByCompanyId_First(long companyId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ?.
|
AssetCategoryProperty |
fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ?.
|
AssetCategoryProperty |
fetchByPrimaryKey(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key or returns
null if it could not be found. |
List<AssetCategoryProperty> |
findAll()
Deprecated.
Returns all the asset category properties.
|
List<AssetCategoryProperty> |
findAll(int start,
int end)
Deprecated.
Returns a range of all the asset category properties.
|
List<AssetCategoryProperty> |
findAll(int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties.
|
List<AssetCategoryProperty> |
findAll(int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset category properties.
|
AssetCategoryProperty |
findByC_K_First(long companyId,
String key,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
AssetCategoryProperty |
findByC_K_Last(long companyId,
String key,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
AssetCategoryProperty[] |
findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
String key,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key)
Deprecated.
Returns all the asset category properties where companyId = ? and key = ?.
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where companyId = ? and key = ?.
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ? and key = ?.
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ? and key = ?.
|
AssetCategoryProperty |
findByCA_K(long categoryId,
String key)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or throws a
NoSuchCategoryPropertyException if it could not be found. |
AssetCategoryProperty |
findByCategoryId_First(long categoryId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where categoryId = ?.
|
AssetCategoryProperty |
findByCategoryId_Last(long categoryId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where categoryId = ?.
|
AssetCategoryProperty[] |
findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId)
Deprecated.
Returns all the asset category properties where categoryId = ?.
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where categoryId = ?.
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where categoryId = ?.
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset category properties where categoryId = ?.
|
AssetCategoryProperty |
findByCompanyId_First(long companyId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ?.
|
AssetCategoryProperty |
findByCompanyId_Last(long companyId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ?.
|
AssetCategoryProperty[] |
findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ?.
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId)
Deprecated.
Returns all the asset category properties where companyId = ?.
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where companyId = ?.
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ?.
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetCategoryProperty> orderByComparator,
boolean useFinderCache)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ?.
|
AssetCategoryProperty |
findByPrimaryKey(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key or throws a
NoSuchCategoryPropertyException if it could not be found. |
AssetCategoryProperty |
remove(long categoryPropertyId)
Deprecated.
Removes the asset category property with the primary key from the database.
|
void |
removeAll()
Deprecated.
Removes all the asset category properties from the database.
|
void |
removeByC_K(long companyId,
String key)
Deprecated.
Removes all the asset category properties where companyId = ? and key = ? from the database.
|
AssetCategoryProperty |
removeByCA_K(long categoryId,
String key)
Deprecated.
Removes the asset category property where categoryId = ? and key = ? from the database.
|
void |
removeByCategoryId(long categoryId)
Deprecated.
Removes all the asset category properties where categoryId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Deprecated.
Removes all the asset category properties where companyId = ? from the database.
|
AssetCategoryProperty |
updateImpl(AssetCategoryProperty assetCategoryProperty)
Deprecated.
|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<AssetCategoryProperty> findByCompanyId(long companyId)
companyId
- the company IDList<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAssetCategoryProperty findByCompanyId_First(long companyId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByCompanyId_First(long companyId, OrderByComparator<AssetCategoryProperty> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty findByCompanyId_Last(long companyId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByCompanyId_Last(long companyId, OrderByComparator<AssetCategoryProperty> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId, long companyId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDList<AssetCategoryProperty> findByCategoryId(long categoryId)
categoryId
- the category IDList<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAssetCategoryProperty findByCategoryId_First(long categoryId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByCategoryId_First(long categoryId, OrderByComparator<AssetCategoryProperty> orderByComparator)
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty findByCategoryId_Last(long categoryId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByCategoryId_Last(long categoryId, OrderByComparator<AssetCategoryProperty> orderByComparator)
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId, long categoryId, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
categoryPropertyId
- the primary key of the current asset category propertycategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundvoid removeByCategoryId(long categoryId)
categoryId
- the category IDint countByCategoryId(long categoryId)
categoryId
- the category IDList<AssetCategoryProperty> findByC_K(long companyId, String key)
companyId
- the company IDkey
- the keyList<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAssetCategoryProperty findByC_K_First(long companyId, String key, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByC_K_First(long companyId, String key, OrderByComparator<AssetCategoryProperty> orderByComparator)
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty findByC_K_Last(long companyId, String key, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByC_K_Last(long companyId, String key, OrderByComparator<AssetCategoryProperty> orderByComparator)
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundAssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId, long companyId, String key, OrderByComparator<AssetCategoryProperty> orderByComparator) throws NoSuchCategoryPropertyException
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundvoid removeByC_K(long companyId, String key)
companyId
- the company IDkey
- the keyint countByC_K(long companyId, String key)
companyId
- the company IDkey
- the keyAssetCategoryProperty findByCA_K(long categoryId, String key) throws NoSuchCategoryPropertyException
NoSuchCategoryPropertyException
if it could not be found.categoryId
- the category IDkey
- the keyNoSuchCategoryPropertyException
- if a matching asset category property could not be foundAssetCategoryProperty fetchByCA_K(long categoryId, String key)
null
if it could not be found. Uses the finder cache.categoryId
- the category IDkey
- the keynull
if a matching asset category property could not be foundAssetCategoryProperty fetchByCA_K(long categoryId, String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.categoryId
- the category IDkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching asset category property could not be foundAssetCategoryProperty removeByCA_K(long categoryId, String key) throws NoSuchCategoryPropertyException
categoryId
- the category IDkey
- the keyNoSuchCategoryPropertyException
int countByCA_K(long categoryId, String key)
categoryId
- the category IDkey
- the keyvoid cacheResult(AssetCategoryProperty assetCategoryProperty)
assetCategoryProperty
- the asset category propertyvoid cacheResult(List<AssetCategoryProperty> assetCategoryProperties)
assetCategoryProperties
- the asset category propertiesAssetCategoryProperty create(long categoryPropertyId)
categoryPropertyId
- the primary key for the new asset category propertyAssetCategoryProperty remove(long categoryPropertyId) throws NoSuchCategoryPropertyException
categoryPropertyId
- the primary key of the asset category propertyNoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundAssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty)
AssetCategoryProperty findByPrimaryKey(long categoryPropertyId) throws NoSuchCategoryPropertyException
NoSuchCategoryPropertyException
if it could not be found.categoryPropertyId
- the primary key of the asset category propertyNoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundAssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
null
if it could not be found.categoryPropertyId
- the primary key of the asset category propertynull
if a asset category property with the primary key could not be foundList<AssetCategoryProperty> findAll()
List<AssetCategoryProperty> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)List<AssetCategoryProperty> findAll(int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<AssetCategoryProperty> findAll(int start, int end, OrderByComparator<AssetCategoryProperty> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()