/** * Creates a value object representing the current settings for the landingpage. * * @param domObj The technical landingpage to be represented as value object. * @return A value object representation of the given landingpage. */ public static VOPublicLandingpage toVOLandingpage(PublicLandingpage domObj) { if (domObj == null) { return null; } VOPublicLandingpage voObj = new VOPublicLandingpage(); updateValueObject(voObj, domObj); voObj.setMarketplaceId(domObj.getMarketplace().getMarketplaceId()); voObj.setNumberServices(domObj.getNumberServices()); voObj.setFillinCriterion(domObj.getFillinCriterion()); // LandingpageProductAssembler is NOT called because of cyclic depency // between projects 'oscm-marketplaceservice-intsvc' and // 'oscm-serviceprovisioning-intsvc'. Please call the // LandingpageProductAssembler in LandingpageServiceBean! return voObj; }