wt.inf.template
Class TemplateServicesFactory

java.lang.Object
  extended bywt.inf.template.TemplateServicesFactory
All Implemented Interfaces:
ApplicationContextChild, Serializable

public final class TemplateServicesFactory
extends Object
implements ApplicationContextChild, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private  TemplateRequestFactory requestFactory
           
private static String RESOURCE
           
private  ApplicationContextServices services
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
protected TemplateServicesFactory()
          

Supported API: false
 
Method Summary
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
protected  WorklistDrivenCopier getContainerCopier(WTContainer sourceContainer)
          Gets a worklist copier based on source, and target container, and the worklist identifier as specified in the configuration XML file.
protected  ContainerDefaultValuesDelegate getDefaultValuesDelegate(WTContainer cont)
          

Supported API: false
protected  WorklistDrivenTemplateGenerator getTemplateGenerator(WTContainer sourceContainer)
          Gets a worklist copier based on source, and target container, and the worklist identifier as specified in the configuration XML file.
protected  TemplateRequestFactory getTemplateRequestFactory(int anInt)
          Gets the upload request factory based on the target container.
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: applicationContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

applicationContext

private ApplicationContext applicationContext

services

private ApplicationContextServices services

requestFactory

private TemplateRequestFactory requestFactory
Constructor Detail

TemplateServicesFactory

protected TemplateServicesFactory()


Supported API: false

Method Detail

getTemplateGenerator

protected WorklistDrivenTemplateGenerator getTemplateGenerator(WTContainer sourceContainer)
                                                        throws WTException
Gets a worklist copier based on source, and target container, and the worklist identifier as specified in the configuration XML file. This method gets the generator for the default script registered for the type of the source container. For 7.0 an exception will be thrown if the source and target containers are not of the same type, or if the registry does not contain a specification with the appropriate identifier.

Supported API: false

Parameters:
sourceContainer -
Returns:
WorklistDrivenTemplateGenerator
Throws:
WTException

getTemplateRequestFactory

protected TemplateRequestFactory getTemplateRequestFactory(int anInt)
                                                    throws WTException
Gets the upload request factory based on the target container.

Supported API: false

Parameters:
anInt -
Returns:
TemplateRequestFactory
Throws:
WTException

getContainerCopier

protected WorklistDrivenCopier getContainerCopier(WTContainer sourceContainer)
                                           throws WTException
Gets a worklist copier based on source, and target container, and the worklist identifier as specified in the configuration XML file. This method gets the generator for the default script registered for the type of the source container. For 7.0 an exception will be thrown if the source and target containers are not of the same type, or if the registry does not contain a specification with the appropriate identifier.

Supported API: false

Parameters:
sourceContainer -
Returns:
WorklistDrivenCopier
Throws:
WTException

getDefaultValuesDelegate

protected ContainerDefaultValuesDelegate getDefaultValuesDelegate(WTContainer cont)
                                                           throws WTException


Supported API: false

Parameters:
cont -
Returns:
ContainerDefaultValuesDelegate
Throws:
WTException

getApplicationContext

public ApplicationContext getApplicationContext()
Gets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException