Sebastian Marcet 259768dca4 Added endpoint to get current selection plan by status
GET /api/v1/summits/all/selection-plans/current/{status}

where status could be
- submission
- selection
- voting

query params

expand
- summit
- track_groups

Change-Id: I1bc237d016261e7ae844103beef739d2b76cc6ca
2018-06-14 10:38:34 -07:00

51 lines
1.3 KiB
PHP

<?php namespace models\summit;
/**
* Copyright 2015 OpenStack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
use models\utils\IBaseRepository;
/**
* Interface ISummitRepository
* @package models\summit
*/
interface ISummitRepository extends IBaseRepository
{
/**
* @return Summit
*/
public function getCurrent();
/**
* @return Summit
*/
public function getActive();
/**
* @return Summit[]
*/
public function getAvailables();
/**
* @return Summit[]
*/
public function getAllOrderedByBeginDate();
/**
* @param string $name
* @return Summit
*/
public function getByName($name);
/**
* @return Summit[]
*/
public function getCurrentAndFutureSummits();
}