com.softwareag.mdm.ui
Class UIHttpNavigationLink

java.lang.Object
  extended bycom.softwareag.mdm.ui.UIHttpNavigationLink

public class UIHttpNavigationLink
extends Object

This class generates links that are used for navigating in Manager.


Constructor Summary
UIHttpNavigationLink()
           
 
Method Summary
static void addLinkToAdaptationNode(Adaptation target, Path targetPath, UIContext aContext)
          Writes url link to node at path in a specific instance adaptation.
static void addLinkToOccurrence(Adaptation target, Adaptation targetContainer, UIContext aContext)
          Writes url link to adaptation occurrence in a specific instance adaptation.
static Object createLinkToAdaptationNode(Adaptation target, Path targetPath)
          Generates HTTP selection parameters for a specific node at path in adaptation
static String createLinkToOccurrence(Adaptation target)
          Generates HTTP selection parameters for an adaptation occurrence in the current instance adaptation.
static Object createLinkToOccurrence(Adaptation target, Adaptation targetContainer)
          Generates HTTP selection parameters for an adaptation occurrence in a specific instance adaptation.
static Object createMessage(String message)
          Use the result of this method for generating a message, not an HTTP link.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIHttpNavigationLink

public UIHttpNavigationLink()
Method Detail

createLinkToAdaptationNode

public static Object createLinkToAdaptationNode(Adaptation target,
                                                Path targetPath)
Generates HTTP selection parameters for a specific node at path in adaptation

Parameters:
target - mandatory field which indicates the target adaptation of the link. If this is null, the link is replaced by a message.
targetPath - optional field which indicates the target node of the target adaptation. Default is root node.

createLinkToOccurrence

public static String createLinkToOccurrence(Adaptation target)
Generates HTTP selection parameters for an adaptation occurrence in the current instance adaptation.

Parameters:
target - mandatory field which indicates the target adaptation of the link. If the adaptation does not exist, the link is replaced by a message.

createLinkToOccurrence

public static Object createLinkToOccurrence(Adaptation target,
                                            Adaptation targetContainer)
Generates HTTP selection parameters for an adaptation occurrence in a specific instance adaptation.

Parameters:
target - mandatory field which indicates the target occurrence adaptatio of the link. If the adaptation does not exist, the link is replaced by a message.
targetContainer - mandatory field which indicates the target instance adaptation of the link. If the adaptation does not exist, the link is replaced by a message.

createMessage

public static Object createMessage(String message)
Use the result of this method for generating a message, not an HTTP link.


addLinkToOccurrence

public static void addLinkToOccurrence(Adaptation target,
                                       Adaptation targetContainer,
                                       UIContext aContext)
Writes url link to adaptation occurrence in a specific instance adaptation.

Parameters:
target - mandatory field which indicates the target occurrence adaptatio of the link. If the adaptation does not exist, the link is replaced by a message.
targetContainer - mandatory field which indicates the target instance adaptation of the link. If the adaptation does not exist, the link is replaced by a message.

addLinkToAdaptationNode

public static void addLinkToAdaptationNode(Adaptation target,
                                           Path targetPath,
                                           UIContext aContext)
Writes url link to node at path in a specific instance adaptation.

Parameters:
target - mandatory field which indicates the target adaptation of the link. If this is null, the link is replaced by a message.
targetPath - optional field which indicates the target node of the target adaptation. Default is root node.


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.