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,
CommonURIBuilder<?> uri) |
Modifier and Type | Method and Description |
---|---|
protected static CommonURIBuilder<?> |
buildEntitySetURI(Class<?> ref,
AbstractService<?> service) |
protected static CommonURIBuilder<?> |
buildEntitySetURI(String containerNS,
String entitySetName,
AbstractService<?> service) |
protected <S extends EntityType<?>> |
deleteEntity(EntityInvocationHandler handler,
URI entitySetURI) |
boolean |
equals(Object obj) |
protected CommonEdmEnabledODataClient<?> |
getClient() |
protected ComplexType<?> |
getComplex(String name,
ODataValue 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,
Object[] args) |
String |
toString() |
fetchPartial
add, addAll, addRef, clear, clearQueryOptions, contains, containsAll, execute, executeAsync, expand, filter, filter, getAnnotation, getAnnotationTerms, getRequestURI, getTypeRef, getURI, hasNextPage, isChanged, isEmpty, iterator, nextPage, orderBy, orderBy, refs, remove, removeAll, retainAll, select, setAnnotations, size, skip, toArray, toArray, top
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
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, CommonURIBuilder<?> uri)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
protected CommonEdmEnabledODataClient<?> getClient()
protected Context getContext()
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwable
protected ComplexType<?> getComplex(String name, ODataValue 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 CommonURIBuilder<?> buildEntitySetURI(Class<?> ref, AbstractService<?> service)
protected static CommonURIBuilder<?> buildEntitySetURI(String containerNS, String entitySetName, AbstractService<?> service)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.