OSID Logo
OSID Specifications
installation package
Version 3.0.0
Interfaceosid.installation.Site
Implementsosid.OsidObject
Used Byosid.installation.Installation
osid.installation.InstallationLookupSession
osid.installation.InstallationManagementSession
osid.installation.InstallationNotificationSession
osid.installation.InstallationQuerySession
osid.installation.InstallationUpdateSession
osid.installation.SiteList
osid.installation.SiteLookupSession
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_ARGUMENTsiteRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(siteRecordType) is false
CompliancemandatoryThis method must be implemented.