public void persist() throws SystemException {
   if (this.isNew()) {
     DefinitionLocalServiceUtil.addDefinition(this);
   } else {
     DefinitionLocalServiceUtil.updateDefinition(this);
   }
 }
 /*
  * NOTE FOR DEVELOPERS:
  *
  * Never modify or reference this class directly. All methods that expect a definition model instance should use the {@link Definition} interface instead.
  */
 public void persist() throws SystemException {
   DefinitionLocalServiceUtil.updateDefinition(this);
 }