com.liferay.portal.service.persistence
Interface GroupFinder


@ProviderType
public interface GroupFinder

Author:
Brian Wing Shun Chan

Method Summary
 int countByC_C_PG_N_D(long companyId, long[] classNameIds, long parentGroupId, java.lang.String[] names, java.lang.String[] descriptions, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator)
           
 int countByG_U(long groupId, long userId, boolean inherit)
           
 int countByLayouts(long companyId, long parentGroupId, boolean site)
           
 java.util.List<Group> findByC_C_PG_N_D(long companyId, long[] classNameIds, long parentGroupId, java.lang.String[] names, java.lang.String[] descriptions, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 Group findByC_N(long companyId, java.lang.String name)
           
 java.util.List<java.lang.Long> findByC_P(long companyId, long parentGroupId, long previousGroupId, int size)
           
 java.util.List<Group> findByCompanyId(long companyId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, OrderByComparator obc)
           
 java.util.List<Group> findByLayouts(long companyId, long parentGroupId, boolean site, int start, int end)
           
 java.util.List<Group> findByLiveGroups()
           
 java.util.List<Group> findByNoLayouts(long classNameId, boolean privateLayout, int start, int end)
           
 java.util.List<Group> findByNullFriendlyURL()
           
 java.util.List<Group> findBySystem(long companyId)
           
 

Method Detail

countByLayouts

int countByLayouts(long companyId,
                   long parentGroupId,
                   boolean site)
                   throws SystemException
Throws:
SystemException

countByG_U

int countByG_U(long groupId,
               long userId,
               boolean inherit)
               throws SystemException
Throws:
SystemException

countByC_C_PG_N_D

int countByC_C_PG_N_D(long companyId,
                      long[] classNameIds,
                      long parentGroupId,
                      java.lang.String[] names,
                      java.lang.String[] descriptions,
                      java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                      boolean andOperator)
                      throws SystemException
Throws:
SystemException

findByLayouts

java.util.List<Group> findByLayouts(long companyId,
                                    long parentGroupId,
                                    boolean site,
                                    int start,
                                    int end)
                                    throws SystemException
Throws:
SystemException

findByLiveGroups

java.util.List<Group> findByLiveGroups()
                                       throws SystemException
Throws:
SystemException

findByNoLayouts

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

findByNullFriendlyURL

java.util.List<Group> findByNullFriendlyURL()
                                            throws SystemException
Throws:
SystemException

findBySystem

java.util.List<Group> findBySystem(long companyId)
                                   throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<Group> findByCompanyId(long companyId,
                                      java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                      int start,
                                      int end,
                                      OrderByComparator obc)
                                      throws SystemException
Throws:
SystemException

findByC_P

java.util.List<java.lang.Long> findByC_P(long companyId,
                                         long parentGroupId,
                                         long previousGroupId,
                                         int size)
                                         throws SystemException
Throws:
SystemException

findByC_N

Group findByC_N(long companyId,
                java.lang.String name)
                throws NoSuchGroupException,
                       SystemException
Throws:
NoSuchGroupException
SystemException

findByC_C_PG_N_D

java.util.List<Group> findByC_C_PG_N_D(long companyId,
                                       long[] classNameIds,
                                       long parentGroupId,
                                       java.lang.String[] names,
                                       java.lang.String[] descriptions,
                                       java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                       boolean andOperator,
                                       int start,
                                       int end,
                                       OrderByComparator obc)
                                       throws SystemException
Throws:
SystemException