OSID Logo
OSID Specifications
proxy package
Version 3.1.0
Interfaceosid.proxy.Proxy
Implementsosid.OsidResult
Used Byosid.proxy.ProxySession
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
Compliancemandatory This method must be implemented.
MethodgetAuthentication
Description

Gets the Authentication for this proxy.

Returnosid.authentication.process.Authentication the authentication
ErrorsILLEGAL_STATE hasAuthentication() is false
Compliancemandatory This method must be implemented.
MethodhasEffectiveAgent
Description

Tests if an effective agent is available.

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

Gets the effective Agent Id for this proxy.

Returnosid.id.Id the effective agent Id
ErrorsILLEGAL_STATE hasEffectiveAgent() is false
Compliancemandatory This method must be implemented.
MethodgetEffectiveAgent
Description

Gets the effective Agent for this proxy.

Returnosid.authentication.Agent the effective agent
ErrorsILLEGAL_STATE hasEffectiveAgent() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasEffectiveDate
Description

Tests if an effective date is available.

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

Gets the effective date.

Returntimestamp the effective date
ErrorsILLEGAL_STATE hasEffectiveDate() is false
Compliancemandatory This method must be implemented.
MethodgetEffectiveClockRate
Description

Gets the rate of the clock.

Returndecimal the rate
ErrorsILLEGAL_STATE hasEffectiveDate() is false
Compliancemandatory This method must be implemented.
MethodgetLocale
Description

Gets the locale.

Returnosid.locale.Locale a locale
Compliancemandatory This method must be implemented.
MethodhasFormatType
Description

Tests if a DisplayText format Type is available.

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

Gets the DisplayText format Type.

Returnosid.type.Type the format Type
ErrorsILLEGAL_STATE hasFormatType() is false
Compliancemandatory This 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.TypeproxyRecordType the type of proxy record to retrieve
Returnosid.proxy.records.ProxyRecord the proxy record
ErrorsNULL_ARGUMENT proxyRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(proxyRecordType) is false
Compliancemandatory This method must be implemented.