public class AssetCategoryPropertyPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>
implements com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence
Caching information and settings can be found in portal.properties
AssetCategoryPropertyPersistence,
AssetCategoryPropertyUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_K |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_CA_K |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_CATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_CA_K |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_CATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
AssetCategoryPropertyPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the asset category property persistence.
|
void |
cacheResult(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
Caches the asset category property in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties)
Caches the asset category properties in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) |
void |
clearCache()
Clears the cache for all asset category properties.
|
void |
clearCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
Clears the cache for the asset category property.
|
void |
clearCache(java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) |
int |
countAll()
Returns the number of asset category properties.
|
int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of asset category properties where companyId = ? and key = ?.
|
int |
countByCA_K(long categoryId,
java.lang.String key)
Returns the number of asset category properties where categoryId = ? and key = ?.
|
int |
countByCategoryId(long categoryId)
Returns the number of asset category properties where categoryId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of asset category properties where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
create(long categoryPropertyId)
Creates a new asset category property with the primary key.
|
void |
destroy() |
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByCA_K(long categoryId,
java.lang.String key)
Returns the asset category property where categoryId = ? and key = ? or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByCA_K(long categoryId,
java.lang.String key,
boolean retrieveFromCache)
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.portlet.asset.model.AssetCategoryProperty |
fetchByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where categoryId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where categoryId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByPrimaryKey(long categoryPropertyId)
Returns the asset category property with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetCategoryProperty |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset category property with the primary key or returns
null if it could not be found. |
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findAll()
Returns all the asset category properties.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findAll(int start,
int end)
Returns a range of all the asset category properties.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset category properties.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where companyId = ? and key = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty[] |
findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ? and key = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByC_K(long companyId,
java.lang.String key)
Returns all the asset category properties where companyId = ? and key = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end)
Returns a range of all the asset category properties where companyId = ? and key = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset category properties where companyId = ? and key = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByCA_K(long categoryId,
java.lang.String key)
Returns the asset category property where categoryId = ? and key = ? or throws a
NoSuchCategoryPropertyException if it could not be found. |
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where categoryId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where categoryId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty[] |
findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset category properties before and after the current asset category property in the ordered set where categoryId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCategoryId(long categoryId)
Returns all the asset category properties where categoryId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end)
Returns a range of all the asset category properties where categoryId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset category properties where categoryId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category property in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category property in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty[] |
findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset category properties before and after the current asset category property in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCompanyId(long companyId)
Returns all the asset category properties where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset category properties where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset category properties where companyId = ?.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByPrimaryKey(long categoryPropertyId)
Returns the asset category property with the primary key or throws a
NoSuchCategoryPropertyException if it could not be found. |
com.liferay.portlet.asset.model.AssetCategoryProperty |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset category property with the primary key or throws a
NoSuchModelException if it could not be found. |
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portlet.asset.model.AssetCategoryProperty |
getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetCategoryProperty |
getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetCategoryProperty |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.asset.model.AssetCategoryProperty |
remove(long categoryPropertyId)
Removes the asset category property with the primary key from the database.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
remove(java.io.Serializable primaryKey)
Removes the asset category property with the primary key from the database.
|
void |
removeAll()
Removes all the asset category properties from the database.
|
void |
removeByC_K(long companyId,
java.lang.String key)
Removes all the asset category properties where companyId = ? and key = ? from the database.
|
com.liferay.portlet.asset.model.AssetCategoryProperty |
removeByCA_K(long categoryId,
java.lang.String key)
Removes the asset category property where categoryId = ? and key = ? from the database.
|
void |
removeByCategoryId(long categoryId)
Removes all the asset category properties where categoryId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the asset category properties where companyId = ? from the database.
|
protected com.liferay.portlet.asset.model.AssetCategoryProperty |
removeImpl(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) |
protected com.liferay.portlet.asset.model.AssetCategoryProperty |
toUnwrappedModel(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) |
com.liferay.portlet.asset.model.AssetCategoryProperty |
updateImpl(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_CA_K
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CA_K
public AssetCategoryPropertyPersistenceImpl()
public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key of the current asset category propertycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetCategoryProperty getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
findByCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(long categoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCategoryId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCategoryId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCategoryId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCategoryId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByCategoryId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key of the current asset category propertycategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetCategoryProperty getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCategoryId(long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCategoryId(long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
countByCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
findByC_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(long companyId,
java.lang.String key,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByC_K_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_K_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByC_K_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_K_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
findByC_K_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - 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.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetCategoryProperty getByC_K_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
countByC_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecompanyId - the company IDkey - the keycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByCA_K(long categoryId,
java.lang.String key)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException if it could not be found.findByCA_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDkey - the keycom.liferay.portlet.asset.NoSuchCategoryPropertyException - if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(long categoryId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByCA_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDkey - the keynull if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(long categoryId,
java.lang.String key,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByCA_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDkey - the keyretrieveFromCache - whether to use the finder cachenull if a matching asset category property could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty removeByCA_K(long categoryId,
java.lang.String key)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
removeByCA_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDkey - the keycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.asset.NoSuchCategoryPropertyExceptionpublic int countByCA_K(long categoryId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
countByCA_K in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryId - the category IDkey - the keycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistenceassetCategoryProperty - the asset category propertypublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistenceassetCategoryProperties - the asset category propertiespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>public void clearCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>protected void cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
public com.liferay.portlet.asset.model.AssetCategoryProperty create(long categoryPropertyId)
create in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key for the new asset category propertypublic com.liferay.portlet.asset.model.AssetCategoryProperty remove(long categoryPropertyId)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key of the asset category propertycom.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>primaryKey - the primary key of the asset category propertycom.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetCategoryProperty removeImpl(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategoryProperty updateImpl(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetCategoryProperty toUnwrappedModel(com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty)
public com.liferay.portlet.asset.model.AssetCategoryProperty findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>primaryKey - the primary key of the asset category propertycom.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
throws com.liferay.portlet.asset.NoSuchCategoryPropertyException,
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key of the asset category propertycom.liferay.portlet.asset.NoSuchCategoryPropertyException - if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategoryProperty>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>primaryKey - the primary key of the asset category propertynull if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecategoryPropertyId - the primary key of the asset category propertynull if a asset category property with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencestart - the lower bound of the range of asset category propertiesend - the upper bound of the range of asset category properties (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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.portlet.asset.service.persistence.AssetCategoryPropertyPersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategoryProperty>public void afterPropertiesSet()
public void destroy()