|
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<AssetCategoryProperty>
com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistenceImpl
public class AssetCategoryPropertyPersistenceImpl
AssetCategoryPropertyPersistence,
AssetCategoryPropertyUtil| 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 | |
|---|---|
AssetCategoryPropertyPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(AssetCategoryProperty assetCategoryProperty)
|
void |
cacheResult(List<AssetCategoryProperty> assetCategoryProperties)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(AssetCategoryProperty assetCategoryProperty)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByC_K(long companyId,
String key)
|
int |
countByCA_K(long categoryId,
String key)
|
int |
countByCategoryId(long categoryId)
|
int |
countByCompanyId(long companyId)
|
AssetCategoryProperty |
create(long categoryPropertyId)
|
AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key)
|
AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key,
boolean retrieveFromCache)
|
AssetCategoryProperty |
fetchByPrimaryKey(long categoryPropertyId)
|
AssetCategoryProperty |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<AssetCategoryProperty> |
findAll()
|
List<AssetCategoryProperty> |
findAll(int start,
int end)
|
List<AssetCategoryProperty> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
|
AssetCategoryProperty[] |
findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key)
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
|
List<AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByCA_K(long categoryId,
String key)
|
AssetCategoryProperty |
findByCategoryId_First(long categoryId,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByCategoryId_Last(long categoryId,
OrderByComparator orderByComparator)
|
AssetCategoryProperty[] |
findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
OrderByComparator orderByComparator)
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId)
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end)
|
List<AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
AssetCategoryProperty[] |
findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
OrderByComparator orderByComparator)
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId)
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end)
|
List<AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategoryProperty |
findByPrimaryKey(long categoryPropertyId)
|
AssetCategoryProperty |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
protected AssetCategoryProperty |
getByC_K_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long companyId,
String key,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategoryProperty |
getByCategoryId_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategoryProperty |
getByCompanyId_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
AssetCategoryProperty |
remove(long categoryPropertyId)
|
AssetCategoryProperty |
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 |
removeByCA_K(long categoryId,
String key)
|
void |
removeByCategoryId(long categoryId)
|
void |
removeByCompanyId(long companyId)
|
protected AssetCategoryProperty |
removeImpl(AssetCategoryProperty assetCategoryProperty)
Removes the model instance from the database. |
protected AssetCategoryProperty |
toUnwrappedModel(AssetCategoryProperty assetCategoryProperty)
|
AssetCategoryProperty |
updateImpl(AssetCategoryProperty assetCategoryProperty,
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_CATEGORYID
public static final FinderPath FINDER_PATH_COUNT_BY_CATEGORYID
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_CA_K
public static final FinderPath FINDER_PATH_COUNT_BY_CA_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 AssetCategoryPropertyPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(AssetCategoryProperty assetCategoryProperty)
cacheResult in interface AssetCategoryPropertyPersistencepublic void cacheResult(List<AssetCategoryProperty> assetCategoryProperties)
cacheResult in interface AssetCategoryPropertyPersistencepublic 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<AssetCategoryProperty>clearCache in class BasePersistenceImpl<AssetCategoryProperty>public void clearCache(AssetCategoryProperty assetCategoryProperty)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetCategoryProperty>clearCache in class BasePersistenceImpl<AssetCategoryProperty>assetCategoryProperty - the instance of this model to clear the cache forpublic AssetCategoryProperty create(long categoryPropertyId)
create in interface AssetCategoryPropertyPersistence
public AssetCategoryProperty remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<AssetCategoryProperty>remove in class BasePersistenceImpl<AssetCategoryProperty>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 AssetCategoryProperty remove(long categoryPropertyId)
throws NoSuchCategoryPropertyException,
SystemException
remove in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
protected AssetCategoryProperty removeImpl(AssetCategoryProperty assetCategoryProperty)
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<AssetCategoryProperty>assetCategoryProperty - the model instance to remove
SystemException - if a system exception occurred
public AssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty,
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 AssetCategoryPropertyPersistenceupdateImpl in class BasePersistenceImpl<AssetCategoryProperty>assetCategoryProperty - 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 AssetCategoryProperty toUnwrappedModel(AssetCategoryProperty assetCategoryProperty)
public AssetCategoryProperty findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<AssetCategoryProperty>findByPrimaryKey in class BasePersistenceImpl<AssetCategoryProperty>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 AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
throws NoSuchCategoryPropertyException,
SystemException
findByPrimaryKey in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetCategoryProperty>fetchByPrimaryKey in class BasePersistenceImpl<AssetCategoryProperty>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 AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
throws SystemException
fetchByPrimaryKey in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface AssetCategoryPropertyPersistenceSystemException
public AssetCategoryProperty findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCompanyId_First in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCompanyId_Last in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCompanyId_PrevAndNext in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
protected AssetCategoryProperty getByCompanyId_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategoryProperty> findByCategoryId(long categoryId)
throws SystemException
findByCategoryId in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByCategoryId(long categoryId,
int start,
int end)
throws SystemException
findByCategoryId in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByCategoryId(long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCategoryId in interface AssetCategoryPropertyPersistenceSystemException
public AssetCategoryProperty findByCategoryId_First(long categoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCategoryId_First in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty findByCategoryId_Last(long categoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCategoryId_Last in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByCategoryId_PrevAndNext in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
protected AssetCategoryProperty getByCategoryId_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategoryProperty> findByC_K(long companyId,
String key)
throws SystemException
findByC_K in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByC_K(long companyId,
String key,
int start,
int end)
throws SystemException
findByC_K in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByC_K in interface AssetCategoryPropertyPersistenceSystemException
public AssetCategoryProperty findByC_K_First(long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByC_K_First in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty findByC_K_Last(long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByC_K_Last in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
String key,
OrderByComparator orderByComparator)
throws NoSuchCategoryPropertyException,
SystemException
findByC_K_PrevAndNext in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
protected AssetCategoryProperty getByC_K_PrevAndNext(Session session,
AssetCategoryProperty assetCategoryProperty,
long companyId,
String key,
OrderByComparator orderByComparator,
boolean previous)
public AssetCategoryProperty findByCA_K(long categoryId,
String key)
throws NoSuchCategoryPropertyException,
SystemException
findByCA_K in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public AssetCategoryProperty fetchByCA_K(long categoryId,
String key)
throws SystemException
fetchByCA_K in interface AssetCategoryPropertyPersistenceSystemException
public AssetCategoryProperty fetchByCA_K(long categoryId,
String key,
boolean retrieveFromCache)
throws SystemException
fetchByCA_K in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findAll()
throws SystemException
findAll in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findAll(int start,
int end)
throws SystemException
findAll in interface AssetCategoryPropertyPersistenceSystemException
public List<AssetCategoryProperty> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface AssetCategoryPropertyPersistenceSystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface AssetCategoryPropertyPersistenceSystemException
public void removeByCategoryId(long categoryId)
throws SystemException
removeByCategoryId in interface AssetCategoryPropertyPersistenceSystemException
public void removeByC_K(long companyId,
String key)
throws SystemException
removeByC_K in interface AssetCategoryPropertyPersistenceSystemException
public void removeByCA_K(long categoryId,
String key)
throws NoSuchCategoryPropertyException,
SystemException
removeByCA_K in interface AssetCategoryPropertyPersistenceNoSuchCategoryPropertyException
SystemException
public void removeAll()
throws SystemException
removeAll in interface AssetCategoryPropertyPersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface AssetCategoryPropertyPersistenceSystemException
public int countByCategoryId(long categoryId)
throws SystemException
countByCategoryId in interface AssetCategoryPropertyPersistenceSystemException
public int countByC_K(long companyId,
String key)
throws SystemException
countByC_K in interface AssetCategoryPropertyPersistenceSystemException
public int countByCA_K(long categoryId,
String key)
throws SystemException
countByCA_K in interface AssetCategoryPropertyPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface AssetCategoryPropertyPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||