litesoft
Diff Revisions
949
vs
950
for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/toolkit/ObjectAndAttributeInteractionModel.java
|
@@ -1,33 +1,33 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.aokeyhole.toolkit; |
3 |
|
- |
|
4 |
|
- |
import java.util.*; |
5 |
|
- |
|
6 |
|
- |
public interface ObjectAndAttributeInteractionModel { |
7 |
|
- |
/** |
8 |
|
- |
* Indicates if the model supports editing & saving. |
9 |
|
- |
*/ |
10 |
|
- |
public boolean isViewOnly(); |
11 |
|
- |
|
12 |
|
- |
/** |
13 |
|
- |
* Saves the model appropriately. |
14 |
|
- |
* |
15 |
|
- |
* @return null / an Error String |
16 |
|
- |
*/ |
17 |
|
- |
public String save(); |
18 |
|
- |
|
19 |
|
- |
/** |
20 |
|
- |
* Get the Current Object Names. (the 'new' option will be added to the top) |
21 |
|
- |
* |
22 |
|
- |
* @return No nulls |
23 |
|
- |
*/ |
24 |
|
- |
public String[] getObjectNames(); |
25 |
|
- |
|
26 |
|
- |
public Map getValuesPanelObjectNew(); |
27 |
|
- |
|
28 |
|
- |
public Map getValuesPanelObjectCurrent(); |
29 |
|
- |
|
30 |
|
- |
public Map getValuesPanelAttributeNew(); |
31 |
|
- |
|
32 |
|
- |
public Map getValuesPanelAttributeExisting(); |
33 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.aokeyhole.toolkit; |
|
3 |
+ |
|
|
4 |
+ |
import java.util.*; |
|
5 |
+ |
|
|
6 |
+ |
public interface ObjectAndAttributeInteractionModel { |
|
7 |
+ |
/** |
|
8 |
+ |
* Indicates if the model supports editing & saving. |
|
9 |
+ |
*/ |
|
10 |
+ |
public boolean isViewOnly(); |
|
11 |
+ |
|
|
12 |
+ |
/** |
|
13 |
+ |
* Saves the model appropriately. |
|
14 |
+ |
* |
|
15 |
+ |
* @return null / an Error String |
|
16 |
+ |
*/ |
|
17 |
+ |
public String save(); |
|
18 |
+ |
|
|
19 |
+ |
/** |
|
20 |
+ |
* Get the Current Object Names. (the 'new' option will be added to the top) |
|
21 |
+ |
* |
|
22 |
+ |
* @return No nulls |
|
23 |
+ |
*/ |
|
24 |
+ |
public String[] getObjectNames(); |
|
25 |
+ |
|
|
26 |
+ |
public Map getValuesPanelObjectNew(); |
|
27 |
+ |
|
|
28 |
+ |
public Map getValuesPanelObjectCurrent(); |
|
29 |
+ |
|
|
30 |
+ |
public Map getValuesPanelAttributeNew(); |
|
31 |
+ |
|
|
32 |
+ |
public Map getValuesPanelAttributeExisting(); |
|
33 |
+ |
} |