1
19
20 package com.liferay.portal.service.persistence;
21
22
28 public interface OrgGroupRolePersistence extends BasePersistence {
29 public void cacheResult(com.liferay.portal.model.OrgGroupRole orgGroupRole);
30
31 public void cacheResult(
32 java.util.List<com.liferay.portal.model.OrgGroupRole> orgGroupRoles);
33
34 public void clearCache();
35
36 public com.liferay.portal.model.OrgGroupRole create(
37 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK);
38
39 public com.liferay.portal.model.OrgGroupRole remove(
40 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
41 throws com.liferay.portal.NoSuchOrgGroupRoleException,
42 com.liferay.portal.SystemException;
43
44 public com.liferay.portal.model.OrgGroupRole remove(
45 com.liferay.portal.model.OrgGroupRole orgGroupRole)
46 throws com.liferay.portal.SystemException;
47
48
51 public com.liferay.portal.model.OrgGroupRole update(
52 com.liferay.portal.model.OrgGroupRole orgGroupRole)
53 throws com.liferay.portal.SystemException;
54
55
68 public com.liferay.portal.model.OrgGroupRole update(
69 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
70 throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.OrgGroupRole updateImpl(
73 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portal.model.OrgGroupRole findByPrimaryKey(
77 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
78 throws com.liferay.portal.NoSuchOrgGroupRoleException,
79 com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(
82 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
86 long groupId) throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
89 long groupId, int start, int end)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
93 long groupId, int start, int end,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portal.model.OrgGroupRole findByGroupId_First(
98 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.NoSuchOrgGroupRoleException,
100 com.liferay.portal.SystemException;
101
102 public com.liferay.portal.model.OrgGroupRole findByGroupId_Last(
103 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.NoSuchOrgGroupRoleException,
105 com.liferay.portal.SystemException;
106
107 public com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(
108 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
109 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.NoSuchOrgGroupRoleException,
111 com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
114 long roleId) throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
117 long roleId, int start, int end)
118 throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
121 long roleId, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portal.model.OrgGroupRole findByRoleId_First(
126 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.NoSuchOrgGroupRoleException,
128 com.liferay.portal.SystemException;
129
130 public com.liferay.portal.model.OrgGroupRole findByRoleId_Last(
131 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.NoSuchOrgGroupRoleException,
133 com.liferay.portal.SystemException;
134
135 public com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(
136 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
137 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.NoSuchOrgGroupRoleException,
139 com.liferay.portal.SystemException;
140
141 public java.util.List<Object> findWithDynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List<Object> findWithDynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end) throws com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll()
150 throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
153 int start, int end) throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
156 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException;
158
159 public void removeByGroupId(long groupId)
160 throws com.liferay.portal.SystemException;
161
162 public void removeByRoleId(long roleId)
163 throws com.liferay.portal.SystemException;
164
165 public void removeAll() throws com.liferay.portal.SystemException;
166
167 public int countByGroupId(long groupId)
168 throws com.liferay.portal.SystemException;
169
170 public int countByRoleId(long roleId)
171 throws com.liferay.portal.SystemException;
172
173 public int countAll() throws com.liferay.portal.SystemException;
174 }