org.fcrepo.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 org.fcrepo.server.Context
FEDORA_AUX_SUBJECT_ATTRIBUTES
 
Method Summary
 Iterator getRecoveryNames()
          Get the names of all recovery attributes whose values are defined in this context.
 String getRecoveryValue(String attribute)
          Get the first value for a recovery attribute, or null if no such value exists in this context.
 String[] getRecoveryValues(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 org.fcrepo.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

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


getRecoveryValue

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


getRecoveryValues

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



Copyright © 2012 DuraSpace. All Rights Reserved.