Package org.dspace.scripts
Class ScriptServiceImpl
- java.lang.Object
-
- org.dspace.scripts.ScriptServiceImpl
-
- All Implemented Interfaces:
ScriptService
public class ScriptServiceImpl extends Object implements ScriptService
The implementation for theScriptService
-
-
Constructor Summary
Constructors Constructor Description ScriptServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DSpaceRunnable>getDSpaceRunnables(Context context)This method will return a list of DSpaceRunnable objects for which the given Context is authorized to use themDSpaceRunnablegetScriptForName(String name)This method will return the DSpaceRunnable that has the name that's equal to the name given in the parameters
-
-
-
Method Detail
-
getScriptForName
public DSpaceRunnable getScriptForName(String name)
Description copied from interface:ScriptServiceThis method will return the DSpaceRunnable that has the name that's equal to the name given in the parameters- Specified by:
getScriptForNamein interfaceScriptService- Parameters:
name- The name that the script has to match- Returns:
- The matching DSpaceRunnable script
-
getDSpaceRunnables
public List<DSpaceRunnable> getDSpaceRunnables(Context context)
Description copied from interface:ScriptServiceThis method will return a list of DSpaceRunnable objects for which the given Context is authorized to use them- Specified by:
getDSpaceRunnablesin interfaceScriptService- Parameters:
context- The relevant DSpace context- Returns:
- The list of accessible DSpaceRunnable scripts for this context
-
-