|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.jdeveloper.template.DefaultTemplateData
public class DefaultTemplateData
Field Summary |
---|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
DefaultTemplateData(HashStructure hash)
Creates a template store from an existing hash. |
|
DefaultTemplateData(java.net.URL url)
Creates a Template store and associates it with a URL. |
Method Summary | ||
---|---|---|
void |
addTemplate(AbstractTemplate template)
|
|
java.lang.Object |
copyTo(java.lang.Object o)
Copy support. |
|
AbstractTemplate |
findTemplateById(java.lang.String id)
Search for template in this TemplateData store, and all its parents. |
|
java.util.List<AbstractTemplate> |
getAllTemplates()
|
|
HashStructure |
getHashStructure()
Returns the HashStructure this adapter is adapting. |
|
TemplateData |
getParent()
The parent which should be used to resolve templateId queries,
if they are not found in this TemplateData. |
|
|
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. |
|
boolean |
isDirty()
|
|
static DefaultTemplateData |
load(java.net.URL url)
|
|
void |
removeTemplate(AbstractTemplate template)
|
|
static void |
save(DefaultTemplateData templateData,
java.net.URL url)
|
|
void |
setParent(TemplateData parent)
|
|
void |
setURL(java.net.URL url)
|
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTemplateData(HashStructure hash)
hash
- public DefaultTemplateData(java.net.URL url)
url
- a unique location associated with this storeMethod Detail |
---|
public static DefaultTemplateData load(java.net.URL url) throws java.io.IOException
java.io.IOException
public static void save(DefaultTemplateData templateData, java.net.URL url) throws java.io.IOException
java.io.IOException
public HashStructure getHashStructure()
HashStructureAdapter
getHashStructure
in class HashStructureAdapter
public void addTemplate(AbstractTemplate template)
public void removeTemplate(AbstractTemplate template)
public AbstractTemplate getTemplateById(java.lang.String id)
TemplateData
findTemplateById()
.
getTemplateById
in interface TemplateData
public void setParent(TemplateData parent)
public AbstractTemplate findTemplateById(java.lang.String id)
TemplateData
findTemplateById
in interface TemplateData
public TemplateData getParent()
TemplateData
templateId
queries,
if they are not found in this TemplateData.
getParent
in interface TemplateData
public java.util.List<AbstractTemplate> getAllTemplates()
getAllTemplates
in interface TemplateData
public <T> java.util.List<T> getTemplateByClass(java.lang.Class<T> clazz)
TemplateData
getTemplateByClass
in interface TemplateData
public boolean isDirty()
public java.net.URL getURL()
TemplateData
getURL
in interface TemplateData
public void setURL(java.net.URL url)
public java.lang.Object copyTo(java.lang.Object o)
HashStructureAdapter
copyTo
in class HashStructureAdapter
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |