com.liferay.portlet.asset.service.persistence
Class AssetTagPropertyPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
      extended by com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>, com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence

public class AssetTagPropertyPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
implements com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence

The persistence implementation for the asset tag property service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
AssetTagPropertyPersistence, AssetTagPropertyUtil
Generated:

Field Summary
protected  com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_K
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_K
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_K
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
AssetTagPropertyPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the asset tag property persistence.
 void cacheResult(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
          Caches the asset tag property in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
          Caches the asset tag properties in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all asset tag properties.
 void clearCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
          Clears the cache for the asset tag property.
 void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
           
protected  void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
           
 int countAll()
          Returns the number of asset tag properties.
 int countByC_K(long companyId, java.lang.String key)
          Returns the number of asset tag properties where companyId = ? and key = ?.
 int countByCompanyId(long companyId)
          Returns the number of asset tag properties where companyId = ?.
 int countByT_K(long tagId, java.lang.String key)
          Returns the number of asset tag properties where tagId = ? and key = ?.
 int countByTagId(long tagId)
          Returns the number of asset tag properties where tagId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty create(long tagPropertyId)
          Creates a new asset tag property with the primary key.
 void destroy()
           
 com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
          Returns the asset tag property with the primary key or returns null if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the asset tag property with the primary key or returns null if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId, java.lang.String key)
          Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId, java.lang.String key, boolean retrieveFromCache)
          Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll()
          Returns all the asset tag properties.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll(int start, int end)
          Returns a range of all the asset tag properties.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the asset tag properties.
 com.liferay.portlet.asset.model.AssetTagProperty findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first asset tag property in the ordered set where companyId = ? and key = ?.
 com.liferay.portlet.asset.model.AssetTagProperty findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last asset tag property in the ordered set where companyId = ? and key = ?.
 com.liferay.portlet.asset.model.AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId, java.lang.String key)
          Returns all the asset tag properties where companyId = ? and key = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId, java.lang.String key, int start, int end)
          Returns a range of all the asset tag properties where companyId = ? and key = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the asset tag properties where companyId = ? and key = ?.
 com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first asset tag property in the ordered set where companyId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last asset tag property in the ordered set where companyId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId)
          Returns all the asset tag properties where companyId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the asset tag properties where companyId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the asset tag properties where companyId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(long tagPropertyId)
          Returns the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the asset tag property with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty findByT_K(long tagId, java.lang.String key)
          Returns the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found.
 com.liferay.portlet.asset.model.AssetTagProperty findByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first asset tag property in the ordered set where tagId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty findByTagId_Last(long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last asset tag property in the ordered set where tagId = ?.
 com.liferay.portlet.asset.model.AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId, long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId)
          Returns all the asset tag properties where tagId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId, int start, int end)
          Returns a range of all the asset tag properties where tagId = ?.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the asset tag properties where tagId = ?.
protected  com.liferay.portlet.asset.model.AssetTagProperty getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.asset.model.AssetTagProperty getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.asset.model.AssetTagProperty getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty, long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.asset.model.AssetTagProperty remove(long tagPropertyId)
          Removes the asset tag property with the primary key from the database.
 com.liferay.portlet.asset.model.AssetTagProperty remove(java.io.Serializable primaryKey)
          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, java.lang.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, java.lang.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.
protected  com.liferay.portlet.asset.model.AssetTagProperty removeImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
           
protected  com.liferay.portlet.asset.model.AssetTagProperty toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
           
 com.liferay.portlet.asset.model.AssetTagProperty updateImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID

FINDER_PATH_COUNT_BY_TAGID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K

FINDER_PATH_COUNT_BY_C_K

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_K

FINDER_PATH_FETCH_BY_T_K

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_K

FINDER_PATH_COUNT_BY_T_K

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_K

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

assetCategoryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence

assetCategoryPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence

assetTagPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagStatsPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

AssetTagPropertyPersistenceImpl

public AssetTagPropertyPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
Caches the asset tag property in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
assetTagProperty - the asset tag property

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
Caches the asset tag properties in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
assetTagProperties - the asset tag properties

clearCache

public void clearCache()
Clears the cache for all asset tag properties.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>

clearCache

public void clearCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
Clears the cache for the asset tag property.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)

create

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

Specified by:
create in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key for the new asset tag property
Returns:
the new asset tag property

remove

public com.liferay.portlet.asset.model.AssetTagProperty remove(long tagPropertyId)
                                                        throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                               com.liferay.portal.kernel.exception.SystemException
Removes the asset tag property with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the asset tag property
Returns:
the asset tag property that was removed
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.asset.model.AssetTagProperty remove(java.io.Serializable primaryKey)
                                                        throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                               com.liferay.portal.kernel.exception.SystemException
Removes the asset tag property with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
Parameters:
primaryKey - the primary key of the asset tag property
Returns:
the asset tag property that was removed
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.asset.model.AssetTagProperty removeImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.asset.model.AssetTagProperty updateImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
                                                                   boolean merge)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.asset.model.AssetTagProperty toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(java.io.Serializable primaryKey)
                                                                  throws com.liferay.portal.NoSuchModelException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
Parameters:
primaryKey - the primary key of the asset tag property
Returns:
the asset tag property
Throws:
com.liferay.portal.NoSuchModelException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(long tagPropertyId)
                                                                  throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the asset tag property
Returns:
the asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
Parameters:
primaryKey - the primary key of the asset tag property
Returns:
the asset tag property, or null if a asset tag property with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the asset tag property
Returns:
the asset tag property, or null if a asset tag property with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag properties where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
Returns:
the matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId,
                                                                                        int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_First

public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_First(long companyId,
                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                       throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                              com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_Last

public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_Last(long companyId,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                      throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public com.liferay.portlet.asset.model.AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId,
                                                                                      long companyId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                               throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                                      com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the current asset tag property
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected com.liferay.portlet.asset.model.AssetTagProperty getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                      com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
                                                                                      long companyId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                      boolean previous)

findByTagId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag properties where tagId = ?.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
Returns:
the matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId,
                                                                                    int start,
                                                                                    int end)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId,
                                                                                    int start,
                                                                                    int end,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId_First

public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_First(long tagId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                   throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByTagId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId_Last

public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_Last(long tagId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                  throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByTagId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByTagId_PrevAndNext

public com.liferay.portlet.asset.model.AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId,
                                                                                  long tagId,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                                  com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByTagId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the current asset tag property
tagId - the tag ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByTagId_PrevAndNext

protected com.liferay.portlet.asset.model.AssetTagProperty getByTagId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                  com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
                                                                                  long tagId,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                  boolean previous)

findByC_K

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId,
                                                                                  java.lang.String key)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag properties where companyId = ? and key = ?.

Specified by:
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
Returns:
the matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_K

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId,
                                                                                  java.lang.String key,
                                                                                  int start,
                                                                                  int end)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
Returns:
the range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_K

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByC_K(long companyId,
                                                                                  java.lang.String key,
                                                                                  int start,
                                                                                  int end,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_K_First

public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_First(long companyId,
                                                                        java.lang.String key,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByC_K_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_K_Last

public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_Last(long companyId,
                                                                       java.lang.String key,
                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByC_K_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_K_PrevAndNext

public com.liferay.portlet.asset.model.AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId,
                                                                                long companyId,
                                                                                java.lang.String key,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findByC_K_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagPropertyId - the primary key of the current asset tag property
companyId - the company ID
key - the key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByC_K_PrevAndNext

protected com.liferay.portlet.asset.model.AssetTagProperty getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
                                                                                long companyId,
                                                                                java.lang.String key,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

findByT_K

public com.liferay.portlet.asset.model.AssetTagProperty findByT_K(long tagId,
                                                                  java.lang.String key)
                                                           throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found.

Specified by:
findByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
key - the key
Returns:
the matching asset tag property
Throws:
com.liferay.portlet.asset.NoSuchTagPropertyException - if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByT_K

public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId,
                                                                   java.lang.String key)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
key - the key
Returns:
the matching asset tag property, or null if a matching asset tag property could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByT_K

public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId,
                                                                   java.lang.String key,
                                                                   boolean retrieveFromCache)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
key - the key
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset tag property, or null if a matching asset tag property could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll()
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag properties.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Returns:
the asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll(int start,
                                                                                int end)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
Returns:
the range of asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll(int start,
                                                                                int end,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns 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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
start - the lower bound of the range of asset tag properties
end - the upper bound of the range of asset tag properties (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag properties where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByTagId

public void removeByTagId(long tagId)
                   throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag properties where tagId = ? from the database.

Specified by:
removeByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByC_K

public void removeByC_K(long companyId,
                        java.lang.String key)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag properties where companyId = ? and key = ? from the database.

Specified by:
removeByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByT_K

public void removeByT_K(long tagId,
                        java.lang.String key)
                 throws com.liferay.portlet.asset.NoSuchTagPropertyException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the asset tag property where tagId = ? and key = ? from the database.

Specified by:
removeByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
key - the key
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchTagPropertyException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset tag properties from the database.

Specified by:
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag properties where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByTagId

public int countByTagId(long tagId)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag properties where tagId = ?.

Specified by:
countByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
Returns:
the number of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_K

public int countByC_K(long companyId,
                      java.lang.String key)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag properties where companyId = ? and key = ?.

Specified by:
countByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
companyId - the company ID
key - the key
Returns:
the number of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByT_K

public int countByT_K(long tagId,
                      java.lang.String key)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag properties where tagId = ? and key = ?.

Specified by:
countByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Parameters:
tagId - the tag ID
key - the key
Returns:
the number of matching asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tag properties.

Specified by:
countAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence
Returns:
the number of asset tag properties
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the asset tag property persistence.


destroy

public void destroy()