1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.krad.uif.container; |
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 | 0 | private boolean allowsNoteAttachments = true; |
37 | 0 | private boolean allowsNoteFYI = false; |
38 | 0 | private boolean displayTopicFieldInNotes = false; |
39 | |
|
40 | |
private Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass; |
41 | |
|
42 | |
public DocumentView() { |
43 | 0 | super(); |
44 | 0 | } |
45 | |
|
46 | |
public Class<? extends Document> getDocumentClass() { |
47 | 0 | return this.documentClass; |
48 | |
} |
49 | |
|
50 | |
public void setDocumentClass(Class<? extends Document> documentClass) { |
51 | 0 | this.documentClass = documentClass; |
52 | 0 | } |
53 | |
|
54 | |
public boolean isAllowsNoteAttachments() { |
55 | 0 | return this.allowsNoteAttachments; |
56 | |
} |
57 | |
|
58 | |
public void setAllowsNoteAttachments(boolean allowsNoteAttachments) { |
59 | 0 | this.allowsNoteAttachments = allowsNoteAttachments; |
60 | 0 | } |
61 | |
|
62 | |
public boolean isAllowsNoteFYI() { |
63 | 0 | return this.allowsNoteFYI; |
64 | |
} |
65 | |
|
66 | |
public void setAllowsNoteFYI(boolean allowsNoteFYI) { |
67 | 0 | this.allowsNoteFYI = allowsNoteFYI; |
68 | 0 | } |
69 | |
|
70 | |
public boolean isDisplayTopicFieldInNotes() { |
71 | 0 | return this.displayTopicFieldInNotes; |
72 | |
} |
73 | |
|
74 | |
public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes) { |
75 | 0 | this.displayTopicFieldInNotes = displayTopicFieldInNotes; |
76 | 0 | } |
77 | |
|
78 | |
public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass() { |
79 | 0 | return this.attachmentTypesValuesFinderClass; |
80 | |
} |
81 | |
|
82 | |
public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass) { |
83 | 0 | this.attachmentTypesValuesFinderClass = attachmentTypesValuesFinderClass; |
84 | 0 | } |
85 | |
|
86 | |
} |