Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java,v diff -u -r1.5 -r1.6 --- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java 14 Jul 2005 02:17:12 -0000 1.5 +++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java 19 Jul 2005 07:11:55 -0000 1.6 @@ -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; } + }