|
Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components 11g Release 2 (11.1.2.1.0) E18581-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Content
DesignTime@Runtime content abstraction for modification purposes. Used to modify the underlying components in a running system. It restricts the changes to those designed to be modified. An ADF application is represented by objects at all the MVC layers. This family of interfaces allows the client code to interact on a simple abstraction and have the implementation do the right things with all the cooperating layers and artifacts in the application. It's expected that this interface can be implemented by various view layer technologies, most especially, ADF Swing and ADF Faces.
Nested Class Summary | |
---|---|
static interface |
Content.ComponentRef
This interface allows content technology wrapping between the findComponent and insertChild methods. |
Method Summary | |
---|---|
ContentUsage |
createUsage(java.lang.String defName)
Create a new default usage that can be added to this content. |
ContentUsage |
createUsage(java.lang.String defName,
java.lang.String elementName,
java.lang.String namespaceURL)
Create a new usage that can be added to this content using the creator registered with the registerUsageCreator in ContentFactory. |
Content.ComponentRef |
findComponent(java.lang.String uniqueId)
Find the component that matches the given id. |
void |
insertChild(Content.ComponentRef parent,
ContentUsage newChild)
Insert a usage into the content inside of the parent component. |
Method Detail |
---|
Content.ComponentRef findComponent(java.lang.String uniqueId)
uniqueId
- each component is known by a unique string representation
insertFragment
.ContentUsage createUsage(java.lang.String defName)
defName
- contains the fully qualified def name of the usage to add
ContentUsage
ContentUsage createUsage(java.lang.String defName, java.lang.String elementName, java.lang.String namespaceURL)
defName
- elementName
- the view document element namenamespaceURL
- the view document namespace URL
void insertChild(Content.ComponentRef parent, ContentUsage newChild)
parent
- The component within the content to insert into,
which was retrieved by a call to findComponent
newChild
- the usage to add to the view
Note: Any content specific requirements will be met
Ex: All changes are registered with the faces change API.
|
Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components 11g Release 2 (11.1.2.1.0) E18581-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |