Aharoni, Pavel (pa0916) | ca3cb01 | 2018-10-22 15:29:57 +0300 | [diff] [blame] | 1 | /*-
|
| 2 | * ============LICENSE_START=======================================================
|
| 3 | * OSAM Core
|
| 4 | * ================================================================================
|
| 5 | * Copyright (C) 2018 Netsia
|
| 6 | * ================================================================================
|
| 7 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 | * you may not use this file except in compliance with the License.
|
| 9 | * You may obtain a copy of the License at
|
| 10 | *
|
| 11 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 12 | *
|
| 13 | * Unless required by applicable law or agreed to in writing, software
|
| 14 | * distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 | * See the License for the specific language governing permissions and
|
| 17 | * limitations under the License.
|
| 18 | * ============LICENSE_END=========================================================
|
| 19 | */
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 | package org.onap.osam.api.service;
|
| 24 |
|
| 25 | import org.onap.osam.model.dao.Service;
|
| 26 | import org.onap.osam.model.dao.SpeedProfile;
|
| 27 | import org.onap.osam.model.dao.TechnologyProfile;
|
| 28 |
|
| 29 | import java.util.List;
|
| 30 |
|
| 31 | /**
|
| 32 | * Created by cemturker on 18.09.2018.
|
| 33 | */
|
| 34 | public interface BroadBandService {
|
| 35 | /**
|
| 36 | *
|
| 37 | * @param speedProfile
|
| 38 | */
|
| 39 | SpeedProfile addSpeedProfile(SpeedProfile speedProfile);
|
| 40 |
|
| 41 | /**
|
| 42 | *
|
| 43 | * @param technologyProfile
|
| 44 | */
|
| 45 | TechnologyProfile addTechnologyProfile(TechnologyProfile technologyProfile);
|
| 46 |
|
| 47 | /**
|
| 48 | *
|
| 49 | * @param service
|
| 50 | */
|
| 51 | Service addService(Service service);
|
| 52 |
|
| 53 | /**
|
| 54 | *
|
| 55 | * @param id
|
| 56 | */
|
| 57 | void removeSpeedProfile(Long id);
|
| 58 |
|
| 59 | /**
|
| 60 | *
|
| 61 | * @param id
|
| 62 | */
|
| 63 | void removeTechnologyProfile(Long id);
|
| 64 |
|
| 65 | /**
|
| 66 | *
|
| 67 | * @param id
|
| 68 | */
|
| 69 | void removeService(Long id);
|
| 70 |
|
| 71 | /**
|
| 72 | *
|
| 73 | * @param id
|
| 74 | * @return
|
| 75 | */
|
| 76 | SpeedProfile getSpeedProfile(Long id);
|
| 77 |
|
| 78 | /**
|
| 79 | *
|
| 80 | * @param id
|
| 81 | * @return
|
| 82 | */
|
| 83 | TechnologyProfile getTechnologyProfile(Long id);
|
| 84 |
|
| 85 | /**
|
| 86 | *
|
| 87 | * @param id
|
| 88 | * @return
|
| 89 | */
|
| 90 | Service getService(Long id);
|
| 91 |
|
| 92 | /**
|
| 93 | *
|
| 94 | * @return
|
| 95 | */
|
| 96 | List<SpeedProfile> getSpeedProfiles();
|
| 97 |
|
| 98 | /**
|
| 99 | *
|
| 100 | * @return
|
| 101 | */
|
| 102 | List<TechnologyProfile> getTechnologyProfiles();
|
| 103 |
|
| 104 | /**
|
| 105 | *
|
| 106 | * @return
|
| 107 | */
|
| 108 | List<Service> getServices();
|
| 109 |
|
| 110 | }
|
| 111 |
|