Class ScriptServiceImpl

    • Constructor Detail

      • ScriptServiceImpl

        public ScriptServiceImpl()
    • Method Detail

      • getScriptForName

        public DSpaceRunnable getScriptForName​(String name)
        Description copied from interface: ScriptService
        This method will return the DSpaceRunnable that has the name that's equal to the name given in the parameters
        Specified by:
        getScriptForName in interface ScriptService
        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: ScriptService
        This method will return a list of DSpaceRunnable objects for which the given Context is authorized to use them
        Specified by:
        getDSpaceRunnables in interface ScriptService
        Parameters:
        context - The relevant DSpace context
        Returns:
        The list of accessible DSpaceRunnable scripts for this context