public interface AssociativeService<L,R>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
allocate(Collection<L> leftIds,
Collection<R> rightIds) |
default int |
allocate(L leftId,
R rightId) |
long |
count(Collection<L> leftIds,
Collection<R> rightIds) |
int |
deallocate(Collection<L> leftIds,
Collection<R> rightIds) |
default void |
deallocate(L leftId,
R rightId) |
int |
deleteByLeftId(L leftId) |
int |
deleteByRightId(R rightId) |
boolean |
exists(Collection<L> leftIds,
Collection<R> rightIds) |
default boolean |
exists(Collection<L> leftIds,
R rightId) |
default boolean |
exists(L leftId,
Collection<R> rightIds) |
default boolean |
exists(L leftId,
R rightId) |
List<R> |
getByLeftId(L leftId) |
List<L> |
getByRightId(R rightId) |
int |
reallocateForLeft(L leftId,
Collection<R> rightIds) |
int |
reallocateForRight(R rightId,
Collection<L> leftIds) |
int deleteByLeftId(L leftId)
int deleteByRightId(R rightId)
boolean exists(Collection<L> leftIds, Collection<R> rightIds)
default boolean exists(L leftId, Collection<R> rightIds)
default boolean exists(Collection<L> leftIds, R rightId)
long count(Collection<L> leftIds, Collection<R> rightIds)
int allocate(Collection<L> leftIds, Collection<R> rightIds)
int deallocate(Collection<L> leftIds, Collection<R> rightIds)
int reallocateForLeft(L leftId, Collection<R> rightIds)
int reallocateForRight(R rightId, Collection<L> leftIds)
Copyright © 2021 DOYToWin. All rights reserved.