use of fi.otavanopisto.muikku.plugins.material.events.BinaryMaterialUpdateEvent in project muikku by otavanopisto.
the class BinaryMaterialController method updateBinaryMaterialContent.
public BinaryMaterial updateBinaryMaterialContent(BinaryMaterial binaryMaterial, byte[] content) {
BinaryMaterial material = binaryMaterialDAO.updateContent(binaryMaterial, content);
materialUpdateEvent.fire(new BinaryMaterialUpdateEvent(material));
return material;
}
Aggregations