com.liferay.portal.service.persistence
Class GroupFinderUtil

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

public class GroupFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
GroupFinderUtil()
           
 
Method Summary
static int countByC_N_D(long companyId, java.lang.String name, java.lang.String description, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
static int countByG_U(long groupId, long userId)
           
static java.util.List<Group> findByC_N_D(long companyId, java.lang.String name, java.lang.String description, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Group findByC_N(long companyId, java.lang.String name)
           
static java.util.List<Group> findByNoLayouts(long classNameId, boolean privateLayout, int start, int end)
           
static java.util.List<Group> findByNullFriendlyURL()
           
static java.util.List<Group> findBySystem(long companyId)
           
static GroupFinder getFinder()
           
 void setFinder(GroupFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupFinderUtil

public GroupFinderUtil()
Method Detail

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_N_D

public static int countByC_N_D(long companyId,
                               java.lang.String name,
                               java.lang.String description,
                               java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByNoLayouts

public static java.util.List<Group> findByNoLayouts(long classNameId,
                                                    boolean privateLayout,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByNullFriendlyURL

public static java.util.List<Group> findByNullFriendlyURL()
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySystem

public static java.util.List<Group> findBySystem(long companyId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_N

public static Group findByC_N(long companyId,
                              java.lang.String name)
                       throws NoSuchGroupException,
                              com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

findByC_N_D

public static java.util.List<Group> findByC_N_D(long companyId,
                                                java.lang.String name,
                                                java.lang.String description,
                                                java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                                int start,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static GroupFinder getFinder()

setFinder

public void setFinder(GroupFinder finder)