projects
/
habeas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manage Legal Notices - Description
[habeas.git]
/
src
/
habeas
/
DraftStatusDialog.java
diff --git
a/src/habeas/DraftStatusDialog.java
b/src/habeas/DraftStatusDialog.java
index
0154d47
..
0322a50
100644
(file)
--- a/
src/habeas/DraftStatusDialog.java
+++ b/
src/habeas/DraftStatusDialog.java
@@
-24,7
+24,8
@@
public class DraftStatusDialog extends javax.swing.JDialog {
initComponents();
}
initComponents();
}
- public void setDraftStatus (boolean created, boolean approved) {
+ public void setFields (int selid, boolean created, boolean approved) {
+ selectednotice_id = selid;
checkDraftCreated.setSelected(created);
checkDraftApproved.setSelected(approved);
}
checkDraftCreated.setSelected(created);
checkDraftApproved.setSelected(approved);
}
@@
-108,7
+109,7
@@
public class DraftStatusDialog extends javax.swing.JDialog {
private void buttonUpdateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonUpdateActionPerformed
// TODO add your handling code here:
private void buttonUpdateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonUpdateActionPerformed
// TODO add your handling code here:
- boolean rt = Utility.update
Legal
NoticeDraftStatus (selectednotice_id,
+ boolean rt = Utility.updateNoticeDraftStatus (selectednotice_id,
checkDraftCreated.isSelected(), checkDraftApproved.isSelected());
if (rt == false)
checkDraftCreated.isSelected(), checkDraftApproved.isSelected());
if (rt == false)
@@
-167,7
+168,4
@@
public class DraftStatusDialog extends javax.swing.JDialog {
private javax.swing.JCheckBox checkDraftCreated;
// End of variables declaration//GEN-END:variables
private javax.swing.JCheckBox checkDraftCreated;
// End of variables declaration//GEN-END:variables
- void setSelectedNotice(int selid) {
- selectednotice_id = selid;
- }
}
}