
org.dspace.statistics.content.DatasetSearchGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
The 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.statistics.content;
/**
* @author Kevin Van de Velde (kevin at atmire dot com)
* @author Ben Bosman (ben at atmire dot com)
* @author Mark Diggory (markd at atmire dot com)
*/
public class DatasetSearchGenerator extends DatasetTypeGenerator {
public static enum Mode {
SEARCH_OVERVIEW("search_overview"),
SEARCH_OVERVIEW_TOTAL("search_overview_total");
private final String text;
Mode(String text) {
this.text = text;
}
public String text() {
return text;
}
}
private Mode mode;
private boolean percentage = false;
private boolean retrievePageViews;
public boolean isRetrievePageViews() {
return retrievePageViews;
}
public void setRetrievePageViews(boolean retrievePageViews) {
this.retrievePageViews = retrievePageViews;
}
public void setPercentage(boolean percentage) {
this.percentage = percentage;
}
public boolean isPercentage() {
return percentage;
}
public Mode getMode() {
return mode;
}
public void setMode(Mode mode) {
this.mode = mode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy