Class OrcidBulkPushScriptConfiguration<T extends OrcidBulkPush>

  • Type Parameters:
    T - the OrcidBulkPush type
    All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class OrcidBulkPushScriptConfiguration<T extends OrcidBulkPush>
    extends ScriptConfiguration<T>
    Script configuration for OrcidBulkPush.
    Author:
    Luca Giamminonni (luca.giamminonni at 4science.it)
    • Constructor Detail

      • OrcidBulkPushScriptConfiguration

        public OrcidBulkPushScriptConfiguration()
    • 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 OrcidBulkPush>
        Parameters:
        context - The relevant DSpace context
        Returns:
        A boolean indicating whether the script is allowed to execute or not