wt.fc.manifest
Class Manifest

java.lang.Object
  extended by wt.fc.manifest.Manifest

public final class Manifest
extends Object

This class serves as a data container for gathering Directive objects to be passed from one or many services to another service optimized to handle the required interaction with the database for the set of Directive objects it contains. An instance of Manifest is created by using the createManifest() API from ManifestServerHelper. Directive objects are added via helper methods defined on ManifestServerHelper class. A Manifest is processed by passing it to theManifestServerHelper.service.processManifest(manifest : Manifest) API from ManifestServiceSvr. A Manifest which has been processed will contain Directive objects that have their own results via the Directive/DirectiveResult relationship.

Supported API: true

Extendable: false

See Also:
Directive, DirectiveResult, ManifestServerHelper, ManifestServiceSvr

Method Summary
 wt.fc.manifest.DirectiveResult[] getAllDirectiveResults()
          Gets all the DirectiveResult objects for allDirective objects within the Manifest.
 wt.fc.manifest.DirectiveResult[] getDirectiveResults(String name)
          Gets the DirectiveResult for a specific Directive object within the Manifest based on the name that is specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDirectiveResults

public wt.fc.manifest.DirectiveResult[] getDirectiveResults(String name)
                                                     throws WTException
Gets the DirectiveResult for a specific Directive object within the Manifest based on the name that is specified. If the Manifest has not been processed, or the Directive specified by name does not exist, a WTException is thrown.

Supported API: true

Parameters:
name - Internal storage name of the group whose results will be retrieved. This should be the whatever was returned when the Directive was inserted with insertDirective(directive, name).
Returns:
DirectiveResult[]
Throws:
WTException

getAllDirectiveResults

public wt.fc.manifest.DirectiveResult[] getAllDirectiveResults()
Gets all the DirectiveResult objects for allDirective objects within the Manifest. If the Manifest has not been processed, a WTException is thrown.

Supported API: true

Returns:
DirectiveResult[]