|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>
com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceImpl
public class AssetTagPropertyPersistenceImpl
The persistence implementation for the asset tag property service.
Caching information and settings can be found in portal.properties
AssetTagPropertyPersistence,
AssetTagPropertyUtil| 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 |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_T_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public AssetTagPropertyPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceassetTagProperty - the asset tag propertypublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceassetTagProperties - the asset tag propertiespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>public void clearCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> assetTagProperties)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
public com.liferay.portlet.asset.model.AssetTagProperty create(long tagPropertyId)
create in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key for the new asset tag property
public com.liferay.portlet.asset.model.AssetTagProperty remove(long tagPropertyId)
throws com.liferay.portlet.asset.NoSuchTagPropertyException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the asset tag property
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
public com.liferay.portlet.asset.model.AssetTagProperty remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchTagPropertyException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>primaryKey - the primary key of the asset tag property
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
protected com.liferay.portlet.asset.model.AssetTagProperty removeImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.asset.model.AssetTagProperty updateImpl(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetTagProperty toUnwrappedModel(com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>primaryKey - the primary key of the asset tag property
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
public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey(long tagPropertyId)
throws com.liferay.portlet.asset.NoSuchTagPropertyException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTagPropertyException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the asset tag property
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
public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetTagProperty>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTagProperty>primaryKey - the primary key of the asset tag property
null if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the asset tag property
null if a asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByCompanyId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
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
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)
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findByTagId(long tagId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByTagId_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByTagId_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByTagId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the current asset tag propertytagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
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
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)
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
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the key
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findByC_K_First in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByC_K_Last in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
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
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
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.
findByC_K_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
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
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)
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
NoSuchTagPropertyException if it could not be found.
findByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDkey - the key
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
public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDkey - the key
null if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K(long tagId,
java.lang.String key,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDkey - the keyretrieveFromCache - whether to use the finder cache
null if a matching asset tag property could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencestart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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
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.
findAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencestart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
removeByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the key
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByT_K(long tagId,
java.lang.String key)
throws com.liferay.portlet.asset.NoSuchTagPropertyException,
com.liferay.portal.kernel.exception.SystemException
removeByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDkey - the key
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchTagPropertyException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByTagId(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
countByTagId in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
countByC_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecompanyId - the company IDkey - the key
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByT_K(long tagId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
countByT_K in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencetagId - the tag IDkey - the key
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||