public class ComplexCollectionInvocationHandler<T extends ComplexType<?>> extends AbstractCollectionInvocationHandler<T,ComplexCollection<T,?,?>>
| Modifier and Type | Field and Description | 
|---|---|
| protected static org.slf4j.Logger | LOGLogger. | 
| protected AbstractService<?> | service | 
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri| Constructor and Description | 
|---|
| ComplexCollectionInvocationHandler(AbstractService<?> service,
                                  Class<T> itemRef) | 
| ComplexCollectionInvocationHandler(AbstractService<?> service,
                                  Collection<T> items,
                                  Class<T> itemRef,
                                  URIBuilder uri) | 
| ComplexCollectionInvocationHandler(Class<T> itemRef,
                                  AbstractService<?> service,
                                  URIBuilder uri) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static URIBuilder | buildEntitySetURI(Class<?> ref,
                 AbstractService<?> service) | 
| protected static URIBuilder | buildEntitySetURI(String entitySetName,
                 AbstractService<?> service) | 
| protected <S extends EntityType<?>> | deleteEntity(EntityInvocationHandler handler,
            URI entitySetURI) | 
| boolean | equals(Object obj) | 
| org.apache.commons.lang3.tuple.Triple<List<T>,URI,List<ClientAnnotation>> | fetchPartial(URI uri,
            Class<T> typeRef) | 
| protected EdmEnabledODataClient | getClient() | 
| protected ComplexType<?> | getComplex(String name,
          ClientValue value,
          Class<?> ref,
          EntityInvocationHandler handler,
          URI baseURI,
          boolean collectionItem) | 
| protected Context | getContext() | 
| int | hashCode() | 
| Object | invoke(Object proxy,
      Method method,
      Object[] args) | 
| protected Object | invokeSelfMethod(Method method,
                Object[] args) | 
| protected boolean | isDeleted(EntityInvocationHandler handler) | 
| protected boolean | isSelfMethod(Method method) | 
| String | toString() | 
add, addAll, addRef, clear, clearQueryOptions, contains, containsAll, execute, executeAsync, expand, filter, filter, getAnnotation, getAnnotationTerms, getRequestURI, getTypeRef, getURI, hasNextPage, isEmpty, iterator, nextPage, orderBy, orderBy, refs, remove, removeAll, retainAll, select, setAnnotations, size, skip, toArray, toArray, topclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streamprotected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public ComplexCollectionInvocationHandler(AbstractService<?> service, Class<T> itemRef)
public ComplexCollectionInvocationHandler(Class<T> itemRef, AbstractService<?> service, URIBuilder uri)
public ComplexCollectionInvocationHandler(AbstractService<?> service, Collection<T> items, Class<T> itemRef, URIBuilder uri)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwablepublic org.apache.commons.lang3.tuple.Triple<List<T>,URI,List<ClientAnnotation>> fetchPartial(URI uri, Class<T> typeRef)
fetchPartial in class AbstractCollectionInvocationHandler<T extends ComplexType<?>,ComplexCollection<T extends ComplexType<?>,?,?>>protected EdmEnabledODataClient getClient()
protected Context getContext()
protected boolean isSelfMethod(Method method)
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwableprotected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem)
protected boolean isDeleted(EntityInvocationHandler handler)
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI)
protected static URIBuilder buildEntitySetURI(Class<?> ref, AbstractService<?> service)
protected static URIBuilder buildEntitySetURI(String entitySetName, AbstractService<?> service)
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.