public class EntityCollectionInvocationHandler<T extends EntityType<?>> extends AbstractEntityCollectionInvocationHandler<T,EntityCollection<T,?,?>>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
collItemRef, targetEntitySetURI
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri
Constructor and Description |
---|
EntityCollectionInvocationHandler(AbstractService<?> service,
Class<? extends EntityCollection<T,?,?>> collItemRef) |
EntityCollectionInvocationHandler(AbstractService<?> service,
Collection<T> items,
Class<? extends EntityCollection<T,?,?>> collItemRef,
URI targetEntitySetURI,
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) |
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() |
fetchPartial
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, top
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public EntityCollectionInvocationHandler(AbstractService<?> service, Class<? extends EntityCollection<T,?,?>> collItemRef)
public EntityCollectionInvocationHandler(AbstractService<?> service, Collection<T> items, Class<? extends EntityCollection<T,?,?>> collItemRef, URI targetEntitySetURI, URIBuilder uri)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
protected EdmEnabledODataClient getClient()
protected Context getContext()
protected boolean isSelfMethod(Method method)
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwable
protected 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–2018 The Apache Software Foundation. All rights reserved.