/*
- * Copyright (C) 2017 - 2020 Free Software Foundation
+ * Copyright (C) 2017 - 2024 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
package org.mxchange.jjobs.beans.business.opening_time;
import java.io.Serializable;
-import java.util.List;
-import org.mxchange.jcontactsbusiness.exceptions.opening_time.OpeningTimeNotFoundException;
-import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime;
/**
* An interface for general opening times controller
*/
public interface JobsOpeningTimeWebRequestController extends Serializable {
- /**
- * Returns a list of all opening times
- * <p>
- * @return A list of all opening times
- */
- List<OpeningTime> allOpeningTimes ();
-
- /**
- * Retrieves a single company department entity for given id number or
- * throws a proper exception if not found.
- * <p>
- * @param openingId Company department id to lookup
- * <p>
- * @return Company department instance
- * <p>
- * @throws OpeningTimeNotFoundException If the id number could not be looked
- * up and solved into an entity
- */
- OpeningTime findOpeningTimeById (final Long openingId) throws OpeningTimeNotFoundException;
-
}