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.uif.component.ConfigurableBase;
19
20 import java.io.Serializable;
21
22
23
24
25
26
27
28
29
30 public class HistoryEntry extends ConfigurableBase implements Serializable {
31 private static final long serialVersionUID = -8310916657379268794L;
32
33 private String viewId;
34 private String pageId;
35 private String title;
36 private String url;
37 private String formKey;
38
39 public HistoryEntry() {
40 super();
41 }
42
43 public HistoryEntry(String viewId, String pageId, String title, String url, String formKey) {
44 super();
45
46 this.viewId = viewId;
47 this.pageId = pageId;
48 this.title = title;
49 this.url = url;
50 this.formKey = formKey;
51 }
52
53 public String toParam() {
54 return viewId
55 + History.VAR_TOKEN
56 + pageId
57 + History.VAR_TOKEN
58 + title
59 + History.VAR_TOKEN
60 + url
61 + History.VAR_TOKEN
62 + formKey;
63 }
64
65
66
67
68
69
70 public String getViewId() {
71 return this.viewId;
72 }
73
74
75
76
77 public void setViewId(String viewId) {
78 this.viewId = viewId;
79 }
80
81
82
83
84
85
86 public String getPageId() {
87 return this.pageId;
88 }
89
90
91
92
93 public void setPageId(String pageId) {
94 this.pageId = pageId;
95 }
96
97
98
99
100
101
102 public String getTitle() {
103 return this.title;
104 }
105
106
107
108
109 public void setTitle(String title) {
110 this.title = title;
111 }
112
113
114
115
116
117
118 public String getUrl() {
119 return this.url;
120 }
121
122
123
124
125 public void setUrl(String url) {
126 this.url = url;
127 }
128
129
130
131
132 public String getFormKey() {
133 return this.formKey;
134 }
135
136
137
138
139
140
141
142 public void setFormKey(String formKey) {
143 this.formKey = formKey;
144 }
145
146 }