All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.discovery.configuration;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author Kevin Van de Velde (kevin at atmire dot com)
 */
public class DiscoveryRecentSubmissionsConfiguration {

    private String metadataSortField;
    private String type;

    private int max = 5;
    private boolean useAsHomePage;

    public String getMetadataSortField() {
        return metadataSortField;
    }

    @Autowired(required = true)
    public void setMetadataSortField(String metadataSortField) {
        this.metadataSortField = metadataSortField;
    }

    public int getMax() {
        return max;
    }

    @Autowired(required = true)
    public void setMax(int max) {
        this.max = max;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setUseAsHomePage(boolean useAsHomePage) {
        this.useAsHomePage = useAsHomePage;
    }

    public boolean getUseAsHomePage() {
        return useAsHomePage;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy