Package org.apache.cayenne.di
Interface ListBuilder<T>
- Type Parameters:
T
- A type of list values.
public interface ListBuilder<T>
A binding builder for list configurations.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionaddAll
(Collection<T> values) addAllAfter
(Collection<T> values, Class<? extends T> afterType) void
insertAllBefore
(Collection<T> values, Class<? extends T> afterType) insertBefore
(Class<? extends T> interfaceType, Class<? extends T> beforeType) insertBefore
(T value, Class<? extends T> beforeType) void
-
Method Details
-
add
- Throws:
DIRuntimeException
-
add
- Throws:
DIRuntimeException
-
addAll
- Throws:
DIRuntimeException
-
addAfter
ListBuilder<T> addAfter(Class<? extends T> interfaceType, Class<? extends T> afterType) throws DIRuntimeException - Throws:
DIRuntimeException
- Since:
- 4.0
-
addAfter
- Throws:
DIRuntimeException
- Since:
- 4.0
-
addAllAfter
ListBuilder<T> addAllAfter(Collection<T> values, Class<? extends T> afterType) throws DIRuntimeException - Throws:
DIRuntimeException
- Since:
- 4.0
-
insertBefore
ListBuilder<T> insertBefore(Class<? extends T> interfaceType, Class<? extends T> beforeType) throws DIRuntimeException - Throws:
DIRuntimeException
- Since:
- 4.0
-
insertBefore
- Throws:
DIRuntimeException
- Since:
- 4.0
-
insertAllBefore
ListBuilder<T> insertAllBefore(Collection<T> values, Class<? extends T> afterType) throws DIRuntimeException - Throws:
DIRuntimeException
- Since:
- 4.0
-
in
-
withoutScope
void withoutScope()- Since:
- 4.1
-