wt.intersvrcom
Interface InterSvrComService

All Known Implementing Classes:
InterSvrComServiceFwd, StandardInterSvrComService

public interface InterSvrComService



Supported API: true

Extendable: false


Method Summary
 byte[] exportKey(Site site)
          Retrieves site's public security key.
 Site generateKeyPair(Site site)
          Generates security keys for the site.
 Enumeration getAllSites()
          Retrieves all the sites in the system.
 Timestamp getLastUpdated(Site site)
          

Supported API: false
 Site getLocalSite()
          Retrieves master site.
 Repository getRepository(Site site)
          

Supported API: false
 Site getSite(String url)
          Retrieves the site object with the supplied URL.
 Site getSiteByGuid(String guid)
          

Supported API: false
 Site getSiteByUfid(Ufid ufid)
          

Supported API: false
 SiteSecurity getSiteSecurity(ObjectReference oRef)
          

Supported API: false
 Site importKey(Site site, byte[] is_bytes)
          Imports another site's public key to this site.
 void registerUfidRepository(Site site, Repository repository)
          

Supported API: false
 void unregisterUfidRepository(Site site)
          

Supported API: false
 void updateSiteSecurity(SiteSecurity ss)
          

Supported API: false
 

Method Detail

generateKeyPair

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

Supported API: true

Parameters:
site -
Returns:
Site
Throws:
WTException

exportKey

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

Supported API: true

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

importKey

public Site importKey(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

getLastUpdated

public Timestamp getLastUpdated(Site site)
                         throws WTException


Supported API: false

Parameters:
site -
Returns:
Timestamp
Throws:
WTException

getLocalSite

public Site getLocalSite()
                  throws WTException
Retrieves master site.

Supported API: true

Returns:
Site
Throws:
WTException

getAllSites

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

Supported API: true

Returns:
Enumeration
Throws:
WTException

getSite

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

Supported API: true

Parameters:
url -
Returns:
Site
Throws:
WTException

getSiteByGuid

public Site getSiteByGuid(String guid)
                   throws WTException


Supported API: false

Parameters:
guid -
Returns:
Site
Throws:
WTException

getSiteByUfid

public Site getSiteByUfid(Ufid ufid)
                   throws WTException


Supported API: false

Parameters:
ufid -
Returns:
Site
Throws:
WTException

registerUfidRepository

public void registerUfidRepository(Site site,
                                   Repository repository)
                            throws WTException


Supported API: false

Parameters:
site -
repository -
Throws:
WTException

unregisterUfidRepository

public void unregisterUfidRepository(Site site)
                              throws WTException


Supported API: false

Parameters:
site -
Throws:
WTException

getRepository

public Repository getRepository(Site site)
                         throws WTException


Supported API: false

Parameters:
site -
Returns:
Repository
Throws:
WTException

getSiteSecurity

public SiteSecurity getSiteSecurity(ObjectReference oRef)
                             throws WTException


Supported API: false

Parameters:
oRef -
Returns:
SiteSecurity
Throws:
WTException

updateSiteSecurity

public void updateSiteSecurity(SiteSecurity ss)
                        throws WTException


Supported API: false

Parameters:
ss -
Throws:
WTException