|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.ide.model.ApplicationContent
public final class ApplicationContent
Field Summary | |
---|---|
static java.lang.String |
CONTENT_SETS_PROPERTY
|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Method Summary | |
---|---|
boolean |
add(Node[] nodes,
java.lang.String contentSetKey)
Adds the nodes to the workspace content, specifically adding
it to the content set identified by the content set key. |
boolean |
add(Node node,
java.lang.String contentSetKey)
Adds the node to the workspace content, specifically adding
it to the content set identified by the content set key. |
java.util.Iterator |
findChildren(java.lang.Class childType)
Retrieves the children of a specific type. |
java.util.Iterator |
findChildren(java.lang.Class[] types)
Retrieves the children that are one of the specified types. |
java.util.Iterator |
findChildren(java.lang.Class childType,
java.lang.String contentSetKey)
Retrieves the child Nodes of a specific type by using the provided content set. |
ContentSet |
getAllContents()
|
ContentSet |
getContentSet(java.lang.String contentSetKey)
Returns a ContentSet adapter that wraps the HashStructure located at the specified key within the workspace. |
ListStructure |
getContentSetList()
|
static ContentSetProviderReference[] |
getContentSetProviderReferences()
Returns all the references to content set providers, both registered programmatically or declaratively through the content-set-providers-hook hook. |
static ApplicationContent |
getInstance(HashStructure hash)
|
static ApplicationContent |
getInstance(PropertyStorage workspace)
|
URLPath |
getJavaRootDirs()
|
java.util.List<java.lang.String> |
getMissingContentSetKeys()
Deprecated. No replacement. Since 11.1.2. |
java.util.Iterator |
getNodeIterator()
|
static void |
initializeContentSets(Workspace workspace)
|
boolean |
isMissingContentSetKeys()
Deprecated. No replacement. Since 11.1.2. |
static void |
registerDeclarativeContentSetProvider(ContentSetProviderReference provider)
|
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTENT_SETS_PROPERTY
Method Detail |
---|
@Deprecated public java.util.List<java.lang.String> getMissingContentSetKeys()
@Deprecated public boolean isMissingContentSetKeys()
public static void initializeContentSets(Workspace workspace)
public static ApplicationContent getInstance(PropertyStorage workspace)
public static ApplicationContent getInstance(HashStructure hash)
public static ContentSetProviderReference[] getContentSetProviderReferences()
ContentSetProviderReference
public static final void registerDeclarativeContentSetProvider(ContentSetProviderReference provider)
public ContentSet getContentSet(java.lang.String contentSetKey)
public final ListStructure getContentSetList()
public final ContentSet getAllContents()
public final URLPath getJavaRootDirs()
public java.util.Iterator getNodeIterator()
public final java.util.Iterator findChildren(java.lang.Class childType)
childType
- the Class representing the desired type
public final java.util.Iterator findChildren(java.lang.Class[] types)
types
- an array of Class objects indicating the desired types
public final java.util.Iterator findChildren(java.lang.Class childType, java.lang.String contentSetKey)
childType
- the Class representing the desired Node typecontentSetKey
- a String specifying the key used to register the desired
ContentSet
getContentSet(String)
,
#registerContentSetProvider(ContentSetProvider)
public boolean add(Node node, java.lang.String contentSetKey)
node
to the workspace content, specifically adding
it to the content set identified by the content set key. The supplied
key must match one of the ContentProviders registered with the workspace.
If the key is valid but the node cannot be added to that content set,
the node will be added to the Resources content set, if possible.
node
- the node to addcontentSetKey
- the key that identifies the content set
true
if the node was added successfully,
false
if the node could not be added to the specified
content set.ContentSetProvider
public boolean add(Node[] nodes, java.lang.String contentSetKey)
nodes
to the workspace content, specifically adding
it to the content set identified by the content set key. The supplied
key must match one of the ContentProviders registered with the workspace.
If the key is valid but the node cannot be added to that content set,
the node will be added to the Resources content set, if possible.
nodes
- the nodes to addcontentSetKey
- the key that identifies the content set
true
if all the nodes were added successfully,
false
if one or more nodes could not be added to the
specified content set.ContentSetProvider
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |