diff --git a/content/content-tool/tool/src/java/org/sakaiproject/content/entityproviders/ContentEntityProvider.java b/content/content-tool/tool/src/java/org/sakaiproject/content/entityproviders/ContentEntityProvider.java index 35ced9228976..084a9f170a56 100644 --- a/content/content-tool/tool/src/java/org/sakaiproject/content/entityproviders/ContentEntityProvider.java +++ b/content/content-tool/tool/src/java/org/sakaiproject/content/entityproviders/ContentEntityProvider.java @@ -305,14 +305,15 @@ private void setContentItemValues(ContentEntity entity, item.setAuthor(getDisplayName(props.getProperty(ResourceProperties.PROP_CREATOR))); item.setModifiedDate(props.getProperty(ResourceProperties.PROP_MODIFIED_DATE)); item.setContainer(entity.getContainingCollection().getReference()); - item.isVisible = !entity.isHidden() && entity.isAvailable(); - item.isHidden = entity.isHidden(); + item.setVisible( !entity.isHidden() && entity.isAvailable() ); + item.setHidden( entity.isHidden() ); if(entity.getReleaseDate() != null) { - item.setFromDate(entity.getReleaseDate().toStringGmtFull()); - } + item.setFromDate(entity.getReleaseDate().toStringGmtFull()); + } if(entity.getRetractDate()!=null) { - item.setEndDate(entity.getRetractDate().toStringGmtFull()); + item.setEndDate(entity.getRetractDate().toStringGmtFull()); } + item.setCopyrightAlert(props.getProperty(props.getNamePropCopyrightAlert()) ); } /** @@ -511,6 +512,9 @@ public static class ContentItem { @Getter @Setter private String endDate; + + @Getter @Setter + private String copyrightAlert; } /**