Interface InterSvrComService

All Known Implementing Classes:
StandardInterSvrComService

@RemoteInterface public interface InterSvrComService


Supported API: true

Extendable: false
  • Method Details

    • generateKeyPair

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

      Supported API: true
      Parameters:
      site -
      Returns:
      Site
      Throws:
      WTException
    • exportKey

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

      Supported API: true
      Parameters:
      site -
      Returns:
      byte[]
      Throws:
      WTException
    • importKey

      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
    • getLocalSite

      Site getLocalSite() throws WTException
      Retrieves Main 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

      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
    • getAllSites

      ArrayList getAllSites(WTUser user) throws WTException
      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

      Site getSiteByName(WTUser user, String siteName) throws WTException
      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 fetched
      siteName - Name of the site
      Returns:
      Site
      Throws:
      WTException