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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>
      extended by com.liferay.portlet.asset.service.persistence.AssetCategoryFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>, com.liferay.portlet.asset.service.persistence.AssetCategoryFinder

public class AssetCategoryFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>
implements com.liferay.portlet.asset.service.persistence.AssetCategoryFinder

View Source

Author:
Brian Wing Shun Chan, Bruno Farache, Jorge Ferrer

Field Summary
static java.lang.String COUNT_BY_G_C_N
           
static java.lang.String COUNT_BY_G_N_P
           
static java.lang.String FIND_BY_C_C
           
static java.lang.String FIND_BY_ENTRY_ID
           
static java.lang.String FIND_BY_G_N
           
static java.lang.String FIND_BY_G_N_P
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT
 
Constructor Summary
AssetCategoryFinderImpl()
           
 
Method Summary
 int countByG_C_N(long groupId, long classNameId, java.lang.String name)
           
 int countByG_N_P(long groupId, java.lang.String name, java.lang.String[] categoryProperties)
           
 java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByC_C(long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByEntryId(long entryId)
           
 java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(long groupId, java.lang.String name, java.lang.String[] categoryProperties)
           
 java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end)
           
 com.liferay.portlet.asset.model.AssetCategory findByG_N(long groupId, java.lang.String name)
           
protected  java.lang.String getJoin(java.lang.String[] categoryProperties)
           
protected  void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos, java.lang.String[] categoryProperties)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, closeSession, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, setDataSource, setSessionFactory, unregisterListener, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_G_C_N

public static java.lang.String COUNT_BY_G_C_N

COUNT_BY_G_N_P

public static java.lang.String COUNT_BY_G_N_P

FIND_BY_ENTRY_ID

public static java.lang.String FIND_BY_ENTRY_ID

FIND_BY_G_N

public static java.lang.String FIND_BY_G_N

FIND_BY_C_C

public static java.lang.String FIND_BY_C_C

FIND_BY_G_N_P

public static java.lang.String FIND_BY_G_N_P
Constructor Detail

AssetCategoryFinderImpl

public AssetCategoryFinderImpl()
Method Detail

countByG_C_N

public int countByG_C_N(long groupId,
                        long classNameId,
                        java.lang.String name)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByG_C_N in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N_P

public int countByG_N_P(long groupId,
                        java.lang.String name,
                        java.lang.String[] categoryProperties)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByG_N_P in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByEntryId

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByEntryId(long entryId)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByEntryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_N

public com.liferay.portlet.asset.model.AssetCategory findByG_N(long groupId,
                                                               java.lang.String name)
                                                        throws com.liferay.portlet.asset.NoSuchCategoryException,
                                                               com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_N in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portlet.asset.NoSuchCategoryException
com.liferay.portal.kernel.exception.SystemException

findByC_C

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByC_C(long classNameId,
                                                                               long classPK)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByC_C in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_N_P

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(long groupId,
                                                                                 java.lang.String name,
                                                                                 java.lang.String[] categoryProperties)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_N_P in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_N_P

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(long groupId,
                                                                                 java.lang.String name,
                                                                                 java.lang.String[] categoryProperties,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_N_P in interface com.liferay.portlet.asset.service.persistence.AssetCategoryFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

getJoin

protected java.lang.String getJoin(java.lang.String[] categoryProperties)

setJoin

protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
                       java.lang.String[] categoryProperties)