001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.Team;
018
019
025 public interface TeamPersistence extends BasePersistence<Team> {
026 public void cacheResult(com.liferay.portal.model.Team team);
027
028 public void cacheResult(java.util.List<com.liferay.portal.model.Team> teams);
029
030 public com.liferay.portal.model.Team create(long teamId);
031
032 public com.liferay.portal.model.Team remove(long teamId)
033 throws com.liferay.portal.NoSuchTeamException,
034 com.liferay.portal.kernel.exception.SystemException;
035
036 public com.liferay.portal.model.Team updateImpl(
037 com.liferay.portal.model.Team team, boolean merge)
038 throws com.liferay.portal.kernel.exception.SystemException;
039
040 public com.liferay.portal.model.Team findByPrimaryKey(long teamId)
041 throws com.liferay.portal.NoSuchTeamException,
042 com.liferay.portal.kernel.exception.SystemException;
043
044 public com.liferay.portal.model.Team fetchByPrimaryKey(long teamId)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public java.util.List<com.liferay.portal.model.Team> findByGroupId(
048 long groupId)
049 throws com.liferay.portal.kernel.exception.SystemException;
050
051 public java.util.List<com.liferay.portal.model.Team> findByGroupId(
052 long groupId, int start, int end)
053 throws com.liferay.portal.kernel.exception.SystemException;
054
055 public java.util.List<com.liferay.portal.model.Team> findByGroupId(
056 long groupId, int start, int end,
057 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public com.liferay.portal.model.Team findByGroupId_First(long groupId,
061 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
062 throws com.liferay.portal.NoSuchTeamException,
063 com.liferay.portal.kernel.exception.SystemException;
064
065 public com.liferay.portal.model.Team findByGroupId_Last(long groupId,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.NoSuchTeamException,
068 com.liferay.portal.kernel.exception.SystemException;
069
070 public com.liferay.portal.model.Team[] findByGroupId_PrevAndNext(
071 long teamId, long groupId,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.NoSuchTeamException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId(
077 long groupId)
078 throws com.liferay.portal.kernel.exception.SystemException;
079
080 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId(
081 long groupId, int start, int end)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId(
085 long groupId, int start, int end,
086 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
087 throws com.liferay.portal.kernel.exception.SystemException;
088
089 public com.liferay.portal.model.Team findByG_N(long groupId,
090 java.lang.String name)
091 throws com.liferay.portal.NoSuchTeamException,
092 com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portal.model.Team fetchByG_N(long groupId,
095 java.lang.String name)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portal.model.Team fetchByG_N(long groupId,
099 java.lang.String name, boolean retrieveFromCache)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portal.model.Team> findAll()
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portal.model.Team> findAll(int start,
106 int end) throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portal.model.Team> findAll(int start,
109 int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public void removeByGroupId(long groupId)
114 throws com.liferay.portal.kernel.exception.SystemException;
115
116 public void removeByG_N(long groupId, java.lang.String name)
117 throws com.liferay.portal.NoSuchTeamException,
118 com.liferay.portal.kernel.exception.SystemException;
119
120 public void removeAll()
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public int countByGroupId(long groupId)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public int filterCountByGroupId(long groupId)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public int countByG_N(long groupId, java.lang.String name)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public int filterCountByG_N(long groupId, java.lang.String name)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public int countAll()
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portal.model.User> getUsers(long pk)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public java.util.List<com.liferay.portal.model.User> getUsers(long pk,
142 int start, int end)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public java.util.List<com.liferay.portal.model.User> getUsers(long pk,
146 int start, int end,
147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public int getUsersSize(long pk)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public boolean containsUser(long pk, long userPK)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public boolean containsUsers(long pk)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public void addUser(long pk, long userPK)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public void addUser(long pk, com.liferay.portal.model.User user)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public void addUsers(long pk, long[] userPKs)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public void addUsers(long pk,
169 java.util.List<com.liferay.portal.model.User> users)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public void clearUsers(long pk)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public void removeUser(long pk, long userPK)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 public void removeUser(long pk, com.liferay.portal.model.User user)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181 public void removeUsers(long pk, long[] userPKs)
182 throws com.liferay.portal.kernel.exception.SystemException;
183
184 public void removeUsers(long pk,
185 java.util.List<com.liferay.portal.model.User> users)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public void setUsers(long pk, long[] userPKs)
189 throws com.liferay.portal.kernel.exception.SystemException;
190
191 public void setUsers(long pk,
192 java.util.List<com.liferay.portal.model.User> users)
193 throws com.liferay.portal.kernel.exception.SystemException;
194 }