Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


oracle.wcps.activity.provider
Class ActivityGraphConnection

java.lang.Object
  extended by WebCenterRestConnection
      extended by 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.


Field Summary
static java.lang.String DEFAULT_RESOURCE
           

 

Constructor Summary
ActivityGraphConnection(WebCenterRestConnectionConfig config)
           

 

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

 

Field Detail

DEFAULT_RESOURCE

public static final java.lang.String DEFAULT_RESOURCE
See Also:
Constant Field Values

Constructor Detail

ActivityGraphConnection

public ActivityGraphConnection(WebCenterRestConnectionConfig config)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.