OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.Site
Implementsosid.OsidObject
Description

A Site represents an installation location.

MethodgetPath
Description

Gets the path to this site.

Returnstringthe path
CompliancemandatoryThis method must be implemented.
MethodgetSiteRecord
Description

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 .

Parametersosid.type.TypesiteRecordTypethe type of the record to retrieve
Returnosid.installation.records.SiteRecordthe site record
ErrorsNULL_ARGUMENT siteRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(siteRecordType) is false
CompliancemandatoryThis method must be implemented.