public class OpenmrsMetadataSaveHandler extends Object implements SaveHandler<OpenmrsMetadata>
OpenmrsMetadataobject is being saved. Trims out the leading and trailing whitespace around the name and description
|Constructor and Description|
|Modifier and Type||Method and Description|
This method is used by the implementing classes to set any required data that it needs to.
public void handle(OpenmrsMetadata object, User creator, Date dateCreated, String other)
object- an OpenmrsObject that needs to have some required data set
creator- the user who is saving this object
dateCreated- the datetime this object is being saved
other- (optional) would be the second argument in the save method, if exists
Should trim whitespace from name Should trim whitespace from description
Copyright © 2021 OpenMRS Inc.. All rights reserved.