Interface Site

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Site extends OsidObject

A Site represents an installation location.

  • Method Details

    • getPath

      String getPath()
      Gets the path to this site.
      Returns:
      the path
      Compliance:
      mandatory - This method must be implemented.
    • getSiteRecord

      SiteRecord getSiteRecord(Type siteRecordType) throws OperationFailedException
      Gets the site record corresponding to the given Site record Type .This method is used to retrieve an object implementing the requested record. The siteRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(siteRecordType) is true .
      Parameters:
      siteRecordType - the type of the record to retrieve
      Returns:
      the site record
      Throws:
      NullArgumentException - siteRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(siteRecordType) is false
      Compliance:
      mandatory - This method must be implemented.