com.liferay.portal.service.persistence
Class ResourceFinderUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ResourceFinderUtil

public class ResourceFinderUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan

Constructor Summary
ResourceFinderUtil()
           
 
Method Summary
static java.util.List<Resource> findByC_P(long companyId, java.lang.String primKey)
           
static java.util.List<Resource> findByContainerResource(long codeId, long classNameId)
           
static java.util.List<Resource> findByN_S(java.lang.String name, int scope)
           
static java.util.List<Resource> findByName(java.lang.String name)
           
static java.util.List<Resource> findByNoActions(long codeId, java.lang.String actionId)
           
static ResourceFinder getFinder()
           
 void setFinder(ResourceFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFinderUtil

public ResourceFinderUtil()
Method Detail

findByContainerResource

public static java.util.List<Resource> findByContainerResource(long codeId,
                                                               long classNameId)
                                                        throws SystemException
Throws:
SystemException

findByName

public static java.util.List<Resource> findByName(java.lang.String name)
                                           throws SystemException
Throws:
SystemException

findByNoActions

public static java.util.List<Resource> findByNoActions(long codeId,
                                                       java.lang.String actionId)
                                                throws SystemException
Throws:
SystemException

findByC_P

public static java.util.List<Resource> findByC_P(long companyId,
                                                 java.lang.String primKey)
                                          throws SystemException
Throws:
SystemException

findByN_S

public static java.util.List<Resource> findByN_S(java.lang.String name,
                                                 int scope)
                                          throws SystemException
Throws:
SystemException

getFinder

public static ResourceFinder getFinder()

setFinder

public void setFinder(ResourceFinder finder)