public interface Proxy extends OsidResult
A Proxy is used to transfer external information from an
application server into an OSID Provider.
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuthentication()
Gets the
Authentication for this proxy. |
Agent |
getEffectiveAgent()
Gets the effective
Agent for this proxy. |
Id |
getEffectiveAgentId()
Gets the effective
Agent Id for this proxy. |
java.math.BigDecimal |
getEffectiveClockRate()
Gets the rate of the clock.
|
java.util.Date |
getEffectiveDate()
Gets the effective date.
|
Type |
getFormatType()
Gets the
DisplayText format Type. |
Locale |
getLocale()
Gets the locale.
|
ProxyRecord |
getProxyRecord(Type proxyRecordType)
Gets the proxy record corresponding to the given
Proxy
record Type. |
boolean |
hasAuthentication()
Tests if an authentication is available.
|
boolean |
hasEffectiveAgent()
Tests if an effective agent is available.
|
boolean |
hasEffectiveDate()
Tests if an effective date is available.
|
boolean |
hasFormatType()
Tests if a
DisplayText format Type is
available. |
getRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeboolean hasAuthentication()
true if an Authentication is
available, false otherwisemandatory - This method must be implemented. Authentication getAuthentication()
Authentication for this proxy.IllegalStateException - hasAuthentication()
is false mandatory - This method must be implemented. boolean hasEffectiveAgent()
true if an effective agent is available,
false otherwisemandatory - This method must be implemented. Id getEffectiveAgentId()
Agent Id for this proxy. Id IllegalStateException - hasEffectiveAgent()
is false mandatory - This method must be implemented. Agent getEffectiveAgent() throws OperationFailedException
Agent for this proxy.IllegalStateException - hasEffectiveAgent()
is false OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean hasEffectiveDate()
true if an effective date is available,
false otherwisemandatory - This method must be implemented. java.util.Date getEffectiveDate()
IllegalStateException - hasEffectiveDate()
is false mandatory - This method must be implemented. java.math.BigDecimal getEffectiveClockRate()
IllegalStateException - hasEffectiveDate()
is false mandatory - This method must be implemented. Locale getLocale()
mandatory - This method must be implemented. boolean hasFormatType()
DisplayText format Type is
available. true if a format type is available,
false otherwisemandatory - This method must be implemented. Type getFormatType()
DisplayText format Type. Type IllegalStateException - hasFormatType()
is false mandatory - This method must be implemented. ProxyRecord getProxyRecord(Type proxyRecordType) throws OperationFailedException
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 .proxyRecordType - the type of proxy record to retrieveNullArgumentException - proxyRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(proxyRecordType) is false mandatory - This method must be implemented.