Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java =================================================================== diff -u -r66cd2357155016230b9ca14d7c130d0a51021b9d -rbddaa729cc98a291e44333cbf240ce45dba9111e --- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java (.../NoticeboardContent.java) (revision 66cd2357155016230b9ca14d7c130d0a51021b9d) +++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java (.../NoticeboardContent.java) (revision bddaa729cc98a291e44333cbf240ce45dba9111e) @@ -26,6 +26,7 @@ import java.util.HashSet; +import org.apache.commons.lang.builder.EqualsBuilder; /** * Persistent noticeboard object/bean that defines the content for the noticeboard tool. * Provides accessors and mutators to get/set noticeboard attributes @@ -86,6 +87,7 @@ String offlineInstructions, boolean defineLater, boolean forceOffline, + boolean contentInUse, Long creatorUserId, Date dateCreated, Date dateUpdated) @@ -97,6 +99,7 @@ this.offlineInstructions = offlineInstructions; this.defineLater = defineLater; this.forceOffline = forceOffline; + this.contentInUse = contentInUse; this.creatorUserId = creatorUserId; this.dateCreated = dateCreated; this.dateUpdated = dateUpdated; @@ -121,6 +124,7 @@ this.offlineInstructions = offlineInstructions; this.defineLater = false; this.forceOffline = false; + this.contentInUse = false; this.creatorUserId = null; this.dateCreated = dateCreated; this.dateUpdated = null; @@ -334,11 +338,13 @@ nb.getOfflineInstructions(), nb.isDefineLater(), nb.isForceOffline(), + nb.isContentInUse(), nb.getCreatorUserId(), nb.getDateCreated(), nb.getDateUpdated()); return newContent; } + }