@Override public void persist() throws SystemException { if (this.isNew()) { KaleoTaskAssignmentInstanceLocalServiceUtil.addKaleoTaskAssignmentInstance(this); } else { KaleoTaskAssignmentInstanceLocalServiceUtil.updateKaleoTaskAssignmentInstance(this); } }
@Override public List<KaleoTaskAssignmentInstance> getKaleoTaskAssignmentInstances() { return KaleoTaskAssignmentInstanceLocalServiceUtil.getKaleoTaskAssignmentInstances( getKaleoTaskInstanceTokenId()); }