01: /**
02: *
03: */package org.enhydra.dm.api;
04:
05: import org.enhydra.dm.api.exceptions.BaseException;
06: import org.enhydra.dm.data.DocumentVersionDO;
07:
08: /**
09: * DocumentVersion interface that represents association with
10: * DocumentVersionDO object with additional business functionality extensions.
11: *
12: * @author Slobodan Vujasinovic
13: */
14: public interface DocumentVersion {
15:
16: public Document getDocument();
17:
18: public void setDocument(Document document);
19:
20: public String getFilepath();
21:
22: public void setFilepath(String filepath);
23:
24: public String getLastModifiedBy();
25:
26: public void setLastModifiedBy(String lastModifiedBy);
27:
28: public long getLastModifiedDate();
29:
30: public void setLastModifiedDate(long lastModifiedDate);
31:
32: public String getNumber();
33:
34: public void setNumber(String number);
35:
36: public String getId();
37:
38: public void setId(String id);
39:
40: public long getSize();
41:
42: public void setSize(long size);
43:
44: public long getVersionDate();
45:
46: public void setVersionDate(long versionDate);
47:
48: public FoDocument getFoDocumentRef();
49:
50: public void setFoDocumentRef(FoDocument foDocumentRef);
51:
52: public String getVersionNumber();
53:
54: public void setVersionNumber(String versionNumber);
55:
56: public DocumentVersionDO createVersionDO() throws BaseException;
57: }
|