public void persist() throws SystemException { if (this.isNew()) { KaleoInstanceTokenLocalServiceUtil.addKaleoInstanceToken(this); } else { KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(this); } }
@Override public KaleoInstanceToken getKaleoInstanceToken() throws PortalException { return KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceToken(getKaleoInstanceTokenId()); }