001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.OrgGroupRole;
018
019
025 public interface OrgGroupRolePersistence extends BasePersistence<OrgGroupRole> {
026 public void cacheResult(com.liferay.portal.model.OrgGroupRole orgGroupRole);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.OrgGroupRole> orgGroupRoles);
030
031 public com.liferay.portal.model.OrgGroupRole create(
032 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK);
033
034 public com.liferay.portal.model.OrgGroupRole remove(
035 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
036 throws com.liferay.portal.NoSuchOrgGroupRoleException,
037 com.liferay.portal.kernel.exception.SystemException;
038
039 public com.liferay.portal.model.OrgGroupRole updateImpl(
040 com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
041 throws com.liferay.portal.kernel.exception.SystemException;
042
043 public com.liferay.portal.model.OrgGroupRole findByPrimaryKey(
044 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
045 throws com.liferay.portal.NoSuchOrgGroupRoleException,
046 com.liferay.portal.kernel.exception.SystemException;
047
048 public com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(
049 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
050 throws com.liferay.portal.kernel.exception.SystemException;
051
052 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
053 long groupId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
057 long groupId, int start, int end)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByGroupId(
061 long groupId, int start, int end,
062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
063 throws com.liferay.portal.kernel.exception.SystemException;
064
065 public com.liferay.portal.model.OrgGroupRole findByGroupId_First(
066 long groupId,
067 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
068 throws com.liferay.portal.NoSuchOrgGroupRoleException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 public com.liferay.portal.model.OrgGroupRole findByGroupId_Last(
072 long groupId,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.NoSuchOrgGroupRoleException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077 public com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(
078 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
079 long groupId,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.NoSuchOrgGroupRoleException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
085 long roleId) throws com.liferay.portal.kernel.exception.SystemException;
086
087 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
088 long roleId, int start, int end)
089 throws com.liferay.portal.kernel.exception.SystemException;
090
091 public java.util.List<com.liferay.portal.model.OrgGroupRole> findByRoleId(
092 long roleId, int start, int end,
093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portal.model.OrgGroupRole findByRoleId_First(
097 long roleId,
098 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099 throws com.liferay.portal.NoSuchOrgGroupRoleException,
100 com.liferay.portal.kernel.exception.SystemException;
101
102 public com.liferay.portal.model.OrgGroupRole findByRoleId_Last(
103 long roleId,
104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105 throws com.liferay.portal.NoSuchOrgGroupRoleException,
106 com.liferay.portal.kernel.exception.SystemException;
107
108 public com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(
109 com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
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 java.util.List<com.liferay.portal.model.OrgGroupRole> findAll()
116 throws com.liferay.portal.kernel.exception.SystemException;
117
118 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
119 int start, int end)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public java.util.List<com.liferay.portal.model.OrgGroupRole> findAll(
123 int start, int end,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public void removeByGroupId(long groupId)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public void removeByRoleId(long roleId)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public void removeAll()
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public int countByGroupId(long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public int countByRoleId(long roleId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public int countAll()
143 throws com.liferay.portal.kernel.exception.SystemException;
144 }