Package wt.intersvrcom
Interface InterSvrComService
- All Known Implementing Classes:
StandardInterSvrComService
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Retrieves site's public security key.generateKeyPair(Site site) Generates security keys for the site.Retrieves all the sites in the system.getAllSites(WTContainerRef containerRef) Retrieves all the sites in the system under a specified container reference.getAllSites(WTUser user) Retrieves all the sites in the system for a user.Retrieves Main Site.Retrieves the site object with the supplied URL.getSiteByName(WTUser user, String siteName) Retrieves the site in the system for a user.Imports another site's public key to this site.
-
Method Details
-
generateKeyPair
Generates security keys for the site.
Supported API: true- Parameters:
site-- Returns:
- Site
- Throws:
WTException
-
exportKey
Retrieves site's public security key.
Supported API: true- Parameters:
site-- Returns:
- byte[]
- Throws:
WTException
-
importKey
Imports another site's public key to this site.
Supported API: true- Parameters:
site-is_bytes-- Returns:
- Site
- Throws:
WTException
-
getLocalSite
Retrieves Main Site.
Supported API: true- Returns:
- Site
- Throws:
WTException
-
getAllSites
Retrieves all the sites in the system.
Supported API: true- Returns:
- Enumeration
- Throws:
WTException
-
getSite
Retrieves the site object with the supplied URL.
Supported API: true- Parameters:
url-- Returns:
- Site
- Throws:
WTException
-
getAllSites
Retrieves all the sites in the system under a specified container reference.
Supported API: true- Parameters:
containerRef-- Returns:
- Enumeration
- Throws:
WTException
-
getAllSites
Retrieves all the sites in the system for a user. The site list would include 1. all the sites matching the user's container reference 2. all the parent sites of the user's container reference. 3. all the child sites of the user's container reference.
Supported API: true- Parameters:
user-- Returns:
- ArrayList
- Throws:
WTException
-
getSiteByName
Retrieves the site in the system for a user. The site matching the name will be returned if 1. the site container reference matches the exchange container reference 2. the site container reference matches the users org container reference 3. user is a member of the site container Returns null if no site name match or above conditions not met
Supported API: true- Parameters:
user- User based on which site will be fetchedsiteName- Name of the site- Returns:
- Site
- Throws:
WTException
-