Liferay 6.0.5

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

All Superinterfaces:
BasePersistence<AssetTagProperty>
All Known Implementing Classes:
AssetTagPropertyPersistenceImpl

public interface AssetTagPropertyPersistence
extends BasePersistence<AssetTagProperty>

The persistence interface for the asset tag property service.

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

Caching information and settings can be found in portal.properties

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

Method Summary
 void cacheResult(AssetTagProperty assetTagProperty)
          Caches the asset tag property in the entity cache if it is enabled.
 void cacheResult(List<AssetTagProperty> assetTagProperties)
          Caches the asset tag properties in the entity cache if it is enabled.
 int countAll()
          Counts all the asset tag properties.
 int countByC_K(long companyId, String key)
          Counts all the asset tag properties where companyId = ? and key = ?.
 int countByCompanyId(long companyId)
          Counts all the asset tag properties where companyId = ?.
 int countByT_K(long tagId, String key)
          Counts all the asset tag properties where tagId = ? and key = ?.
 int countByTagId(long tagId)
          Counts all the asset tag properties where tagId = ?.
 AssetTagProperty create(long tagPropertyId)
          Creates a new asset tag property with the primary key.
 AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
          Finds the asset tag property with the primary key or returns null if it could not be found.
 AssetTagProperty fetchByT_K(long tagId, String key)
          Finds the asset tag property where tagId = ? and key = ? or returns null if it could not be found.
 AssetTagProperty fetchByT_K(long tagId, String key, boolean retrieveFromCache)
          Finds the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
 List<AssetTagProperty> findAll()
          Finds all the asset tag properties.
 List<AssetTagProperty> findAll(int start, int end)
          Finds a range of all the asset tag properties.
 List<AssetTagProperty> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset tag properties.
 AssetTagProperty findByC_K_First(long companyId, String key, OrderByComparator orderByComparator)
          Finds the first asset tag property in the ordered set where companyId = ? and key = ?.
 AssetTagProperty findByC_K_Last(long companyId, String key, OrderByComparator orderByComparator)
          Finds the last asset tag property in the ordered set where companyId = ? and key = ?.
 AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId, long companyId, String key, OrderByComparator orderByComparator)
          Finds the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?.
 List<AssetTagProperty> findByC_K(long companyId, String key)
          Finds all the asset tag properties where companyId = ? and key = ?.
 List<AssetTagProperty> findByC_K(long companyId, String key, int start, int end)
          Finds a range of all the asset tag properties where companyId = ? and key = ?.
 List<AssetTagProperty> findByC_K(long companyId, String key, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset tag properties where companyId = ? and key = ?.
 AssetTagProperty findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first asset tag property in the ordered set where companyId = ?.
 AssetTagProperty findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last asset tag property in the ordered set where companyId = ?.
 AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId, long companyId, OrderByComparator orderByComparator)
          Finds the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?.
 List<AssetTagProperty> findByCompanyId(long companyId)
          Finds all the asset tag properties where companyId = ?.
 List<AssetTagProperty> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the asset tag properties where companyId = ?.
 List<AssetTagProperty> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset tag properties where companyId = ?.
 AssetTagProperty findByPrimaryKey(long tagPropertyId)
          Finds the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found.
 AssetTagProperty findByT_K(long tagId, String key)
          Finds the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found.
 AssetTagProperty findByTagId_First(long tagId, OrderByComparator orderByComparator)
          Finds the first asset tag property in the ordered set where tagId = ?.
 AssetTagProperty findByTagId_Last(long tagId, OrderByComparator orderByComparator)
          Finds the last asset tag property in the ordered set where tagId = ?.
 AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId, long tagId, OrderByComparator orderByComparator)
          Finds the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?.
 List<AssetTagProperty> findByTagId(long tagId)
          Finds all the asset tag properties where tagId = ?.
 List<AssetTagProperty> findByTagId(long tagId, int start, int end)
          Finds a range of all the asset tag properties where tagId = ?.
 List<AssetTagProperty> findByTagId(long tagId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the asset tag properties where tagId = ?.
 AssetTagProperty remove(long tagPropertyId)
          Removes the asset tag property with the primary key from the database.
 void removeAll()
          Removes all the asset tag properties from the database.
 void removeByC_K(long companyId, String key)
          Removes all the asset tag properties where companyId = ? and key = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the asset tag properties where companyId = ? from the database.
 void removeByT_K(long tagId, String key)
          Removes the asset tag property where tagId = ? and key = ? from the database.
 void removeByTagId(long tagId)
          Removes all the asset tag properties where tagId = ? from the database.
 AssetTagProperty updateImpl(AssetTagProperty assetTagProperty, 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(AssetTagProperty assetTagProperty)
Caches the asset tag property in the entity cache if it is enabled.

Parameters:
assetTagProperty - the asset tag property to cache

cacheResult

void cacheResult(List<AssetTagProperty> assetTagProperties)
Caches the asset tag properties in the entity cache if it is enabled.

Parameters:
assetTagProperties - the asset tag properties to cache

create

AssetTagProperty create(long tagPropertyId)
Creates a new asset tag property with the primary key. Does not add the asset tag property to the database.

Parameters:
tagPropertyId - the primary key for the new asset tag property
Returns:
the new asset tag property

remove

AssetTagProperty remove(long tagPropertyId)
                        throws SystemException,
                               NoSuchTagPropertyException
Removes the asset tag property with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
tagPropertyId - the primary key of the asset tag property to remove
Returns:
the asset tag property that was removed
Throws:
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

AssetTagProperty updateImpl(AssetTagProperty assetTagProperty,
                            boolean merge)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetTagProperty findByPrimaryKey(long tagPropertyId)
                                  throws SystemException,
                                         NoSuchTagPropertyException
Finds the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found.

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

fetchByPrimaryKey

AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
                                   throws SystemException
Finds the asset tag property with the primary key or returns null if it could not be found.

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

findByCompanyId

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

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

findByCompanyId

List<AssetTagProperty> findByCompanyId(long companyId,
                                       int start,
                                       int end)
                                       throws SystemException
Finds a range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<AssetTagProperty> findByCompanyId(long companyId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Finds an ordered range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

AssetTagProperty findByCompanyId_First(long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchTagPropertyException
Finds the first asset tag 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 tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

AssetTagProperty findByCompanyId_Last(long companyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchTagPropertyException
Finds the last asset tag 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 tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId,
                                               long companyId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchTagPropertyException
Finds the asset tag properties before and after the current asset tag 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:
tagPropertyId - the primary key of the current asset tag property
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next asset tag property
Throws:
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred

findByTagId

List<AssetTagProperty> findByTagId(long tagId)
                                   throws SystemException
Finds all the asset tag properties where tagId = ?.

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

findByTagId

List<AssetTagProperty> findByTagId(long tagId,
                                   int start,
                                   int end)
                                   throws SystemException
Finds a range of all the asset tag properties where tagId = ?.

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:
tagId - the tag id to search with
start - the lower bound of the range of asset tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByTagId

List<AssetTagProperty> findByTagId(long tagId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the asset tag properties where tagId = ?.

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:
tagId - the tag id to search with
start - the lower bound of the range of asset tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByTagId_First

AssetTagProperty findByTagId_First(long tagId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchTagPropertyException
Finds the first asset tag property in the ordered set where tagId = ?.

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:
tagId - the tag id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching asset tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByTagId_Last

AssetTagProperty findByTagId_Last(long tagId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchTagPropertyException
Finds the last asset tag property in the ordered set where tagId = ?.

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:
tagId - the tag id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching asset tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByTagId_PrevAndNext

AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId,
                                           long tagId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchTagPropertyException
Finds the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?.

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:
tagPropertyId - the primary key of the current asset tag property
tagId - the tag id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next asset tag property
Throws:
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred

findByC_K

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

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

findByC_K

List<AssetTagProperty> findByC_K(long companyId,
                                 String key,
                                 int start,
                                 int end)
                                 throws SystemException
Finds a range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByC_K

List<AssetTagProperty> findByC_K(long companyId,
                                 String key,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Finds an ordered range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching asset tag properties
Throws:
SystemException - if a system exception occurred

findByC_K_First

AssetTagProperty findByC_K_First(long companyId,
                                 String key,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchTagPropertyException
Finds the first asset tag 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 tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByC_K_Last

AssetTagProperty findByC_K_Last(long companyId,
                                String key,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchTagPropertyException
Finds the last asset tag 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 tag property
Throws:
NoSuchTagPropertyException - if a matching asset tag property could not be found
SystemException - if a system exception occurred

findByC_K_PrevAndNext

AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId,
                                         long companyId,
                                         String key,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchTagPropertyException
Finds the asset tag properties before and after the current asset tag 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:
tagPropertyId - the primary key of the current asset tag 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 tag property
Throws:
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
SystemException - if a system exception occurred

findByT_K

AssetTagProperty findByT_K(long tagId,
                           String key)
                           throws SystemException,
                                  NoSuchTagPropertyException
Finds the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found.

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

fetchByT_K

AssetTagProperty fetchByT_K(long tagId,
                            String key)
                            throws SystemException
Finds the asset tag property where tagId = ? and key = ? or returns null if it could not be found. Uses the finder cache.

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

fetchByT_K

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

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

findAll

List<AssetTagProperty> findAll()
                               throws SystemException
Finds all the asset tag properties.

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

findAll

List<AssetTagProperty> findAll(int start,
                               int end)
                               throws SystemException
Finds a range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
Returns:
the range of asset tag properties
Throws:
SystemException - if a system exception occurred

findAll

List<AssetTagProperty> findAll(int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Finds an ordered range of all the asset tag 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 tag properties to return
end - the upper bound of the range of asset tag properties to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of asset tag properties
Throws:
SystemException - if a system exception occurred

removeByCompanyId

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

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

removeByTagId

void removeByTagId(long tagId)
                   throws SystemException
Removes all the asset tag properties where tagId = ? from the database.

Parameters:
tagId - the tag 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 tag 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

removeByT_K

void removeByT_K(long tagId,
                 String key)
                 throws SystemException,
                        NoSuchTagPropertyException
Removes the asset tag property where tagId = ? and key = ? from the database.

Parameters:
tagId - the tag id to search with
key - the key to search with
Throws:
SystemException - if a system exception occurred
NoSuchTagPropertyException

removeAll

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

Throws:
SystemException - if a system exception occurred

countByCompanyId

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

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

countByTagId

int countByTagId(long tagId)
                 throws SystemException
Counts all the asset tag properties where tagId = ?.

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

countByC_K

int countByC_K(long companyId,
               String key)
               throws SystemException
Counts all the asset tag 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 tag properties
Throws:
SystemException - if a system exception occurred

countByT_K

int countByT_K(long tagId,
               String key)
               throws SystemException
Counts all the asset tag properties where tagId = ? and key = ?.

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

countAll

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

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

Liferay 6.0.5