Package org.dspace.scripts.service
Interface ScriptService
-
- All Known Implementing Classes:
ScriptServiceImpl
public interface ScriptServiceThis service will deal with logic to handle DSpaceRunnable objects
-
-
Method Summary
All Methods Instance Methods Abstract 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
DSpaceRunnable getScriptForName(String name)
This method will return the DSpaceRunnable that has the name that's equal to the name given in the parameters- Parameters:
name- The name that the script has to match- Returns:
- The matching DSpaceRunnable script
-
getDSpaceRunnables
List<DSpaceRunnable> getDSpaceRunnables(Context context)
This method will return a list of DSpaceRunnable objects for which the given Context is authorized to use them- Parameters:
context- The relevant DSpace context- Returns:
- The list of accessible DSpaceRunnable scripts for this context
-
-