performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / editor / newWizard / NewFieldObservationWizard.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.editor.newWizard;
12
13 import org.apache.log4j.Logger;
14
15 import eu.etaxonomy.cdm.model.occurrence.FieldObservation;
16 import eu.etaxonomy.taxeditor.store.CdmStore;
17
18 /**
19 * <p>NewFieldObservationWizard class.</p>
20 *
21 * @author n.hoffmann
22 * @created Jun 17, 2010
23 * @version 1.0
24 */
25 public class NewFieldObservationWizard extends AbstractNewEntityWizard<FieldObservation> {
26 private static final Logger logger = Logger
27 .getLogger(NewFieldObservationWizard.class);
28
29 /* (non-Javadoc)
30 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#createNewEntity()
31 */
32 /** {@inheritDoc} */
33 @Override
34 protected FieldObservation createNewEntity() {
35 // TODO Auto-generated method stub
36 return null;
37 }
38
39 /* (non-Javadoc)
40 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#saveEntity()
41 */
42 /** {@inheritDoc} */
43 @Override
44 protected void saveEntity() {
45 CdmStore.getOccurrenceService().saveOrUpdate(entity);
46 }
47 }