Class AbstractEntityCollectionInvocationHandler<T extends EntityType<?>,EC extends EntityCollection<T,?,?>>
java.lang.Object
org.apache.olingo.ext.proxy.commons.AbstractCollectionInvocationHandler<T,EC>
org.apache.olingo.ext.proxy.commons.AbstractEntityCollectionInvocationHandler<T,EC>
- All Implemented Interfaces:
Iterable<T>,InvocationHandler,Collection<T>
- Direct Known Subclasses:
EntityCollectionInvocationHandler,EntitySetInvocationHandler,InlineEntitySetInvocationHandler
public abstract class AbstractEntityCollectionInvocationHandler<T extends EntityType<?>,EC extends EntityCollection<T,?,?>>
extends AbstractCollectionInvocationHandler<T,EC>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.LoggerLogger.protected AbstractService<?>protected URIFields inherited from class org.apache.olingo.ext.proxy.commons.AbstractCollectionInvocationHandler
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri -
Constructor Summary
ConstructorsConstructorDescriptionAbstractEntityCollectionInvocationHandler(Class<?> ref, AbstractService<?> service, URIBuilder uri) AbstractEntityCollectionInvocationHandler(Class<? extends EntityCollection<T, ?, ?>> ref, AbstractService<?> service, URI targetEntitySetURI, URIBuilder uri) -
Method Summary
Modifier and TypeMethodDescriptionprotected static URIBuilderbuildEntitySetURI(Class<?> ref, AbstractService<?> service) protected static URIBuilderbuildEntitySetURI(String entitySetName, AbstractService<?> service) protected <S extends EntityType<?>>
voiddeleteEntity(EntityInvocationHandler handler, URI entitySetURI) booleanorg.apache.commons.lang3.tuple.Triple<List<T>,URI, List<ClientAnnotation>> fetchPartial(URI uri, Class<T> typeRef) protected EdmEnabledODataClientprotected ComplexType<?>getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected ContextinthashCode()protected ObjectinvokeSelfMethod(Method method, Object[] args) protected booleanisDeleted(EntityInvocationHandler handler) protected booleanisSelfMethod(Method method) toString()Methods inherited from class org.apache.olingo.ext.proxy.commons.AbstractCollectionInvocationHandler
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, topMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface java.lang.reflect.InvocationHandler
invoke
-
Field Details
-
targetEntitySetURI
-
collItemRef
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
AbstractEntityCollectionInvocationHandler
public AbstractEntityCollectionInvocationHandler(Class<?> ref, AbstractService<?> service, URIBuilder uri) -
AbstractEntityCollectionInvocationHandler
public AbstractEntityCollectionInvocationHandler(Class<? extends EntityCollection<T, ?, ?>> ref, AbstractService<?> service, URI targetEntitySetURI, URIBuilder uri)
-
-
Method Details
-
fetchPartial
public org.apache.commons.lang3.tuple.Triple<List<T>,URI, fetchPartialList<ClientAnnotation>> (URI uri, Class<T> typeRef) - Specified by:
fetchPartialin classAbstractCollectionInvocationHandler<T extends EntityType<?>,EC extends EntityCollection<T, ?, ?>>
-
getClient
-
getContext
-
isSelfMethod
-
invokeSelfMethod
- Throws:
Throwable
-
getComplex
protected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) -
isDeleted
-
deleteEntity
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI) -
buildEntitySetURI
-
buildEntitySetURI
-
equals
-
hashCode
public int hashCode() -
toString
-