com.liferay.portlet.asset.service.persistence
Class AssetCategoryPropertyUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyUtil

public class AssetCategoryPropertyUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
AssetCategoryPropertyPersistence, AssetCategoryPropertyPersistenceImpl
Generated:

Constructor Summary
AssetCategoryPropertyUtil()
           
 
Method Summary
static void cacheResult(AssetCategoryProperty assetCategoryProperty)
           
static void cacheResult(java.util.List<AssetCategoryProperty> assetCategoryProperties)
           
static void clearCache()
           
static int countAll()
           
static int countByC_K(long companyId, java.lang.String key)
           
static int countByCA_K(long categoryId, java.lang.String key)
           
static int countByCategoryId(long categoryId)
           
static int countByCompanyId(long companyId)
           
static AssetCategoryProperty create(long categoryPropertyId)
           
static AssetCategoryProperty fetchByCA_K(long categoryId, java.lang.String key)
           
static AssetCategoryProperty fetchByCA_K(long categoryId, java.lang.String key, boolean retrieveFromCache)
           
static AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
           
static java.util.List<AssetCategoryProperty> findAll()
           
static java.util.List<AssetCategoryProperty> findAll(int start, int end)
           
static java.util.List<AssetCategoryProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategoryProperty> findByC_K(long companyId, java.lang.String key)
           
static java.util.List<AssetCategoryProperty> findByC_K(long companyId, java.lang.String key, int start, int end)
           
static java.util.List<AssetCategoryProperty> findByC_K(long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByCA_K(long categoryId, java.lang.String key)
           
static AssetCategoryProperty findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId)
           
static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end)
           
static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId)
           
static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static AssetCategoryPropertyPersistence getPersistence()
           
static AssetCategoryProperty remove(AssetCategoryProperty assetCategoryProperty)
           
static AssetCategoryProperty remove(long categoryPropertyId)
           
static void removeAll()
           
static void removeByC_K(long companyId, java.lang.String key)
           
static void removeByCA_K(long categoryId, java.lang.String key)
           
static void removeByCategoryId(long categoryId)
           
static void removeByCompanyId(long companyId)
           
 void setPersistence(AssetCategoryPropertyPersistence persistence)
           
static AssetCategoryProperty update(AssetCategoryProperty assetCategoryProperty, boolean merge)
           
static AssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryPropertyUtil

public AssetCategoryPropertyUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static AssetCategoryProperty remove(AssetCategoryProperty assetCategoryProperty)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static AssetCategoryProperty update(AssetCategoryProperty assetCategoryProperty,
                                           boolean merge)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(AssetCategoryProperty assetCategoryProperty)

cacheResult

public static void cacheResult(java.util.List<AssetCategoryProperty> assetCategoryProperties)

create

public static AssetCategoryProperty create(long categoryPropertyId)

remove

public static AssetCategoryProperty remove(long categoryPropertyId)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

updateImpl

public static AssetCategoryProperty updateImpl(AssetCategoryProperty assetCategoryProperty,
                                               boolean merge)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static AssetCategoryProperty findByPrimaryKey(long categoryPropertyId)
                                              throws com.liferay.portal.kernel.exception.SystemException,
                                                     NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

fetchByPrimaryKey

public static AssetCategoryProperty fetchByPrimaryKey(long categoryPropertyId)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<AssetCategoryProperty> findByCompanyId(long companyId,
                                                                    int start,
                                                                    int end,
                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId_First

public static AssetCategoryProperty findByCompanyId_First(long companyId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.kernel.exception.SystemException,
                                                          NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCompanyId_Last

public static AssetCategoryProperty findByCompanyId_Last(long companyId,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.kernel.exception.SystemException,
                                                         NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCompanyId_PrevAndNext

public static AssetCategoryProperty[] findByCompanyId_PrevAndNext(long categoryPropertyId,
                                                                  long companyId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                                  NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCategoryId

public static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCategoryId

public static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId,
                                                                     int start,
                                                                     int end)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCategoryId

public static java.util.List<AssetCategoryProperty> findByCategoryId(long categoryId,
                                                                     int start,
                                                                     int end,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCategoryId_First

public static AssetCategoryProperty findByCategoryId_First(long categoryId,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.kernel.exception.SystemException,
                                                           NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCategoryId_Last

public static AssetCategoryProperty findByCategoryId_Last(long categoryId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.kernel.exception.SystemException,
                                                          NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCategoryId_PrevAndNext

public static AssetCategoryProperty[] findByCategoryId_PrevAndNext(long categoryPropertyId,
                                                                   long categoryId,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                                   NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByC_K

public static java.util.List<AssetCategoryProperty> findByC_K(long companyId,
                                                              java.lang.String key)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_K

public static java.util.List<AssetCategoryProperty> findByC_K(long companyId,
                                                              java.lang.String key,
                                                              int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_K

public static java.util.List<AssetCategoryProperty> findByC_K(long companyId,
                                                              java.lang.String key,
                                                              int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_K_First

public static AssetCategoryProperty findByC_K_First(long companyId,
                                                    java.lang.String key,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByC_K_Last

public static AssetCategoryProperty findByC_K_Last(long companyId,
                                                   java.lang.String key,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByC_K_PrevAndNext

public static AssetCategoryProperty[] findByC_K_PrevAndNext(long categoryPropertyId,
                                                            long companyId,
                                                            java.lang.String key,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.kernel.exception.SystemException,
                                                            NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

findByCA_K

public static AssetCategoryProperty findByCA_K(long categoryId,
                                               java.lang.String key)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

fetchByCA_K

public static AssetCategoryProperty fetchByCA_K(long categoryId,
                                                java.lang.String key)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByCA_K

public static AssetCategoryProperty fetchByCA_K(long categoryId,
                                                java.lang.String key,
                                                boolean retrieveFromCache)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<AssetCategoryProperty> findAll()
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<AssetCategoryProperty> findAll(int start,
                                                            int end)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<AssetCategoryProperty> findAll(int start,
                                                            int end,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByCategoryId

public static void removeByCategoryId(long categoryId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_K

public static void removeByC_K(long companyId,
                               java.lang.String key)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByCA_K

public static void removeByCA_K(long categoryId,
                                java.lang.String key)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchCategoryPropertyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryPropertyException

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCategoryId

public static int countByCategoryId(long categoryId)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_K

public static int countByC_K(long companyId,
                             java.lang.String key)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCA_K

public static int countByCA_K(long categoryId,
                              java.lang.String key)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getPersistence

public static AssetCategoryPropertyPersistence getPersistence()

setPersistence

public void setPersistence(AssetCategoryPropertyPersistence persistence)