1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.view;
17
18 import org.kuali.rice.krad.document.Document;
19 import org.kuali.rice.krad.keyvalues.KeyValuesFinder;
20
21
22
23
24
25
26
27
28
29
30
31 public class DocumentView extends FormView {
32 private static final long serialVersionUID = 2251983409572774175L;
33
34 private Class<? extends Document> documentClass;
35
36 private boolean allowsNoteAttachments = true;
37 private boolean allowsNoteFYI = false;
38 private boolean displayTopicFieldInNotes = false;
39
40 private Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass;
41
42 public DocumentView() {
43 super();
44 }
45
46 public Class<? extends Document> getDocumentClass() {
47 return this.documentClass;
48 }
49
50 public void setDocumentClass(Class<? extends Document> documentClass) {
51 this.documentClass = documentClass;
52 }
53
54 public boolean isAllowsNoteAttachments() {
55 return this.allowsNoteAttachments;
56 }
57
58 public void setAllowsNoteAttachments(boolean allowsNoteAttachments) {
59 this.allowsNoteAttachments = allowsNoteAttachments;
60 }
61
62 public boolean isAllowsNoteFYI() {
63 return this.allowsNoteFYI;
64 }
65
66 public void setAllowsNoteFYI(boolean allowsNoteFYI) {
67 this.allowsNoteFYI = allowsNoteFYI;
68 }
69
70 public boolean isDisplayTopicFieldInNotes() {
71 return this.displayTopicFieldInNotes;
72 }
73
74 public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes) {
75 this.displayTopicFieldInNotes = displayTopicFieldInNotes;
76 }
77
78 public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass() {
79 return this.attachmentTypesValuesFinderClass;
80 }
81
82 public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass) {
83 this.attachmentTypesValuesFinderClass = attachmentTypesValuesFinderClass;
84 }
85
86 }