com.sap.caf.eu.gp.forms.adapter.api

Interface IGPTemplateTypeRegistry


public interface IGPTemplateTypeRegistry


Method Summary
 IGPTemplateType createTemplateType(String templateTypeName)
          Creates template type with supplied name.
 String[] getRegisteredTemplateTypes()
          Returns array of registered template type names.
 IGPTemplateType getTemplateType(String templateTypeName)
          Gets template type.
 void registerTemplateType(IGPTemplateType templateType)
          Registers already created and valid template type.
 

Method Detail

createTemplateType

public IGPTemplateType createTemplateType(String templateTypeName)
                                   throws GPInvocationException
Creates template type with supplied name. This template type can be register in the GP with registerTemplatetype method. Returned IGPTemplateType interface should be filled with required data.

Parameters:
templateTypeName -
Returns:
Throws:
GPInvocationException

getTemplateType

public IGPTemplateType getTemplateType(String templateTypeName)
                                throws GPEngineException,
                                       GPInvocationException
Gets template type. Properties can be get or set by using this template type.

Parameters:
templateTypeName -
Returns:
Throws:
GPEngineException
GPInvocationException

getRegisteredTemplateTypes

public String[] getRegisteredTemplateTypes()
                                    throws GPEngineException
Returns array of registered template type names.

Returns:
Throws:
GPEngineException

registerTemplateType

public void registerTemplateType(IGPTemplateType templateType)
                          throws GPEngineException,
                                 GPInvocationException,
                                 GPTemplateTypeAlreadyRegisteredException
Registers already created and valid template type. Valid template type means all the properties should be set.

Parameters:
templateType -
Throws:
GPEngineException
GPInvocationException
GPTemplateTypeAlreadyRegisteredException


Copyright 2006 SAP AG Complete Copyright Notice