01: package org.enhydra.dm.api;
02:
03: import org.enhydra.dm.api.exceptions.BaseException;
04: import org.enhydra.dm.data.FoDocumentDO;
05:
06: /**
07: * FoDocument interface that represents association with FoDocumentDO
08: * object with additional business functionality extensions.
09: *
10: * @author Zorica Dudarin
11: */
12: public interface FoDocument {
13:
14: public String getId();
15:
16: public void setId(String id);
17:
18: public String getUserPassword();
19:
20: public void setUserPassword(String userPassword);
21:
22: public String getOwnerPassword();
23:
24: public void setOwnerPassword(String ownerPassword);
25:
26: public boolean isAllowPrint();
27:
28: public void setAllowPrint(boolean allowPrint);
29:
30: public boolean isAllowCopyContent();
31:
32: public void setAllowCopyContent(boolean allowCopyContent);
33:
34: public boolean isAllowEditContent();
35:
36: public void setAllowEditContent(boolean allowEditContent);
37:
38: public boolean isAllowEditAnnotation();
39:
40: public void setAllowEditAnnotation(boolean allowEditAnnotation);
41:
42: public FoDocumentDO createDO() throws BaseException;
43: }
|