|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.journal.entry.JournalEntryContext
public class JournalEntryContext
Title: JournalEntryContext.java
Description: A fully writable context that can be used when recovering entries from a Journal.
| Field Summary |
|---|
| Fields inherited from interface fedora.server.Context |
|---|
FEDORA_AUX_SUBJECT_ATTRIBUTES |
| Constructor Summary | |
|---|---|
JournalEntryContext()
Create an empty context. |
|
JournalEntryContext(Context source)
A "copy constructor" that creates a writable context from one that might be read-only. |
|
| Method Summary | |
|---|---|
java.util.Iterator |
actionAttributes()
|
java.util.Iterator |
environmentAttributes()
|
boolean |
equals(java.lang.Object obj)
|
MultiValueMap |
getActionAttributes()
|
java.lang.String |
getActionValue(java.lang.String name)
|
java.lang.String[] |
getActionValues(java.lang.String name)
|
MultiValueMap |
getEnvironmentAttributes()
|
java.lang.String |
getEnvironmentValue(java.lang.String name)
|
java.lang.String[] |
getEnvironmentValues(java.lang.String name)
|
boolean |
getNoOp()
|
java.lang.String |
getPassword()
|
MultiValueMap |
getRecoveryAttributes()
|
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. |
MultiValueMap |
getResourceAttributes()
|
java.lang.String |
getResourceValue(java.lang.String name)
|
java.lang.String[] |
getResourceValues(java.lang.String name)
|
MultiValueMap |
getSubjectAttributes()
|
java.lang.String |
getSubjectValue(java.lang.String name)
|
java.lang.String[] |
getSubjectValues(java.lang.String name)
|
int |
hashCode()
|
int |
nActionValues(java.lang.String name)
|
int |
nEnvironmentValues(java.lang.String name)
|
java.util.Date |
now()
|
int |
nResourceValues(java.lang.String name)
|
int |
nSubjectValues(java.lang.String name)
|
java.util.Iterator |
resourceAttributes()
|
void |
setActionAttributes(MultiValueMap actionAttributes)
|
void |
setEnvironmentAttributes(MultiValueMap environmentAttributes)
|
void |
setNoOp(boolean noOp)
|
void |
setNow(java.util.Date now)
|
void |
setPassword(java.lang.String password)
|
void |
setRecoveryAttributes(MultiValueMap recoveryAttributes)
|
void |
setRecoveryValue(java.lang.String attribute,
java.lang.String value)
|
void |
setRecoveryValues(java.lang.String attribute,
java.lang.String[] values)
|
void |
setResourceAttributes(MultiValueMap resourceAttributes)
|
void |
setSubjectAttributes(MultiValueMap subjectAttributes)
|
java.util.Iterator |
subjectAttributes()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalEntryContext()
public JournalEntryContext(Context source)
| Method Detail |
|---|
public MultiValueMap getEnvironmentAttributes()
getEnvironmentAttributes in interface Contextpublic java.util.Iterator environmentAttributes()
environmentAttributes in interface Contextpublic int nEnvironmentValues(java.lang.String name)
nEnvironmentValues in interface Contextpublic java.lang.String getEnvironmentValue(java.lang.String name)
getEnvironmentValue in interface Contextpublic java.lang.String[] getEnvironmentValues(java.lang.String name)
getEnvironmentValues in interface Contextpublic java.util.Iterator subjectAttributes()
subjectAttributes in interface Contextpublic int nSubjectValues(java.lang.String name)
nSubjectValues in interface Contextpublic java.lang.String getSubjectValue(java.lang.String name)
getSubjectValue in interface Contextpublic java.lang.String[] getSubjectValues(java.lang.String name)
getSubjectValues in interface Contextpublic java.util.Iterator actionAttributes()
actionAttributes in interface Contextpublic int nActionValues(java.lang.String name)
nActionValues in interface Contextpublic java.lang.String getActionValue(java.lang.String name)
getActionValue in interface Contextpublic java.lang.String[] getActionValues(java.lang.String name)
getActionValues in interface Contextpublic java.util.Iterator resourceAttributes()
resourceAttributes in interface Contextpublic int nResourceValues(java.lang.String name)
nResourceValues in interface Contextpublic java.lang.String getResourceValue(java.lang.String name)
getResourceValue in interface Contextpublic java.lang.String[] getResourceValues(java.lang.String name)
getResourceValues in interface Contextpublic void setActionAttributes(MultiValueMap actionAttributes)
setActionAttributes in interface Contextpublic void setResourceAttributes(MultiValueMap resourceAttributes)
setResourceAttributes in interface Contextpublic java.lang.String getPassword()
getPassword in interface Contextpublic java.util.Date now()
now in interface Contextpublic boolean getNoOp()
getNoOp in interface Contextpublic java.util.Iterator getRecoveryNames()
RecoveryContext
getRecoveryNames in interface RecoveryContextpublic java.lang.String getRecoveryValue(java.lang.String attribute)
RecoveryContextnull if no such value exists in this context.
getRecoveryValue in interface RecoveryContextpublic java.lang.String[] getRecoveryValues(java.lang.String attribute)
RecoveryContext
getRecoveryValues in interface RecoveryContextpublic java.lang.String toString()
toString in interface ContexttoString in class java.lang.Objectpublic MultiValueMap getActionAttributes()
public void setEnvironmentAttributes(MultiValueMap environmentAttributes)
public void setSubjectAttributes(MultiValueMap subjectAttributes)
public MultiValueMap getSubjectAttributes()
public MultiValueMap getResourceAttributes()
public void setRecoveryAttributes(MultiValueMap recoveryAttributes)
public MultiValueMap getRecoveryAttributes()
public void setRecoveryValue(java.lang.String attribute,
java.lang.String value)
public void setRecoveryValues(java.lang.String attribute,
java.lang.String[] values)
public void setNoOp(boolean noOp)
public void setPassword(java.lang.String password)
public void setNow(java.util.Date now)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||