Skip navigation links
oracle.wcps.activity.provider
Class ActivityGraphConnection
java.lang.Object
WebCenterRestConnection
oracle.wcps.activity.provider.ActivityGraphConnection
-
public class ActivityGraphConnection
- extends WebCenterRestConnection
This class is a wrapper for the ActivityGraph IQuerier interface. There is one AG server per connection. It holds onto a collection of IExecutableResource, which is a wrapper for an individual method for Activity Graph. There are two different means to access the Activity Graph APIs: REST and POJO. The ConnectionConfiguration has an attribute, 'useREST', that defaults to 'true' if not specified. IExecutableResources are created according to this setting.
Method Summary |
protected void |
createExecutableResources()
Create an ExecutableResource by abstracting available AG REST calls |
protected void |
setNamedResources(java.util.Map<java.lang.String,IExecutableResource> namedResources)
Note: This method creates a copy of the executable resources and then sets it. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_RESOURCE
public static final java.lang.String DEFAULT_RESOURCE
-
- See Also:
- Constant Field Values
ActivityGraphConnection
public ActivityGraphConnection(WebCenterRestConnectionConfig config)
createExecutableResources
protected void createExecutableResources()
- Create an ExecutableResource by abstracting available AG REST calls
toString
public java.lang.String toString()
setNamedResources
protected void setNamedResources(java.util.Map<java.lang.String,IExecutableResource> namedResources)
- Note: This method creates a copy of the executable resources and then sets it. This method is only meant to be called by the copy constructor. Subclasses should override this method if the copy constructor is implemented.
-
- Parameters:
namedResources
- the original named resources (from the cache) to be copied into this new instance.
Skip navigation links
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.