wt.intersvrcom
Interface InterSvrComService

All Known Implementing Classes:
StandardInterSvrComService

public interface InterSvrComService



Supported API: true

Extendable: false


Method Summary
 byte[] exportKey(wt.intersvrcom.Site site)
          Retrieves site's public security key.
 wt.intersvrcom.Site generateKeyPair(wt.intersvrcom.Site site)
          Generates security keys for the site.
 Enumeration getAllSites()
          Retrieves all the sites in the system.
 Enumeration getAllSites(WTContainerRef containerRef)
          Retrieves all the sites in the system under a specified container reference.
 wt.intersvrcom.Site getLocalSite()
          Retrieves master site.
 wt.intersvrcom.Site getSite(String url)
          Retrieves the site object with the supplied URL.
 wt.intersvrcom.Site importKey(wt.intersvrcom.Site site, byte[] is_bytes)
          Imports another site's public key to this site.
 

Method Detail

generateKeyPair

wt.intersvrcom.Site generateKeyPair(wt.intersvrcom.Site site)
                                    throws WTException
Generates security keys for the site.

Supported API: true

Parameters:
site -
Returns:
Site
Throws:
WTException

exportKey

byte[] exportKey(wt.intersvrcom.Site site)
                 throws WTException
Retrieves site's public security key.

Supported API: true

Parameters:
site -
Returns:
byte[]
Throws:
WTException

importKey

wt.intersvrcom.Site importKey(wt.intersvrcom.Site site,
                              byte[] is_bytes)
                              throws WTException
Imports another site's public key to this site.

Supported API: true

Parameters:
site -
is_bytes -
Returns:
Site
Throws:
WTException

getLocalSite

wt.intersvrcom.Site getLocalSite()
                                 throws WTException
Retrieves master site.

Supported API: true

Returns:
Site
Throws:
WTException

getAllSites

Enumeration getAllSites()
                        throws WTException
Retrieves all the sites in the system.

Supported API: true

Returns:
Enumeration
Throws:
WTException

getSite

wt.intersvrcom.Site getSite(String url)
                            throws WTException
Retrieves the site object with the supplied URL.

Supported API: true

Parameters:
url -
Returns:
Site
Throws:
WTException

getAllSites

Enumeration getAllSites(WTContainerRef containerRef)
                        throws WTException
Retrieves all the sites in the system under a specified container reference.

Supported API: true

Parameters:
containerRef -
Returns:
Enumeration
Throws:
WTException