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

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

public class AssetTagStatsUtil
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:
AssetTagStatsPersistence, AssetTagStatsPersistenceImpl
Generated:

Constructor Summary
AssetTagStatsUtil()
           
 
Method Summary
static void cacheResult(AssetTagStats assetTagStats)
           
static void cacheResult(java.util.List<AssetTagStats> assetTagStatses)
           
static void clearCache()
           
static int countAll()
           
static int countByClassNameId(long classNameId)
           
static int countByT_C(long tagId, long classNameId)
           
static int countByTagId(long tagId)
           
static AssetTagStats create(long tagStatsId)
           
static AssetTagStats fetchByPrimaryKey(long tagStatsId)
           
static AssetTagStats fetchByT_C(long tagId, long classNameId)
           
static AssetTagStats fetchByT_C(long tagId, long classNameId, boolean retrieveFromCache)
           
static java.util.List<AssetTagStats> findAll()
           
static java.util.List<AssetTagStats> findAll(int start, int end)
           
static java.util.List<AssetTagStats> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats findByClassNameId_First(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats findByClassNameId_Last(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetTagStats> findByClassNameId(long classNameId)
           
static java.util.List<AssetTagStats> findByClassNameId(long classNameId, int start, int end)
           
static java.util.List<AssetTagStats> findByClassNameId(long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats findByPrimaryKey(long tagStatsId)
           
static AssetTagStats findByT_C(long tagId, long classNameId)
           
static AssetTagStats findByTagId_First(long tagId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats findByTagId_Last(long tagId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId, long tagId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetTagStats> findByTagId(long tagId)
           
static java.util.List<AssetTagStats> findByTagId(long tagId, int start, int end)
           
static java.util.List<AssetTagStats> findByTagId(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
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 AssetTagStatsPersistence getPersistence()
           
static AssetTagStats remove(AssetTagStats assetTagStats)
           
static AssetTagStats remove(long tagStatsId)
           
static void removeAll()
           
static void removeByClassNameId(long classNameId)
           
static void removeByT_C(long tagId, long classNameId)
           
static void removeByTagId(long tagId)
           
 void setPersistence(AssetTagStatsPersistence persistence)
           
static AssetTagStats update(AssetTagStats assetTagStats, boolean merge)
           
static AssetTagStats updateImpl(AssetTagStats assetTagStats, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagStatsUtil

public AssetTagStatsUtil()
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 AssetTagStats remove(AssetTagStats assetTagStats)
                            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 AssetTagStats update(AssetTagStats assetTagStats,
                                   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(AssetTagStats assetTagStats)

cacheResult

public static void cacheResult(java.util.List<AssetTagStats> assetTagStatses)

create

public static AssetTagStats create(long tagStatsId)

remove

public static AssetTagStats remove(long tagStatsId)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

updateImpl

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

findByPrimaryKey

public static AssetTagStats findByPrimaryKey(long tagStatsId)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

fetchByPrimaryKey

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

findByTagId

public static java.util.List<AssetTagStats> findByTagId(long tagId)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByTagId

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

findByTagId

public static java.util.List<AssetTagStats> findByTagId(long tagId,
                                                        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

findByTagId_First

public static AssetTagStats findByTagId_First(long tagId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByTagId_Last

public static AssetTagStats findByTagId_Last(long tagId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByTagId_PrevAndNext

public static AssetTagStats[] findByTagId_PrevAndNext(long tagStatsId,
                                                      long tagId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException,
                                                      NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByClassNameId

public static java.util.List<AssetTagStats> findByClassNameId(long classNameId)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByClassNameId

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

findByClassNameId

public static java.util.List<AssetTagStats> findByClassNameId(long classNameId,
                                                              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

findByClassNameId_First

public static AssetTagStats findByClassNameId_First(long classNameId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByClassNameId_Last

public static AssetTagStats findByClassNameId_Last(long classNameId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByClassNameId_PrevAndNext

public static AssetTagStats[] findByClassNameId_PrevAndNext(long tagStatsId,
                                                            long classNameId,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.kernel.exception.SystemException,
                                                            NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

findByT_C

public static AssetTagStats findByT_C(long tagId,
                                      long classNameId)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

fetchByT_C

public static AssetTagStats fetchByT_C(long tagId,
                                       long classNameId)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByT_C

public static AssetTagStats fetchByT_C(long tagId,
                                       long classNameId,
                                       boolean retrieveFromCache)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

public static java.util.List<AssetTagStats> 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<AssetTagStats> 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

removeByTagId

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

removeByClassNameId

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

removeByT_C

public static void removeByT_C(long tagId,
                               long classNameId)
                        throws com.liferay.portal.kernel.exception.SystemException,
                               NoSuchTagStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagStatsException

removeAll

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

countByTagId

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

countByClassNameId

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

countByT_C

public static int countByT_C(long tagId,
                             long classNameId)
                      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 AssetTagStatsPersistence getPersistence()

setPersistence

public void setPersistence(AssetTagStatsPersistence persistence)