com.liferay.portal.service.persistence
Class ResourceFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portal.service.persistence.ResourceFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portal.service.persistence.ResourceFinder

public class ResourceFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portal.service.persistence.ResourceFinder

View Source

Author:
Brian Wing Shun Chan, Alexander Chow

Field Summary
static java.lang.String FIND_BY_C_P
           
static java.lang.String FIND_BY_NAME
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
ResourceFinderImpl()
           
 
Method Summary
 java.util.List<com.liferay.portal.model.Resource> findByC_P(long companyId, java.lang.String primKey)
           
 java.util.List<com.liferay.portal.model.Resource> findByName(java.lang.String name)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_BY_NAME

public static java.lang.String FIND_BY_NAME

FIND_BY_C_P

public static java.lang.String FIND_BY_C_P
Constructor Detail

ResourceFinderImpl

public ResourceFinderImpl()
Method Detail

findByName

public java.util.List<com.liferay.portal.model.Resource> findByName(java.lang.String name)
                                                             throws com.liferay.portal.SystemException
Specified by:
findByName in interface com.liferay.portal.service.persistence.ResourceFinder
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List<com.liferay.portal.model.Resource> findByC_P(long companyId,
                                                                   java.lang.String primKey)
                                                            throws com.liferay.portal.SystemException
Specified by:
findByC_P in interface com.liferay.portal.service.persistence.ResourceFinder
Throws:
com.liferay.portal.SystemException