fedora.server
Interface RecoveryContext

All Superinterfaces:
Context
All Known Implementing Classes:
JournalEntryContext

public interface RecoveryContext
extends Context

A Context used for recovery. This Context provides access to attributes in the recovery namespace.

See Also:
Constants.RECOVERY

Field Summary
 
Fields inherited from interface fedora.server.Context
FEDORA_AUX_SUBJECT_ATTRIBUTES
 
Method Summary
 java.util.Iterator getRecoveryNames()
          Get the names of all recovery attributes whose values are defined in this context.
 java.lang.String getRecoveryValue(java.lang.String attribute)
          Get the first value for a recovery attribute, or null if no such value exists in this context.
 java.lang.String[] getRecoveryValues(java.lang.String attribute)
          Get all values for a recovery attribute, or an empty array if no values exist for the attribute in this context.
 
Methods inherited from interface fedora.server.Context
actionAttributes, environmentAttributes, getActionValue, getActionValues, getEnvironmentAttributes, getEnvironmentValue, getEnvironmentValues, getNoOp, getPassword, getResourceValue, getResourceValues, getSubjectValue, getSubjectValues, nActionValues, nEnvironmentValues, now, nResourceValues, nSubjectValues, resourceAttributes, setActionAttributes, setResourceAttributes, subjectAttributes, toString
 

Method Detail

getRecoveryNames

java.util.Iterator getRecoveryNames()
Get the names of all recovery attributes whose values are defined in this context.


getRecoveryValue

java.lang.String getRecoveryValue(java.lang.String attribute)
Get the first value for a recovery attribute, or null if no such value exists in this context.


getRecoveryValues

java.lang.String[] getRecoveryValues(java.lang.String attribute)
Get all values for a recovery attribute, or an empty array if no values exist for the attribute in this context.