Class EntityCollectionInvocationHandler<T extends EntityType<?>>
java.lang.Object
org.apache.olingo.ext.proxy.commons.AbstractCollectionInvocationHandler<T,EC>
org.apache.olingo.ext.proxy.commons.AbstractEntityCollectionInvocationHandler<T,EntityCollection<T,?,?>>
org.apache.olingo.ext.proxy.commons.EntityCollectionInvocationHandler<T>
- All Implemented Interfaces:
Iterable<T>,InvocationHandler,Collection<T>
public class EntityCollectionInvocationHandler<T extends EntityType<?>>
extends AbstractEntityCollectionInvocationHandler<T,EntityCollection<T,?,?>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.LoggerLogger.protected AbstractService<?>Fields inherited from class org.apache.olingo.ext.proxy.commons.AbstractEntityCollectionInvocationHandler
collItemRef, targetEntitySetURIFields inherited from class org.apache.olingo.ext.proxy.commons.AbstractCollectionInvocationHandler
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri -
Constructor Summary
ConstructorsConstructorDescriptionEntityCollectionInvocationHandler(AbstractService<?> service, Class<? extends EntityCollection<T, ?, ?>> collItemRef) EntityCollectionInvocationHandler(AbstractService<?> service, Collection<T> items, Class<? extends EntityCollection<T, ?, ?>> collItemRef, 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) booleanprotected 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.AbstractEntityCollectionInvocationHandler
fetchPartialMethods 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, toArray
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
EntityCollectionInvocationHandler
public EntityCollectionInvocationHandler(AbstractService<?> service, Class<? extends EntityCollection<T, ?, ?>> collItemRef) -
EntityCollectionInvocationHandler
public EntityCollectionInvocationHandler(AbstractService<?> service, Collection<T> items, Class<? extends EntityCollection<T, ?, ?>> collItemRef, URI targetEntitySetURI, URIBuilder uri)
-
-
Method Details
-
invoke
- Throws:
Throwable
-
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
-