1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface RoleFinder {
32 public int countByR_U(long roleId, long userId)
33 throws com.liferay.portal.SystemException;
34
35 public int countByC_N_D_T(long companyId, java.lang.String name,
36 java.lang.String description, java.lang.Integer type,
37 java.util.LinkedHashMap params)
38 throws com.liferay.portal.SystemException;
39
40 public java.util.List findByUserGroupRole(long userId, long groupId)
41 throws com.liferay.portal.SystemException;
42
43 public com.liferay.portal.model.Role findByC_N(long companyId,
44 java.lang.String name)
45 throws com.liferay.portal.SystemException,
46 com.liferay.portal.NoSuchRoleException;
47
48 public java.util.List findByU_G(long userId, long groupId)
49 throws com.liferay.portal.SystemException;
50
51 public java.util.List findByU_G(long userId, long[] groupIds)
52 throws com.liferay.portal.SystemException;
53
54 public java.util.List findByU_G(long userId, java.util.List groups)
55 throws com.liferay.portal.SystemException;
56
57 public java.util.List findByC_N_D_T(long companyId, java.lang.String name,
58 java.lang.String description, java.lang.Integer type,
59 java.util.LinkedHashMap params, int begin, int end,
60 com.liferay.portal.kernel.util.OrderByComparator obc)
61 throws com.liferay.portal.SystemException;
62
63 public java.util.Map findByC_N_S_P(long companyId, java.lang.String name,
64 int scope, java.lang.String primKey)
65 throws com.liferay.portal.SystemException;
66 }