public abstract class AbstractEntityCollectionInvocationHandler<T extends EntityType<?>,EC extends EntityCollection<T,?,?>> extends AbstractCollectionInvocationHandler<T,EC>
Modifier and Type | Field and Description |
---|---|
protected Class<EC> |
collItemRef |
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
protected URI |
targetEntitySetURI |
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri
Constructor and Description |
---|
AbstractEntityCollectionInvocationHandler(Class<?> ref,
AbstractService<?> service,
URIBuilder uri) |
AbstractEntityCollectionInvocationHandler(Class<? extends EntityCollection<T,?,?>> ref,
AbstractService<?> service,
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) |
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() |
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, top
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
invoke
protected URI targetEntitySetURI
protected final Class<EC extends EntityCollection<T,?,?>> collItemRef
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public AbstractEntityCollectionInvocationHandler(Class<?> ref, AbstractService<?> service, URIBuilder uri)
public AbstractEntityCollectionInvocationHandler(Class<? extends EntityCollection<T,?,?>> ref, AbstractService<?> service, URI targetEntitySetURI, URIBuilder uri)
public org.apache.commons.lang3.tuple.Triple<List<T>,URI,List<ClientAnnotation>> fetchPartial(URI uri, Class<T> typeRef)
fetchPartial
in class AbstractCollectionInvocationHandler<T extends EntityType<?>,EC extends EntityCollection<T,?,?>>
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.