public void persist() throws SystemException { if (this.isNew()) { KaleoActionLocalServiceUtil.addKaleoAction(this); } else { KaleoActionLocalServiceUtil.updateKaleoAction(this); } }
/* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. All methods that expect a kaleo action model instance should use the {@link KaleoAction} interface instead. */ @Override public void persist() { if (this.isNew()) { KaleoActionLocalServiceUtil.addKaleoAction(this); } else { KaleoActionLocalServiceUtil.updateKaleoAction(this); } }