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

org.demoiselle.jee.crud.pagination.PaginationHelperConfig Maven / Gradle / Ivy

There is a newer version: 3.0.4
Show newest version
/*
 * Demoiselle Framework
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.demoiselle.jee.crud.pagination;

import org.demoiselle.jee.configuration.annotation.Configuration;

/**
 * Class responsible for hold configuration about Pagination feature.
 * 
 * @author SERPRO
 */ 
@Configuration(prefix = "demoiselle.crud.pagination")
public class PaginationHelperConfig {
	
    private Boolean isGlobalEnabled = Boolean.TRUE;
	private Integer defaultPagination = new Integer(20);

	public Integer getDefaultPagination() {
		return defaultPagination;
	}

    public Boolean getIsGlobalEnabled() {
        return isGlobalEnabled;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy