|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteTopologyHandler
Remote API Wrapper for the com.ibm.rcp.topology.TopologyHandler
(Online documentation)
Original documentation:
This is the interface for any implementations of a TopologyHandler to be used in a client environment.
The TopologyHandler is used to project the contents of a WebSphere Portal application down to the client.
The TopologyHandler is registered as an OSGi service and the other interfaces referenced by this
interface can be retrieved via the service object which is returned from the OSGi service registry.
The Topology Handler works in conjunction with the Composite Application Infrastructure in order to render
applications from the ibm-composite.xml within the platform.
Method Summary | |
---|---|
IRemotePage |
findPage(java.lang.String application,
java.util.Map criteria)
Finds a page withing the specified application which contains the preferences specified by the criteria map. |
java.lang.String[] |
getApplicationGUIDs()
This method is used to retrieve the list of GUIDs for all applications which have been projected to the client. |
IRemoteNavigation |
getApplicationNavigationTree(java.lang.String application)
This method returns the root navigation tree for the application specified in the application parameter. |
IRemoteComponentData |
getComponentData(java.lang.String id)
Component data is arbitrary data which is associated with component instances contained in the component tree. |
IRemoteNavigation |
getNavigation(java.lang.String id)
This method is used to return a specific INavigation object referenced by its ID. |
java.util.Map |
load()
This method iterates through each application in the store and laods the topology xml into memory. |
void |
loadTopology(java.lang.String appId)
Loads the topology xml into memory and creates a client instance of the topology. |
void |
modifyComponent(java.util.Map<java.lang.Object,java.lang.Object> atts,
java.lang.String component)
Experimental API for allowing runtime modification of existing components. |
void |
modifyNavigation(java.util.Map<java.lang.Object,java.lang.Object> attributes,
java.lang.String id)
Experimental API for allowing runtime modification of existing pages and labels. |
Methods inherited from interface com.mindoo.remote.api.IRemoteEclipseWrapper |
---|
_internalGetId, equalWrappedObjects |
Method Detail |
---|
void loadTopology(java.lang.String appId) throws RemoteEclipseAPIException
appId
- The unique identifier of the application topology to load.
RemoteEclipseAPIException
java.util.Map load() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteNavigation getApplicationNavigationTree(java.lang.String application) throws RemoteEclipseAPIException
application
- The unique identifier for the application
RemoteEclipseAPIException
IRemoteNavigation getNavigation(java.lang.String id) throws RemoteEclipseAPIException
id
- The unique id of the INavigation object
RemoteEclipseAPIException
java.lang.String[] getApplicationGUIDs() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void modifyNavigation(java.util.Map<java.lang.Object,java.lang.Object> attributes, java.lang.String id) throws RemoteEclipseAPIException
attributes
- Any new attributes to be added or overridden.id
- The unique id of the navigation element to be modified.
RemoteEclipseAPIException
void modifyComponent(java.util.Map<java.lang.Object,java.lang.Object> atts, java.lang.String component) throws RemoteEclipseAPIException
atts
- The map of attributes to override or add to the existing component to be modified.component
- The unique identifier of the component to be modified.
RemoteEclipseAPIException
IRemoteComponentData getComponentData(java.lang.String id) throws RemoteEclipseAPIException
String id = getViewSite( ).getSecondaryId( );
id = id.replace('.', '_');
IRemoteComponentData cd = handler.getComponentData(id);
...
String[] title = cd.getPreference("com.ibm.rcp.title");
id
- The compound id of the component whose data to access.
RemoteEclipseAPIException
IRemotePage findPage(java.lang.String application, java.util.Map criteria) throws RemoteEclipseAPIException
application
- The GUID of the composite applicationcriteria
- The HashMap of preferences to be matched with the page desired
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |