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

org.demoiselle.jee.crud.DemoiselleRequestContext 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;

import java.util.List;
import java.util.Set;

import org.demoiselle.jee.crud.sort.SortModel;

/**
 * Class used to make a Context of the Request and Response of CRUD feature.
 * 
 * @author SERPRO 
 */
public interface DemoiselleRequestContext {

    Integer getLimit();
    void setLimit(Integer limit);

    Integer getOffset();
    void setOffset(Integer offset);

    Long getCount();
    void setCount(Long count);
    
    Class getEntityClass();
    void setEntityClass(Class entityClass);
    
    TreeNodeField> getFilters();
    void setFilters(TreeNodeField> filters);
    
    List getSorts();
    void setSorts(List sorts);
    
    TreeNodeField> getFields();
    void setFields(TreeNodeField> fields);
    
    Boolean isPaginationEnabled();
    void setPaginationEnabled(Boolean isPaginationEnabled);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy