wt.replication.unit.htmlGeneration
Class URLOperationHelper

java.lang.Object
  extended bywt.replication.unit.htmlGeneration.URLOperationHelper

public class URLOperationHelper
extends Object

This class provides static methods for the construction and return of URLs for WTUnits. These URLs will display pages for scheduling WTUnit operations or the status of WTUnit operations. In order for a URL to be returned the conditions in the enabeable method of the respective ActionDelegate would have to be met.


Field Summary
private static URLActionDelegateFactory delegate_factory
           
private static String RESOURCE
           
 
Constructor Summary
URLOperationHelper()
           
 
Method Summary
private static URLActionDelegate getDelegate(String sAlias)
          This method will get the action delegate for the operation.
static String getExportStatusURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the export status form for a WTUnit.
static String getExportURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the initial export scheduling form for a WTUnit.
static String getImportStatusURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the import status form for a WTUnit.
static String getImportURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the initial import scheduling form for a WTUnit.
static String getReceiveStatusURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the receive status form for a WTUnit.
static String getReceiveURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the initial receive scheduling form for a WTUnit.
static String getSendStatusURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the send status form for a WTUnit.
static String getSendURL(WTUnit wtUnit)
          This method will construct and return a URL that will display the initial send scheduling form for a WTUnit.
private static String getURL(URLActionDelegate delegate, WTUnit wtUnit)
          This method will get the URL string for the operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

delegate_factory

private static URLActionDelegateFactory delegate_factory
Constructor Detail

URLOperationHelper

public URLOperationHelper()
Method Detail

getSendURL

public static String getSendURL(WTUnit wtUnit)
                         throws WTException
This method will construct and return a URL that will display the initial send scheduling form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getExportURL

public static String getExportURL(WTUnit wtUnit)
                           throws WTException
This method will construct and return a URL that will display the initial export scheduling form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getReceiveURL

public static String getReceiveURL(WTUnit wtUnit)
                            throws WTException
This method will construct and return a URL that will display the initial receive scheduling form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getImportURL

public static String getImportURL(WTUnit wtUnit)
                           throws WTException
This method will construct and return a URL that will display the initial import scheduling form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getSendStatusURL

public static String getSendStatusURL(WTUnit wtUnit)
                               throws WTException
This method will construct and return a URL that will display the send status form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getExportStatusURL

public static String getExportStatusURL(WTUnit wtUnit)
                                 throws WTException
This method will construct and return a URL that will display the export status form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getReceiveStatusURL

public static String getReceiveStatusURL(WTUnit wtUnit)
                                  throws WTException
This method will construct and return a URL that will display the receive status form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getImportStatusURL

public static String getImportStatusURL(WTUnit wtUnit)
                                 throws WTException
This method will construct and return a URL that will display the import status form for a WTUnit. The return value will be null if a url could not be constructed.

Supported API: false

Throws:
WTException

getDelegate

private static URLActionDelegate getDelegate(String sAlias)
This method will get the action delegate for the operation. The return value will be null if a delegate could not be retreived.


getURL

private static String getURL(URLActionDelegate delegate,
                             WTUnit wtUnit)
                      throws WTException
This method will get the URL string for the operation. The return value will be null if a url could not be constructed.

Throws:
WTException