/** * Creates a new layout set with the primary key. Does not add the layout set to the database. * * @param layoutSetId the primary key for the new layout set * @return the new layout set */ public LayoutSet create(long layoutSetId) { LayoutSet layoutSet = new LayoutSetImpl(); layoutSet.setNew(true); layoutSet.setPrimaryKey(layoutSetId); return layoutSet; }