Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PolicySaver |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport | |
3 | * (http://www.vbs.admin.ch) | |
4 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
5 | * All rights reserved. | |
6 | * | |
7 | * Licensed under the Open Permis License which accompanies this distribution, | |
8 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
9 | */ | |
10 | package org.openpermis.editor.policy.view; | |
11 | ||
12 | import java.io.File; | |
13 | ||
14 | /** | |
15 | * Saver for policies. | |
16 | * @since 0.1.0 | |
17 | */ | |
18 | public interface PolicySaver { | |
19 | ||
20 | //---- Methods | |
21 | ||
22 | /** | |
23 | * Saves the policy. | |
24 | * @since 0.1.0 | |
25 | */ | |
26 | public void savePolicy (); | |
27 | ||
28 | /** | |
29 | * Saves the policy. | |
30 | * @since 0.1.0 | |
31 | */ | |
32 | public void savePolicyAs (); | |
33 | ||
34 | /** | |
35 | * Saves the policy to given file. | |
36 | * @param file the file to store the policy to. | |
37 | * @since 0.1.0 | |
38 | */ | |
39 | public void savePolicy (File file); | |
40 | ||
41 | } |