public class TemplateAssociativeService<L,R> extends Object implements AssociativeService<L,R>
| 构造器和说明 |
|---|
TemplateAssociativeService(String table,
String left,
String right) |
TemplateAssociativeService(String table,
String left,
String right,
String createUserColumn) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
allocate(Collection<L> leftIds,
Collection<R> rightIds) |
long |
count(Collection<L> leftIds,
Collection<R> rightIds) |
int |
deallocate(Collection<L> leftIds,
Collection<R> rightIds) |
int |
deleteByLeftId(L leftId) |
int |
deleteByRightId(R rightId) |
boolean |
exists(Collection<L> leftIds,
Collection<R> rightIds) |
List<R> |
getByLeftId(L leftId) |
List<L> |
getByRightId(R rightId) |
int |
reallocateForLeft(L leftId,
Collection<R> rightIds) |
int |
reallocateForRight(R rightId,
Collection<L> leftIds) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallocate, deallocate, exists, exists, existspublic TemplateAssociativeService(String table, String left, String right)
public boolean exists(Collection<L> leftIds, Collection<R> rightIds)
exists 在接口中 AssociativeService<L,R>public long count(Collection<L> leftIds, Collection<R> rightIds)
count 在接口中 AssociativeService<L,R>public List<R> getByLeftId(L leftId)
getByLeftId 在接口中 AssociativeService<L,R>public int deleteByLeftId(L leftId)
deleteByLeftId 在接口中 AssociativeService<L,R>public List<L> getByRightId(R rightId)
getByRightId 在接口中 AssociativeService<L,R>public int deleteByRightId(R rightId)
deleteByRightId 在接口中 AssociativeService<L,R>public int deallocate(Collection<L> leftIds, Collection<R> rightIds)
deallocate 在接口中 AssociativeService<L,R>@Transactional public int reallocateForLeft(L leftId, Collection<R> rightIds)
reallocateForLeft 在接口中 AssociativeService<L,R>@Transactional public int reallocateForRight(R rightId, Collection<L> leftIds)
reallocateForRight 在接口中 AssociativeService<L,R>public int allocate(Collection<L> leftIds, Collection<R> rightIds)
allocate 在接口中 AssociativeService<L,R>Copyright © 2021 DOYToWin. All rights reserved.