@Override public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException { return centroPersistence.findByPrimaryKey(primaryKeyObj); }
/** * Returns the centro with the primary key. * * @param id_centro the primary key of the centro * @return the centro * @throws PortalException if a centro with the primary key could not be found * @throws SystemException if a system exception occurred */ @Override public Centro getCentro(long id_centro) throws PortalException, SystemException { return centroPersistence.findByPrimaryKey(id_centro); }