org.seedstack.business.view.View Maven / Gradle / Ivy
The newest version!
/*
* Copyright © 2013-2024, The SeedStack authors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.view;
import java.io.Serializable;
import java.util.List;
/**
* View is a viewpoint of an already Result list. It focus on
* providing a portion of the list.
*
* Lists can come from anywhere.
*
* It won't handle external aspects like ordering or filtering, only a
* viewpoint segmentation.
*
* @param the item type
*/
@Deprecated
public interface View extends Serializable {
/**
* Returns the view of a result.
*
* @return the list of items.
*/
List getView();
}