|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.sword.SWORDService
public class SWORDService
| Field Summary | |
|---|---|
static org.apache.log4j.Logger |
log
Log4j logging instance |
| Constructor Summary | |
|---|---|
SWORDService(SWORDContext sc)
Construct a new service instance around the given authenticated sword context |
|
| Method Summary | |
|---|---|
Context |
getContext()
|
String |
getFilename(Context context,
Deposit deposit,
boolean original)
Construct the most appropriate filename for the incoming deposit |
SWORDConfiguration |
getSwordConfig()
|
SWORDContext |
getSwordContext()
|
String |
getTempFilename()
Get the name of the temp files that should be used |
SWORDUrlManager |
getUrlManager()
|
StringBuilder |
getVerboseDescription()
|
boolean |
isVerbose()
|
void |
message(String message)
shortcut to registering a message with the verboseDescription member variable. |
void |
setSwordConfig(SWORDConfiguration swordConfig)
|
void |
setSwordContext(SWORDContext swordContext)
|
void |
setUrlManager(SWORDUrlManager urlManager)
|
void |
setVerbose(boolean verbose)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public SWORDService(SWORDContext sc)
sc - | Method Detail |
|---|
public SWORDUrlManager getUrlManager()
public void setUrlManager(SWORDUrlManager urlManager)
public SWORDContext getSwordContext()
public void setSwordContext(SWORDContext swordContext)
public SWORDConfiguration getSwordConfig()
public void setSwordConfig(SWORDConfiguration swordConfig)
public Context getContext()
public boolean isVerbose()
public void setVerbose(boolean verbose)
public StringBuilder getVerboseDescription()
public void message(String message)
message -
public String getFilename(Context context,
Deposit deposit,
boolean original)
throws DSpaceSWORDException
context - deposit - original -
DSpaceSWORDExceptionpublic String getTempFilename()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||