1
22
23 package com.liferay.portal.service;
24
25
26
50 public interface UserGroupRoleLocalService {
51 public com.liferay.portal.model.UserGroupRole addUserGroupRole(
52 com.liferay.portal.model.UserGroupRole userGroupRole)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.UserGroupRole createUserGroupRole(
56 com.liferay.portal.service.persistence.UserGroupRolePK userGroupRolePK);
57
58 public void deleteUserGroupRole(
59 com.liferay.portal.service.persistence.UserGroupRolePK userGroupRolePK)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portal.PortalException;
62
63 public void deleteUserGroupRole(
64 com.liferay.portal.model.UserGroupRole userGroupRole)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List<Object> dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
69 throws com.liferay.portal.SystemException;
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException;
74
75 public com.liferay.portal.model.UserGroupRole getUserGroupRole(
76 com.liferay.portal.service.persistence.UserGroupRolePK userGroupRolePK)
77 throws com.liferay.portal.SystemException,
78 com.liferay.portal.PortalException;
79
80 public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(
81 int start, int end) throws com.liferay.portal.SystemException;
82
83 public int getUserGroupRolesCount()
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portal.model.UserGroupRole updateUserGroupRole(
87 com.liferay.portal.model.UserGroupRole userGroupRole)
88 throws com.liferay.portal.SystemException;
89
90 public void addUserGroupRoles(long userId, long groupId, long[] roleIds)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException;
93
94 public void addUserGroupRoles(long[] userIds, long groupId, long roleId)
95 throws com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException;
97
98 public void deleteUserGroupRoles(long userId, long[] groupIds)
99 throws com.liferay.portal.SystemException;
100
101 public void deleteUserGroupRoles(long[] userIds, long groupId)
102 throws com.liferay.portal.SystemException;
103
104 public void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
105 throws com.liferay.portal.SystemException;
106
107 public void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
108 throws com.liferay.portal.SystemException;
109
110 public void deleteUserGroupRolesByGroupId(long groupId)
111 throws com.liferay.portal.SystemException;
112
113 public void deleteUserGroupRolesByRoleId(long roleId)
114 throws com.liferay.portal.SystemException;
115
116 public void deleteUserGroupRolesByUserId(long userId)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(
120 long userId, long groupId) throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRolesByGroupAndRole(
123 long groupId, long roleId) throws com.liferay.portal.SystemException;
124
125 public boolean hasUserGroupRole(long userId, long groupId, long roleId)
126 throws com.liferay.portal.SystemException;
127
128 public boolean hasUserGroupRole(long userId, long groupId,
129 java.lang.String roleName)
130 throws com.liferay.portal.PortalException,
131 com.liferay.portal.SystemException;
132 }