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