1
22
23 package com.liferay.portal.service.persistence;
24
25 import com.liferay.portal.model.OrgGroupRole;
26
27
40 public interface OrgGroupRolePersistence extends BasePersistence<OrgGroupRole> {
41 public void cacheResult(com.liferay.portal.model.OrgGroupRole orgGroupRole);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portal.model.OrgGroupRole> orgGroupRoles);
45
46 public com.liferay.portal.model.OrgGroupRole create(
47 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK);
48
49 public com.liferay.portal.model.OrgGroupRole remove(
50 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
51 throws com.liferay.portal.NoSuchOrgGroupRoleException,
52 com.liferay.portal.SystemException;
53
54
57 public com.liferay.portal.model.OrgGroupRole update(
58 com.liferay.portal.model.OrgGroupRole orgGroupRole)
59 throws com.liferay.portal.SystemException;
60
61 public com.liferay.portal.model.OrgGroupRole updateImpl(
62 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
63 throws com.liferay.portal.SystemException;
64
65 public com.liferay.portal.model.OrgGroupRole findByPrimaryKey(
66 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
67 throws com.liferay.portal.NoSuchOrgGroupRoleException,
68 com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(
71 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
75 long groupId) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
78 long groupId, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
82 long groupId, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portal.model.OrgGroupRole findByGroupId_First(
87 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.NoSuchOrgGroupRoleException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.OrgGroupRole findByGroupId_Last(
92 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.NoSuchOrgGroupRoleException,
94 com.liferay.portal.SystemException;
95
96 public com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(
97 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
98 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.NoSuchOrgGroupRoleException,
100 com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
103 long roleId) throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
106 long roleId, int start, int end)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
110 long roleId, int start, int end,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.OrgGroupRole findByRoleId_First(
115 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.NoSuchOrgGroupRoleException,
117 com.liferay.portal.SystemException;
118
119 public com.liferay.portal.model.OrgGroupRole findByRoleId_Last(
120 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.NoSuchOrgGroupRoleException,
122 com.liferay.portal.SystemException;
123
124 public com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(
125 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
126 long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.NoSuchOrgGroupRoleException,
128 com.liferay.portal.SystemException;
129
130 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll()
131 throws com.liferay.portal.SystemException;
132
133 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
134 int start, int end) throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
137 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException;
139
140 public void removeByGroupId(long groupId)
141 throws com.liferay.portal.SystemException;
142
143 public void removeByRoleId(long roleId)
144 throws com.liferay.portal.SystemException;
145
146 public void removeAll() throws com.liferay.portal.SystemException;
147
148 public int countByGroupId(long groupId)
149 throws com.liferay.portal.SystemException;
150
151 public int countByRoleId(long roleId)
152 throws com.liferay.portal.SystemException;
153
154 public int countAll() throws com.liferay.portal.SystemException;
155 }