wt.intersvrcom
Class InterSvrComServiceFwd

java.lang.Object
  extended bywt.intersvrcom.InterSvrComServiceFwd
All Implemented Interfaces:
InterSvrComService, RemoteAccess, Serializable

public class InterSvrComServiceFwd
extends Object
implements RemoteAccess, InterSvrComService, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
InterSvrComServiceFwd()
           
 
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.
private static Manager getManager()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

InterSvrComServiceFwd

public InterSvrComServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

generateKeyPair

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

Supported API: false

Specified by:
generateKeyPair in interface InterSvrComService
Parameters:
site -
Returns:
Site
Throws:
WTException

exportKey

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

Supported API: false

Specified by:
exportKey in interface InterSvrComService
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: false

Specified by:
importKey in interface InterSvrComService
Parameters:
site -
is_bytes -
Returns:
Site
Throws:
WTException

getLastUpdated

public Timestamp getLastUpdated(Site site)
                         throws WTException


Supported API: false

Specified by:
getLastUpdated in interface InterSvrComService
Parameters:
site -
Returns:
Timestamp
Throws:
WTException

getLocalSite

public Site getLocalSite()
                  throws WTException
Retrieves master site.

Supported API: false

Specified by:
getLocalSite in interface InterSvrComService
Returns:
Site
Throws:
WTException

getAllSites

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

Supported API: false

Specified by:
getAllSites in interface InterSvrComService
Returns:
Enumeration
Throws:
WTException

getSite

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

Supported API: false

Specified by:
getSite in interface InterSvrComService
Parameters:
url -
Returns:
Site
Throws:
WTException

getSiteByGuid

public Site getSiteByGuid(String guid)
                   throws WTException


Supported API: false

Specified by:
getSiteByGuid in interface InterSvrComService
Parameters:
guid -
Returns:
Site
Throws:
WTException

getSiteByUfid

public Site getSiteByUfid(Ufid ufid)
                   throws WTException


Supported API: false

Specified by:
getSiteByUfid in interface InterSvrComService
Parameters:
ufid -
Returns:
Site
Throws:
WTException

registerUfidRepository

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


Supported API: false

Specified by:
registerUfidRepository in interface InterSvrComService
Parameters:
site -
repository -
Throws:
WTException

unregisterUfidRepository

public void unregisterUfidRepository(Site site)
                              throws WTException


Supported API: false

Specified by:
unregisterUfidRepository in interface InterSvrComService
Parameters:
site -
Throws:
WTException

getRepository

public Repository getRepository(Site site)
                         throws WTException


Supported API: false

Specified by:
getRepository in interface InterSvrComService
Parameters:
site -
Returns:
Repository
Throws:
WTException

getSiteSecurity

public SiteSecurity getSiteSecurity(ObjectReference oRef)
                             throws WTException


Supported API: false

Specified by:
getSiteSecurity in interface InterSvrComService
Parameters:
oRef -
Returns:
SiteSecurity
Throws:
WTException

updateSiteSecurity

public void updateSiteSecurity(SiteSecurity ss)
                        throws WTException


Supported API: false

Specified by:
updateSiteSecurity in interface InterSvrComService
Parameters:
ss -
Throws:
WTException