Class ComplexInvocationHandler
java.lang.Object
org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
org.apache.olingo.ext.proxy.commons.ComplexInvocationHandler
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.LoggerLogger.protected AbstractService<?>Fields inherited from class org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
baseURI, entityHandler, internal, linkCache, linkChanges, propertyCache, propertyChanges, streamedPropertyCache, streamedPropertyChanges, typeRef, 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 Contextstatic ComplexInvocationHandlergetInstance(Class<?> typeRef, AbstractService<?> service) static ComplexInvocationHandlergetInstance(Class<?> typeRef, AbstractService<?> service, URIBuilder uri) static ComplexInvocationHandlergetInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service) static ComplexInvocationHandlergetInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service, URIBuilder uri) static ComplexInvocationHandlergetInstance(EntityInvocationHandler handler, Class<?> typeRef) protected List<ClientProperty>protected ClientPropertygetInternalProperty(String name) protected ObjectgetNavigationPropertyValue(NavigationProperty property, Method getter) inthashCode()protected ObjectinvokeSelfMethod(Method method, Object[] args) protected booleanisDeleted(EntityInvocationHandler handler) protected booleanisSelfMethod(Method method) protected voidload()toString()Methods inherited from class org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
addAdditionalProperty, addLinkChanges, addPropertyChanges, applyChanges, applyChanges, applyChangesOnChildren, attach, attach, attach, clearQueryOptions, delete, delete, expand, getEntityHandler, getInternal, getLinkChanges, getNavPropAnnotatableHandlers, getPropAnnotatableHandlers, getPropertyChanges, getPropertyValue, getStreamedPropertyChanges, getStructuredInvocationHandler, getTypeRef, hasCachedPropertyChanged, hasDeepPropertyChanges, hasPropertyChanges, invoke, isChanged, putNavPropAnnotatableHandler, putPropAnnotatableHandler, readAdditionalProperty, readAdditionalPropertyNames, refs, removeAdditionalProperty, retrieveNavigationProperty, select, setEntityHandler, setPropertyValue
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Method Details
-
getInstance
public static ComplexInvocationHandler getInstance(EntityInvocationHandler handler, Class<?> typeRef) -
getInstance
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service) -
getInstance
-
getInstance
public static ComplexInvocationHandler getInstance(Class<?> typeRef, AbstractService<?> service, URIBuilder uri) -
getInstance
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service, URIBuilder uri) -
getComplex
-
load
protected void load()- Specified by:
loadin classAbstractStructuredInvocationHandler
-
getInternalProperties
- Specified by:
getInternalPropertiesin classAbstractStructuredInvocationHandler
-
getInternalProperty
- Specified by:
getInternalPropertyin classAbstractStructuredInvocationHandler
-
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
-