Liferay 6.0.5

com.liferay.portlet.asset.service.persistence
Interface AssetCategoryPropertyPersistence

All Superinterfaces:
BasePersistence<AssetCategoryProperty>
All Known Implementing Classes:
AssetCategoryPropertyPersistenceImpl

public interface AssetCategoryPropertyPersistence
extends BasePersistence<AssetCategoryProperty>

The persistence interface for the asset category property service.

Never modify or reference this interface directly. Always use AssetCategoryPropertyUtil to access the asset category property persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.

Caching information and settings can be found in portal.properties

See Also:
AssetCategoryPropertyPersistenceImpl, AssetCategoryPropertyUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void 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()
          Counts all the asset category properties.
 int countByC_K(long companyId, String key)
          Counts all the asset category properties where companyId = ? and key = ?.
 int countByCA_K(long categoryId, String key)
          Counts all the asset category properties where categoryId = ? and key = ?.
 int countByCategoryId(long categoryId)
          Counts all the asset category properties where categoryId = ?.
 int countByCompanyId(long companyId)
          Counts all the asset category properties where companyId = ?.
 AssetCategoryProperty create(long categoryPropertyId)
          Creates a new asset category property with the primary key.
 AssetCategoryProperty fetchByCA_K(long categoryId, String key)
          Finds 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 retrieveFromCache)
          Finds the asset category property where categoryId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
 AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
          Finds the asset category property with the primary key or returns null if it could not be found.
 List<AssetCategoryProperty> findAll()
          Finds all the asset category properties.
 List<AssetCategoryProperty> findAll(int start, int end)
          Finds a range of all the asset category properties.
 List<AssetCategoryProperty> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset category properties.
 AssetCategoryProperty findByC_K_First(long companyId, String key, OrderByComparator orderByComparator)
          Finds the first asset category property in the ordered set where companyId = ? and key = ?.
 AssetCategoryProperty findByC_K_Last(long companyId, String key, OrderByComparator orderByComparator)
          Finds the last asset category property in the ordered set where companyId = ? and key = ?.
 AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId, long companyId, String key, OrderByComparator orderByComparator)
          Finds 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)
          Finds all the asset category properties where companyId = ? and key = ?.
 List<AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end)
          Finds 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 orderByComparator)
          Finds an ordered range of all the asset category properties where companyId = ? and key = ?.
 AssetCategoryProperty findByCA_K(long categoryId, String key)
          Finds the asset category property where categoryId = ? and key = ? or throws a NoSuchCategoryPropertyException if it could not be found.
 AssetCategoryProperty findByCategoryId_First(long categoryId, OrderByComparator orderByComparator)
          Finds the first asset category property in the ordered set where categoryId = ?.
 AssetCategoryProperty findByCategoryId_Last(long categoryId, OrderByComparator orderByComparator)
          Finds the last asset category property in the ordered set where categoryId = ?.
 AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId, long categoryId, OrderByComparator orderByComparator)
          Finds the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.
 List<AssetCategoryProperty> findByCategoryId(long categoryId)
          Finds all the asset category properties where categoryId = ?.
 List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end)
          Finds a range of all the asset category properties where categoryId = ?.
 List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset category properties where categoryId = ?.
 AssetCategoryProperty findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first asset category property in the ordered set where companyId = ?.
 AssetCategoryProperty findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last asset category property in the ordered set where companyId = ?.
 AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId, long companyId, OrderByComparator orderByComparator)
          Finds the asset category properties before and after the current asset category property in the ordered set where companyId = ?.
 List<AssetCategoryProperty> findByCompanyId(long companyId)
          Finds all the asset category properties where companyId = ?.
 List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the asset category properties where companyId = ?.
 List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset category properties where companyId = ?.
 AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
          Finds the asset category property with the primary key or throws a NoSuchCategoryPropertyException if it could not be found.
 AssetCategoryProperty remove(long categoryPropertyId)
          Removes the asset category property with the primary key from the database.
 void removeAll()
          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.
 void 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.
 AssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(AssetCategoryProperty assetCategoryProperty)
Caches the asset category property in the entity cache if it is enabled.

Parameters:
assetCategoryProperty - the asset category property to cache

cacheResult

void cacheResult(List<AssetCategoryProperty> assetCategoryProperties)
Caches the asset category properties in the entity cache if it is enabled.

Parameters:
assetCategoryProperties - the asset category properties to cache

create

AssetCategoryProperty create(long categoryPropertyId)
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

AssetCategoryProperty remove(long categoryPropertyId)
                             throws SystemException,
                                    NoSuchCategoryPropertyException
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 to remove
Returns:
the asset category property that was removed
Throws:
NoSuchCategoryPropertyException - if a asset category property with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

AssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty,
                                 boolean merge)
                                 throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
                                       throws SystemException,
                                              NoSuchCategoryPropertyException
Finds the asset category property with the primary key or throws a NoSuchCategoryPropertyException if it could not be found.

Parameters:
categoryPropertyId - the primary key of the asset category property to find
Returns:
the asset category property
Throws:
NoSuchCategoryPropertyException - if a asset category property with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
                                        throws SystemException
Finds the asset category property with the primary key or returns null if it could not be found.

Parameters:
categoryPropertyId - the primary key of the asset category property to find
Returns:
the asset category property, or null if a asset category property with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<AssetCategoryProperty> findByCompanyId(long companyId)
                                            throws SystemException
Finds all the asset category properties where companyId = ?.

Parameters:
companyId - the company id to search with
Returns:
the matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<AssetCategoryProperty> findByCompanyId(long companyId,
                                            int start,
                                            int end)
                                            throws SystemException
Finds a range of all the asset category properties where companyId = ?.

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.

Parameters:
companyId - the company id to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
Returns:
the range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<AssetCategoryProperty> findByCompanyId(long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Finds an ordered range of all the asset category properties where companyId = ?.

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.

Parameters:
companyId - the company id to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

AssetCategoryProperty findByCompanyId_First(long companyId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchCategoryPropertyException
Finds the first asset category property in the ordered set where companyId = ?.

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.

Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

AssetCategoryProperty findByCompanyId_Last(long companyId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchCategoryPropertyException
Finds the last asset category property in the ordered set where companyId = ?.

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.

Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchCategoryPropertyException
Finds the asset category properties before and after the current asset category property in the ordered set where companyId = ?.

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.

Parameters:
categoryPropertyId - the primary key of the current asset category property
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next asset category property
Throws:
NoSuchCategoryPropertyException - if a asset category property with the primary key could not be found
SystemException - if a system exception occurred

findByCategoryId

List<AssetCategoryProperty> findByCategoryId(long categoryId)
                                             throws SystemException
Finds all the asset category properties where categoryId = ?.

Parameters:
categoryId - the category id to search with
Returns:
the matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCategoryId

List<AssetCategoryProperty> findByCategoryId(long categoryId,
                                             int start,
                                             int end)
                                             throws SystemException
Finds a range of all the asset category properties where categoryId = ?.

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.

Parameters:
categoryId - the category id to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
Returns:
the range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCategoryId

List<AssetCategoryProperty> findByCategoryId(long categoryId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Finds an ordered range of all the asset category properties where categoryId = ?.

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.

Parameters:
categoryId - the category id to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByCategoryId_First

AssetCategoryProperty findByCategoryId_First(long categoryId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchCategoryPropertyException
Finds the first asset category property in the ordered set where categoryId = ?.

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.

Parameters:
categoryId - the category id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByCategoryId_Last

AssetCategoryProperty findByCategoryId_Last(long categoryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchCategoryPropertyException
Finds the last asset category property in the ordered set where categoryId = ?.

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.

Parameters:
categoryId - the category id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByCategoryId_PrevAndNext

AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId,
                                                     long categoryId,
                                                     OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchCategoryPropertyException
Finds the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.

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.

Parameters:
categoryPropertyId - the primary key of the current asset category property
categoryId - the category id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next asset category property
Throws:
NoSuchCategoryPropertyException - if a asset category property with the primary key could not be found
SystemException - if a system exception occurred

findByC_K

List<AssetCategoryProperty> findByC_K(long companyId,
                                      String key)
                                      throws SystemException
Finds all the asset category properties where companyId = ? and key = ?.

Parameters:
companyId - the company id to search with
key - the key to search with
Returns:
the matching asset category properties
Throws:
SystemException - if a system exception occurred

findByC_K

List<AssetCategoryProperty> findByC_K(long companyId,
                                      String key,
                                      int start,
                                      int end)
                                      throws SystemException
Finds a range of all the asset category properties where companyId = ? and key = ?.

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.

Parameters:
companyId - the company id to search with
key - the key to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
Returns:
the range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByC_K

List<AssetCategoryProperty> findByC_K(long companyId,
                                      String key,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Finds 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 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.

Parameters:
companyId - the company id to search with
key - the key to search with
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset category properties
Throws:
SystemException - if a system exception occurred

findByC_K_First

AssetCategoryProperty findByC_K_First(long companyId,
                                      String key,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryPropertyException
Finds the first asset category property in the ordered set where companyId = ? and key = ?.

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.

Parameters:
companyId - the company id to search with
key - the key to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByC_K_Last

AssetCategoryProperty findByC_K_Last(long companyId,
                                     String key,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchCategoryPropertyException
Finds the last asset category property in the ordered set where companyId = ? and key = ?.

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.

Parameters:
companyId - the company id to search with
key - the key to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

findByC_K_PrevAndNext

AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId,
                                              long companyId,
                                              String key,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchCategoryPropertyException
Finds the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.

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.

Parameters:
categoryPropertyId - the primary key of the current asset category property
companyId - the company id to search with
key - the key to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next asset category property
Throws:
NoSuchCategoryPropertyException - if a asset category property with the primary key could not be found
SystemException - if a system exception occurred

findByCA_K

AssetCategoryProperty findByCA_K(long categoryId,
                                 String key)
                                 throws SystemException,
                                        NoSuchCategoryPropertyException
Finds the asset category property where categoryId = ? and key = ? or throws a NoSuchCategoryPropertyException if it could not be found.

Parameters:
categoryId - the category id to search with
key - the key to search with
Returns:
the matching asset category property
Throws:
NoSuchCategoryPropertyException - if a matching asset category property could not be found
SystemException - if a system exception occurred

fetchByCA_K

AssetCategoryProperty fetchByCA_K(long categoryId,
                                  String key)
                                  throws SystemException
Finds the asset category property where categoryId = ? and key = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
categoryId - the category id to search with
key - the key to search with
Returns:
the matching asset category property, or null if a matching asset category property could not be found
Throws:
SystemException - if a system exception occurred

fetchByCA_K

AssetCategoryProperty fetchByCA_K(long categoryId,
                                  String key,
                                  boolean retrieveFromCache)
                                  throws SystemException
Finds the asset category property where categoryId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
categoryId - the category id to search with
key - the key to search with
Returns:
the matching asset category property, or null if a matching asset category property could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategoryProperty> findAll()
                                    throws SystemException
Finds all the asset category properties.

Returns:
the asset category properties
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategoryProperty> findAll(int start,
                                    int end)
                                    throws SystemException
Finds a range of all the asset category properties.

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.

Parameters:
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
Returns:
the range of asset category properties
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategoryProperty> findAll(int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the asset category properties.

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.

Parameters:
start - the lower bound of the range of asset category properties to return
end - the upper bound of the range of asset category properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of asset category properties
Throws:
SystemException - if a system exception occurred

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the asset category properties where companyId = ? from the database.

Parameters:
companyId - the company id to search with
Throws:
SystemException - if a system exception occurred

removeByCategoryId

void removeByCategoryId(long categoryId)
                        throws SystemException
Removes all the asset category properties where categoryId = ? from the database.

Parameters:
categoryId - the category id to search with
Throws:
SystemException - if a system exception occurred

removeByC_K

void removeByC_K(long companyId,
                 String key)
                 throws SystemException
Removes all the asset category properties where companyId = ? and key = ? from the database.

Parameters:
companyId - the company id to search with
key - the key to search with
Throws:
SystemException - if a system exception occurred

removeByCA_K

void removeByCA_K(long categoryId,
                  String key)
                  throws SystemException,
                         NoSuchCategoryPropertyException
Removes the asset category property where categoryId = ? and key = ? from the database.

Parameters:
categoryId - the category id to search with
key - the key to search with
Throws:
SystemException - if a system exception occurred
NoSuchCategoryPropertyException

removeAll

void removeAll()
               throws SystemException
Removes all the asset category properties from the database.

Throws:
SystemException - if a system exception occurred

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Counts all the asset category properties where companyId = ?.

Parameters:
companyId - the company id to search with
Returns:
the number of matching asset category properties
Throws:
SystemException - if a system exception occurred

countByCategoryId

int countByCategoryId(long categoryId)
                      throws SystemException
Counts all the asset category properties where categoryId = ?.

Parameters:
categoryId - the category id to search with
Returns:
the number of matching asset category properties
Throws:
SystemException - if a system exception occurred

countByC_K

int countByC_K(long companyId,
               String key)
               throws SystemException
Counts all the asset category properties where companyId = ? and key = ?.

Parameters:
companyId - the company id to search with
key - the key to search with
Returns:
the number of matching asset category properties
Throws:
SystemException - if a system exception occurred

countByCA_K

int countByCA_K(long categoryId,
                String key)
                throws SystemException
Counts all the asset category properties where categoryId = ? and key = ?.

Parameters:
categoryId - the category id to search with
key - the key to search with
Returns:
the number of matching asset category properties
Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Counts all the asset category properties.

Returns:
the number of asset category properties
Throws:
SystemException - if a system exception occurred

Liferay 6.0.5