private StaticContent constructStaticContent(String name, Location location, String description) {
   StaticContent staticContent = new StaticContent();
   staticContent.setLocation(location);
   staticContent.setName(name);
   staticContent.setDescription(description);
   return staticContent;
 }
 /**
  * update operation
  *
  * @param type
  * @param staticContent
  */
 public void save(String type, StaticContent staticContent) {
   staticContent.setLocation(Location.valueOf(type.toUpperCase(Locale.ENGLISH)));
   staticContentService.save(staticContent);
 }