Interface ScriptService

  • All Known Implementing Classes:
    ScriptServiceImpl

    public interface ScriptService
    This service will deal with logic to handle DSpaceRunnable objects
    • 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