package org.pegadi.server;
import org.pegadi.model.Section;
import java.util.List;
/**
* User: jan-preben
* Date: Sep 22, 2010
*/
public interface SectionServer {
/**
* Returns the department with the given ID
*
* @param ID the ID of the department
* @return an department, or null if no department found
*/
public Section getDepartment(int ID);
/**
* Returns all available departments
*
* @return an array of <code>Section</code>s.
*/
public List<Section> getDepartments();
}