|
Liferay 6.0.3 | |||||||||
| 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<AssetTagProperty>
com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistenceImpl
public class AssetTagPropertyPersistenceImpl
AssetTagPropertyPersistence,
AssetTagPropertyUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, 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()
|
void |
cacheResult(AssetTagProperty assetTagProperty)
|
void |
cacheResult(List<AssetTagProperty> assetTagProperties)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(AssetTagProperty assetTagProperty)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByC_K(long companyId,
String key)
|
int |
countByCompanyId(long companyId)
|
int |
countByT_K(long tagId,
String key)
|
int |
countByTagId(long tagId)
|
AssetTagProperty |
create(long tagPropertyId)
|
AssetTagProperty |
fetchByPrimaryKey(long tagPropertyId)
|
AssetTagProperty |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
AssetTagProperty |
fetchByT_K(long tagId,
String key)
|
AssetTagProperty |
fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
|
List<AssetTagProperty> |
findAll()
|
List<AssetTagProperty> |
findAll(int start,
int end)
|
List<AssetTagProperty> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
|
AssetTagProperty[] |
findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
|
List<AssetTagProperty> |
findByC_K(long companyId,
String key)
|
List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
|
List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
AssetTagProperty[] |
findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator orderByComparator)
|
List<AssetTagProperty> |
findByCompanyId(long companyId)
|
List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end)
|
List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByPrimaryKey(long tagPropertyId)
|
AssetTagProperty |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
AssetTagProperty |
findByT_K(long tagId,
String key)
|
AssetTagProperty |
findByTagId_First(long tagId,
OrderByComparator orderByComparator)
|
AssetTagProperty |
findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
|
AssetTagProperty[] |
findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator orderByComparator)
|
List<AssetTagProperty> |
findByTagId(long tagId)
|
List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end)
|
List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
|
protected AssetTagProperty |
getByC_K_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long companyId,
String key,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetTagProperty |
getByCompanyId_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetTagProperty |
getByTagId_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long tagId,
OrderByComparator orderByComparator,
boolean previous)
|
AssetTagProperty |
remove(long tagPropertyId)
|
AssetTagProperty |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByC_K(long companyId,
String key)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByT_K(long tagId,
String key)
|
void |
removeByTagId(long tagId)
|
protected AssetTagProperty |
removeImpl(AssetTagProperty assetTagProperty)
Removes the model instance from the database. |
protected AssetTagProperty |
toUnwrappedModel(AssetTagProperty assetTagProperty)
|
AssetTagProperty |
updateImpl(AssetTagProperty assetTagProperty,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_TAGID
public static final FinderPath FINDER_PATH_COUNT_BY_TAGID
public static final FinderPath FINDER_PATH_FIND_BY_C_K
public static final FinderPath FINDER_PATH_COUNT_BY_C_K
public static final FinderPath FINDER_PATH_FETCH_BY_T_K
public static final FinderPath FINDER_PATH_COUNT_BY_T_K
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public AssetTagPropertyPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(AssetTagProperty assetTagProperty)
cacheResult in interface AssetTagPropertyPersistencepublic void cacheResult(List<AssetTagProperty> assetTagProperties)
cacheResult in interface AssetTagPropertyPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<AssetTagProperty>clearCache in class BasePersistenceImpl<AssetTagProperty>public void clearCache(AssetTagProperty assetTagProperty)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetTagProperty>clearCache in class BasePersistenceImpl<AssetTagProperty>assetTagProperty - the instance of this model to clear the cache forpublic AssetTagProperty create(long tagPropertyId)
create in interface AssetTagPropertyPersistence
public AssetTagProperty remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<AssetTagProperty>remove in class BasePersistenceImpl<AssetTagProperty>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public AssetTagProperty remove(long tagPropertyId)
throws NoSuchTagPropertyException,
SystemException
remove in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
protected AssetTagProperty removeImpl(AssetTagProperty assetTagProperty)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetTagProperty>assetTagProperty - the model instance to remove
SystemException - if a system exception occurred
public AssetTagProperty updateImpl(AssetTagProperty assetTagProperty,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetTagPropertyPersistenceupdateImpl in class BasePersistenceImpl<AssetTagProperty>assetTagProperty - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected AssetTagProperty toUnwrappedModel(AssetTagProperty assetTagProperty)
public AssetTagProperty findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<AssetTagProperty>findByPrimaryKey in class BasePersistenceImpl<AssetTagProperty>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTagProperty findByPrimaryKey(long tagPropertyId)
throws NoSuchTagPropertyException,
SystemException
findByPrimaryKey in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetTagProperty>fetchByPrimaryKey in class BasePersistenceImpl<AssetTagProperty>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTagProperty fetchByPrimaryKey(long tagPropertyId)
throws SystemException
fetchByPrimaryKey in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface AssetTagPropertyPersistenceSystemException
public AssetTagProperty findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByCompanyId_First in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByCompanyId_Last in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByCompanyId_PrevAndNext in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
protected AssetTagProperty getByCompanyId_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetTagProperty> findByTagId(long tagId)
throws SystemException
findByTagId in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByTagId(long tagId,
int start,
int end)
throws SystemException
findByTagId in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByTagId(long tagId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByTagId in interface AssetTagPropertyPersistenceSystemException
public AssetTagProperty findByTagId_First(long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByTagId_First in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty findByTagId_Last(long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByTagId_Last in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByTagId_PrevAndNext in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
protected AssetTagProperty getByTagId_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long tagId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetTagProperty> findByC_K(long companyId,
String key)
throws SystemException
findByC_K in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByC_K(long companyId,
String key,
int start,
int end)
throws SystemException
findByC_K in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByC_K in interface AssetTagPropertyPersistenceSystemException
public AssetTagProperty findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByC_K_First in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByC_K_Last in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchTagPropertyException,
SystemException
findByC_K_PrevAndNext in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
protected AssetTagProperty getByC_K_PrevAndNext(Session session,
AssetTagProperty assetTagProperty,
long companyId,
String key,
OrderByComparator orderByComparator,
boolean previous)
public AssetTagProperty findByT_K(long tagId,
String key)
throws NoSuchTagPropertyException,
SystemException
findByT_K in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public AssetTagProperty fetchByT_K(long tagId,
String key)
throws SystemException
fetchByT_K in interface AssetTagPropertyPersistenceSystemException
public AssetTagProperty fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
throws SystemException
fetchByT_K in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findAll()
throws SystemException
findAll in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findAll(int start,
int end)
throws SystemException
findAll in interface AssetTagPropertyPersistenceSystemException
public List<AssetTagProperty> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface AssetTagPropertyPersistenceSystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface AssetTagPropertyPersistenceSystemException
public void removeByTagId(long tagId)
throws SystemException
removeByTagId in interface AssetTagPropertyPersistenceSystemException
public void removeByC_K(long companyId,
String key)
throws SystemException
removeByC_K in interface AssetTagPropertyPersistenceSystemException
public void removeByT_K(long tagId,
String key)
throws NoSuchTagPropertyException,
SystemException
removeByT_K in interface AssetTagPropertyPersistenceNoSuchTagPropertyException
SystemException
public void removeAll()
throws SystemException
removeAll in interface AssetTagPropertyPersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface AssetTagPropertyPersistenceSystemException
public int countByTagId(long tagId)
throws SystemException
countByTagId in interface AssetTagPropertyPersistenceSystemException
public int countByC_K(long companyId,
String key)
throws SystemException
countByC_K in interface AssetTagPropertyPersistenceSystemException
public int countByT_K(long tagId,
String key)
throws SystemException
countByT_K in interface AssetTagPropertyPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface AssetTagPropertyPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||