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