Class MediaFilterScriptConfiguration<T extends MediaFilterScript>

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class MediaFilterScriptConfiguration<T extends MediaFilterScript>
    extends ScriptConfiguration<T>
    • Constructor Detail

      • MediaFilterScriptConfiguration

        public MediaFilterScriptConfiguration()
    • Method Detail

      • isAllowedToExecute

        public boolean isAllowedToExecute​(Context context)
        Description copied from class: ScriptConfiguration
        This method will return if the script is allowed to execute in the given context. This is by default set to the currentUser in the context being an admin, however this can be overwritten by each script individually if different rules apply
        Specified by:
        isAllowedToExecute in class ScriptConfiguration<T extends MediaFilterScript>
        Parameters:
        context - The relevant DSpace context
        Returns:
        A boolean indicating whether the script is allowed to execute or not