/** * Adds the website to the database. Also notifies the appropriate model listeners. * * @param website the website * @return the website that was added */ @Indexable(type = IndexableType.REINDEX) @Override public Website addWebsite(Website website) { website.setNew(true); return websitePersistence.update(website); }