Project

General

Profile

« Previous | Next » 

Revision de3db973

Added by Patrick Plitzner over 5 years ago

ref #7502 code cleaning

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java
28 28

  
29 29

  
30 30
/**
31
 * <p>ReferenceEditorInput class.</p>
32 31
 *
33 32
 * @author p.ciardelli
34 33
 * @created 25.06.2009
35 34
 */
36 35
public class ReferenceEditorInput extends AbstractBulkEditorInput<Reference> {
37 36

  
38
	/**
39
	 *
40
	 */
41 37
	private static final long serialVersionUID = 3806243517765126749L;
42 38

  
43
	/** Constant <code>ID="bulkeditor.input.reference"</code> */
44 39
	public static final String ID = "bulkeditor.input.reference";
45 40

  
46 41
	private static ReferenceEditorInput instance;
47 42

  
48
	/**
49
	 * <p>getID</p>
50
	 *
51
	 * @return the iD
52
	 */
53 43
	public static String getID() {
54 44
		return ID;
55 45
	}
......
65 55
		return BulkEditorInputType.REFERENCE.label;
66 56
	}
67 57

  
68
	/**
69
	 * <p>Getter for the field <code>instance</code>.</p>
70
	 *
71
	 * @return a {@link eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput} object.
72
	 */
73 58
	public static AbstractBulkEditorInput getInstance() {
74 59
		if (instance == null) {
75 60
			instance = new ReferenceEditorInput();
......
77 62
		return instance;
78 63
	}
79 64

  
80
	/* (non-Javadoc)
81
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInput#isMergingEnabled()
82
	 */
83
	/** {@inheritDoc} */
84 65
	@Override
85 66
	public boolean isMergingEnabled() {
86 67
		return true;
87 68
	}
88 69

  
89
	/* (non-Javadoc)
90
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInput#isMarkerTypeEditingEnabled(eu.etaxonomy.cdm.model.common.MarkerType)
91
	 */
92
	/** {@inheritDoc} */
93 70
	@Override
94 71
	public boolean isMarkerTypeEditingEnabled(MarkerType markerType) {
95 72
		if (MarkerType.PUBLISH().equals(markerType)) {
......
118 95
		return CdmStore.getService(IReferenceService.class).load(entityUuid, propertyPaths);
119 96
	}
120 97

  
121
	/** {@inheritDoc}
122
	 * @throws ReferencedObjectUndeletableException */
123 98
	@Override
124 99
    public boolean delete(Reference entity, DeleteConfiguratorBase config) throws ReferencedObjectUndeletableException {
125 100
	    if (entity.getUuid() != null){
......
129 104
	    }
130 105
	}
131 106

  
132
	/** {@inheritDoc} */
133 107
	@Override
134 108
    public Reference save(Reference entity) {
135 109
	   return CdmStore.getService(IReferenceService.class).merge(entity, true).getMergedEntity();

Also available in: Unified diff