Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.template
Interface TemplateData

All Known Implementing Classes:
DefaultTemplateData

public interface TemplateData

A container of templates. Each TemplateData aggregates templates identified by a distinct templateId.


Method Summary
 AbstractTemplate findTemplateById(java.lang.String id)
          Search for template in this TemplateData store, and all its parents.
 java.util.List<AbstractTemplate> getAllTemplates()
           
 TemplateData getParent()
          The parent which should be used to resolve templateId queries, if they are not found in this TemplateData.
<T> java.util.List<T>
getTemplateByClass(java.lang.Class<T> clazz)
          Get a list of templates matching the type specified.
 AbstractTemplate getTemplateById(java.lang.String id)
          Get a template from this TemplateData store.
 java.net.URL getURL()
          A URL location indicating from where this TemplateData was loaded.
 

Method Detail

getParent

TemplateData getParent()
The parent which should be used to resolve templateId queries, if they are not found in this TemplateData.

Returns:

getURL

java.net.URL getURL()
A URL location indicating from where this TemplateData was loaded.

Returns:

getAllTemplates

java.util.List<AbstractTemplate> getAllTemplates()

getTemplateById

AbstractTemplate getTemplateById(java.lang.String id)
Get a template from this TemplateData store. To continue searching parent TemplateData stores, use findTemplateById().

Parameters:
id -
Returns:

findTemplateById

AbstractTemplate findTemplateById(java.lang.String id)
Search for template in this TemplateData store, and all its parents.

Parameters:
id -
Returns:

getTemplateByClass

<T> java.util.List<T> getTemplateByClass(java.lang.Class<T> clazz)
Get a list of templates matching the type specified.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.