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

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

public class AssetTagFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetTag>
implements com.liferay.portlet.asset.service.persistence.AssetTagFinder

View Source

Author:
Brian Wing Shun Chan, Bruno Farache

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_C_N
           
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
AssetTagFinderImpl()
           
 
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[] tagProperties)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByC_C(long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByEntryId(long entryId)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(long groupId, long classNameId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(long groupId, long classNameId, java.lang.String name, int start, int end)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(long groupId, java.lang.String name, java.lang.String[] tagProperties)
           
 java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end)
           
 com.liferay.portlet.asset.model.AssetTag findByG_N(long groupId, java.lang.String name)
           
protected  java.lang.String getJoin(java.lang.String[] tagProperties)
           
protected  void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos, java.lang.String[] tagProperties)
           
 
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_C_N

public static java.lang.String FIND_BY_G_C_N

FIND_BY_G_N_P

public static java.lang.String FIND_BY_G_N_P
Constructor Detail

AssetTagFinderImpl

public AssetTagFinderImpl()
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.AssetTagFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N_P

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

findByEntryId

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

findByG_N

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

findByC_C

public java.util.List<com.liferay.portlet.asset.model.AssetTag> 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.AssetTagFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_N

public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(long groupId,
                                                                            long classNameId,
                                                                            java.lang.String name)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_C_N in interface com.liferay.portlet.asset.service.persistence.AssetTagFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_N

public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(long groupId,
                                                                            long classNameId,
                                                                            java.lang.String name,
                                                                            int start,
                                                                            int end)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_C_N in interface com.liferay.portlet.asset.service.persistence.AssetTagFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_N_P

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

findByG_N_P

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

getJoin

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

setJoin

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