@Deprecated
@ProviderType
public class AssetCategoryPropertyPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
implements com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider
Deprecated.
|
static String |
FINDER_CLASS_NAME_ENTITY
Deprecated.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
Deprecated.
|
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
Deprecated.
|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
---|
AssetCategoryPropertyPersistenceImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
Initializes the asset category property persistence.
|
void |
cacheResult(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
Deprecated.
Caches the asset category property in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetCategoryProperty> assetCategoryProperties)
Deprecated.
Caches the asset category properties in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetCategoryPropertyModelImpl assetCategoryPropertyModelImpl)
Deprecated.
|
void |
clearCache()
Deprecated.
Clears the cache for all asset category properties.
|
void |
clearCache(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
Deprecated.
Clears the cache for the asset category property.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetCategoryProperty> assetCategoryProperties)
Deprecated.
|
protected void |
clearUniqueFindersCache(AssetCategoryPropertyModelImpl assetCategoryPropertyModelImpl,
boolean clearCurrent)
Deprecated.
|
int |
countAll()
Deprecated.
Returns the number of asset category properties.
|
int |
countByC_K(long companyId,
String key)
Deprecated.
Returns the number of asset category properties where companyId = ? and key = ?.
|
int |
countByCA_K(long categoryId,
String key)
Deprecated.
Returns the number of asset category properties where categoryId = ? and key = ?.
|
int |
countByCategoryId(long categoryId)
Deprecated.
Returns the number of asset category properties where categoryId = ?.
|
int |
countByCompanyId(long companyId)
Deprecated.
Returns the number of asset category properties where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
create(long categoryPropertyId)
Deprecated.
Creates a new asset category property with the primary key.
|
void |
destroy()
Deprecated.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByC_K_First(long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByC_K_Last(long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCA_K(long categoryId,
String key,
boolean retrieveFromCache)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where categoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where categoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
fetchByPrimaryKey(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key or returns
null if it could not be found. |
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findAll()
Deprecated.
Returns all the asset category properties.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findAll(int start,
int end)
Deprecated.
Returns a range of all the asset category properties.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the asset category properties.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByC_K_First(long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByC_K_Last(long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty[] |
findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByC_K(long companyId,
String key)
Deprecated.
Returns all the asset category properties where companyId = ? and key = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where companyId = ? and key = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ? and key = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ? and key = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByCA_K(long categoryId,
String key)
Deprecated.
Returns the asset category property where categoryId = ? and key = ? or throws a
NoSuchCategoryPropertyException if it could not be found. |
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where categoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where categoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty[] |
findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCategoryId(long categoryId)
Deprecated.
Returns all the asset category properties where categoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where categoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where categoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the asset category properties where categoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the first asset category property in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the last asset category property in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty[] |
findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCompanyId(long companyId)
Deprecated.
Returns all the asset category properties where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end)
Deprecated.
Returns a range of all the asset category properties where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the asset category properties where companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByPrimaryKey(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key or throws a
NoSuchCategoryPropertyException if it could not be found. |
com.liferay.asset.kernel.model.AssetCategoryProperty |
findByPrimaryKey(Serializable primaryKey)
Deprecated.
Returns the asset category property with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames()
Deprecated.
|
protected com.liferay.asset.kernel.model.AssetCategoryProperty |
getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
String key,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean previous)
Deprecated.
|
protected com.liferay.asset.kernel.model.AssetCategoryProperty |
getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean previous)
Deprecated.
|
protected com.liferay.asset.kernel.model.AssetCategoryProperty |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator,
boolean previous)
Deprecated.
|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache()
Deprecated.
|
protected String |
getPKDBName()
Deprecated.
|
protected String |
getSelectSQL()
Deprecated.
|
protected Map<String,Integer> |
getTableColumnsMap()
Deprecated.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
remove(long categoryPropertyId)
Deprecated.
Removes the asset category property with the primary key from the database.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
remove(Serializable primaryKey)
Deprecated.
Removes the asset category property with the primary key from the database.
|
void |
removeAll()
Deprecated.
Removes all the asset category properties from the database.
|
void |
removeByC_K(long companyId,
String key)
Deprecated.
Removes all the asset category properties where companyId = ? and key = ? from the database.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
removeByCA_K(long categoryId,
String key)
Deprecated.
Removes the asset category property where categoryId = ? and key = ? from the database.
|
void |
removeByCategoryId(long categoryId)
Deprecated.
Removes all the asset category properties where categoryId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Deprecated.
Removes all the asset category properties where companyId = ? from the database.
|
protected com.liferay.asset.kernel.model.AssetCategoryProperty |
removeImpl(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
Deprecated.
|
com.liferay.asset.kernel.model.AssetCategoryProperty |
updateImpl(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
Deprecated.
|
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public AssetCategoryPropertyPersistenceImpl()
public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDpublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCompanyId(long companyId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetCategoryProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCompanyId_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCompanyId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCompanyId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategoryProperty getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDpublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCategoryId(long categoryId)
findByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDpublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDstart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetCategoryProperty findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCategoryId_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByCategoryId_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCategoryId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByCategoryId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByCategoryId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the current asset category propertycategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategoryProperty getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean previous)
public void removeByCategoryId(long categoryId)
removeByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDpublic int countByCategoryId(long categoryId)
countByCategoryId
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDpublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByC_K(long companyId, String key)
findByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keypublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keystart
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetCategoryProperty findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByC_K_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByC_K_First
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty findByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByC_K_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
fetchByC_K_Last
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
findByC_K_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the current asset category propertycompanyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategoryProperty getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean previous)
public void removeByC_K(long companyId, String key)
removeByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keypublic int countByC_K(long companyId, String key)
countByC_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
companyId
- the company IDkey
- the keypublic com.liferay.asset.kernel.model.AssetCategoryProperty findByCA_K(long categoryId, String key) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
NoSuchCategoryPropertyException
if it could not be found.findByCA_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDkey
- the keycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCA_K(long categoryId, String key)
null
if it could not be found. Uses the finder cache.fetchByCA_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDkey
- the keynull
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByCA_K(long categoryId, String key, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByCA_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDkey
- the keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset category property could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty removeByCA_K(long categoryId, String key) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
removeByCA_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDkey
- the keycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
public int countByCA_K(long categoryId, String key)
countByCA_K
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryId
- the category IDkey
- the keypublic void cacheResult(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
assetCategoryProperty
- the asset category propertypublic void cacheResult(List<com.liferay.asset.kernel.model.AssetCategoryProperty> assetCategoryProperties)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
assetCategoryProperties
- the asset category propertiespublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
public void clearCache(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
public void clearCache(List<com.liferay.asset.kernel.model.AssetCategoryProperty> assetCategoryProperties)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
protected void cacheUniqueFindersCache(AssetCategoryPropertyModelImpl assetCategoryPropertyModelImpl)
protected void clearUniqueFindersCache(AssetCategoryPropertyModelImpl assetCategoryPropertyModelImpl, boolean clearCurrent)
public com.liferay.asset.kernel.model.AssetCategoryProperty create(long categoryPropertyId)
create
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key for the new asset category propertypublic com.liferay.asset.kernel.model.AssetCategoryProperty remove(long categoryPropertyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
remove
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the asset category propertycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
primaryKey
- the primary key of the asset category propertycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategoryProperty removeImpl(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
public com.liferay.asset.kernel.model.AssetCategoryProperty updateImpl(com.liferay.asset.kernel.model.AssetCategoryProperty assetCategoryProperty)
updateImpl
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
public com.liferay.asset.kernel.model.AssetCategoryProperty findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
primaryKey
- the primary key of the asset category propertycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty findByPrimaryKey(long categoryPropertyId) throws com.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
NoSuchCategoryPropertyException
if it could not be found.findByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the asset category propertycom.liferay.asset.kernel.exception.NoSuchCategoryPropertyException
- if a asset category property with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
categoryPropertyId
- the primary key of the asset category propertynull
if a asset category property with the primary key could not be foundpublic List<com.liferay.asset.kernel.model.AssetCategoryProperty> findAll()
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findAll(int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetCategoryProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategoryProperty> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryPropertyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
public int countAll()
countAll
in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPropertyPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategoryProperty>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategoryProperty>
public void afterPropertiesSet()
public void destroy()