1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface OrgGroupRolePersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.OrgGroupRole orgGroupRole);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.OrgGroupRole> orgGroupRoles);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.OrgGroupRole create(
48 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK);
49
50 public com.liferay.portal.model.OrgGroupRole remove(
51 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
52 throws com.liferay.portal.NoSuchOrgGroupRoleException,
53 com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.OrgGroupRole remove(
56 com.liferay.portal.model.OrgGroupRole orgGroupRole)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portal.model.OrgGroupRole update(
63 com.liferay.portal.model.OrgGroupRole orgGroupRole)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portal.model.OrgGroupRole update(
79 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
80 throws com.liferay.portal.SystemException;
81
82 public com.liferay.portal.model.OrgGroupRole updateImpl(
83 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portal.model.OrgGroupRole findByPrimaryKey(
87 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
88 throws com.liferay.portal.NoSuchOrgGroupRoleException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(
92 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
96 long groupId) throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
99 long groupId, int start, int end)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
103 long groupId, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portal.model.OrgGroupRole findByGroupId_First(
108 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.NoSuchOrgGroupRoleException,
110 com.liferay.portal.SystemException;
111
112 public com.liferay.portal.model.OrgGroupRole findByGroupId_Last(
113 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.NoSuchOrgGroupRoleException,
115 com.liferay.portal.SystemException;
116
117 public com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(
118 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
119 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.NoSuchOrgGroupRoleException,
121 com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
124 long roleId) throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
127 long roleId, int start, int end)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
131 long roleId, int start, int end,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portal.model.OrgGroupRole findByRoleId_First(
136 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.NoSuchOrgGroupRoleException,
138 com.liferay.portal.SystemException;
139
140 public com.liferay.portal.model.OrgGroupRole findByRoleId_Last(
141 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.NoSuchOrgGroupRoleException,
143 com.liferay.portal.SystemException;
144
145 public com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(
146 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
147 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.NoSuchOrgGroupRoleException,
149 com.liferay.portal.SystemException;
150
151 public java.util.List<Object> findWithDynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.SystemException;
154
155 public java.util.List<Object> findWithDynamicQuery(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
157 int end) throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll()
160 throws com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
163 int start, int end) throws com.liferay.portal.SystemException;
164
165 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
166 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException;
168
169 public void removeByGroupId(long groupId)
170 throws com.liferay.portal.SystemException;
171
172 public void removeByRoleId(long roleId)
173 throws com.liferay.portal.SystemException;
174
175 public void removeAll() throws com.liferay.portal.SystemException;
176
177 public int countByGroupId(long groupId)
178 throws com.liferay.portal.SystemException;
179
180 public int countByRoleId(long roleId)
181 throws com.liferay.portal.SystemException;
182
183 public int countAll() throws com.liferay.portal.SystemException;
184 }