OSID Logo
OSID Specifications
proxy package
Version 3.0.0
Release Candidate Preview
Interfaceosid.proxy.Proxy
Implementsosid.OsidResult
Description

A Proxy is used to transfer external information from an application server into an OSID Provider.

MethodhasAuthentication
Description

Tests if an authentication is available.

Returnboolean true if an Authentication is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAuthentication
Description

Gets the Authentication for this proxy.

Returnosid.authentication.process.Authenticationthe authentication
ErrorsILLEGAL_STATE hasAuthentication() is false
CompliancemandatoryThis method must be implemented.
MethodhasEffectiveAgent
Description

Tests if an effective agent is available.

Returnboolean true if an effective agent is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEffectiveAgentId
Description

Gets the effective Agent Id for this proxy.

Returnosid.id.Idthe effective agent Id
ErrorsILLEGAL_STATE hasEffectiveAgent() is false
CompliancemandatoryThis method must be implemented.
MethodgetEffectiveAgent
Description

Gets the effective Agent for this proxy.

Returnosid.authentication.Agentthe effective agent
ErrorsILLEGAL_STATE hasEffectiveAgent() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasEffectiveDate
Description

Tests if an effective date is available.

Returnboolean true if an effective date is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEffectiveDate
Description

Gets the effective date.

Returntimestampthe effective date
ErrorsILLEGAL_STATE hasEffectiveDate() is false
CompliancemandatoryThis method must be implemented.
MethodgetEffectiveClockRate
Description

Gets the rate of the clock.

Returndecimalthe rate
ErrorsILLEGAL_STATE hasEffectiveDate() is false
CompliancemandatoryThis method must be implemented.
MethodgetLocale
Description

Gets the locale.

Returnosid.locale.Localea locale
CompliancemandatoryThis method must be implemented.
MethodhasFormatType
Description

Tests if a DisplayText format Type is available.

Returnboolean true if a format type is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetFormatType
Description

Gets the DisplayText format Type.

Returnosid.type.Typethe format Type
ErrorsILLEGAL_STATE hasFormatType() is false
CompliancemandatoryThis method must be implemented.
MethodgetProxyRecord
Description

Gets the proxy record corresponding to the given Proxy record Type. This method is used to retrieve an object implementing the requested record. The proxyRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(proxyRecordType) is true .

Parametersosid.type.TypeproxyRecordTypethe type of proxy record to retrieve
Returnosid.proxy.records.ProxyRecordthe proxy record
ErrorsNULL_ARGUMENT proxyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(proxyRecordType) is false
CompliancemandatoryThis method must be implemented.