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/NameRelationshipEditorInput.java
22 22
import eu.etaxonomy.taxeditor.store.CdmStore;
23 23

  
24 24
/**
25
 * <p>NameRelationshipEditorInput class.</p>
26
 *
27 25
 * @author n.hoffmann
28 26
 * @created Oct 19, 2010
29 27
 * @version 1.0
30 28
 */
31 29
public class NameRelationshipEditorInput extends AbstractBulkEditorInput<NameRelationship> {
32 30

  
33
	/**
34
	 *
35
	 */
36 31
	private static final long serialVersionUID = -7453923697752787687L;
37 32

  
38
	/** Constant <code>ID="bulkeditor.input.nameRelationship"</code> */
39 33
	public static final String ID = "bulkeditor.input.nameRelationship";
40 34

  
41 35
	private static NameRelationshipEditorInput instance;
42 36

  
43
	/**
44
	 * <p>Getter for the field <code>instance</code>.</p>
45
	 *
46
	 * @return a {@link eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput} object.
47
	 */
48 37
	public static AbstractBulkEditorInput<NameRelationship> getInstance(){
49 38
		if(instance == null){
50 39
			instance = new NameRelationshipEditorInput();
......
63 52
		return BulkEditorInputType.NAME_RELATIONSHIP.label;
64 53
	}
65 54

  
66
	/* (non-Javadoc)
67
	 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityPersistenceService#save(java.lang.Object)
68
	 */
69
	/** {@inheritDoc} */
70 55
	@Override
71 56
	public NameRelationship save(NameRelationship entity) {
72 57
		// TODO Auto-generated method stub
73 58
		return null;
74 59
	}
75 60

  
76
	/* (non-Javadoc)
77
	 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityPersistenceService#delete(java.lang.Object)
78
	 */
79
	/** {@inheritDoc} */
80 61
	@Override
81 62
	public boolean delete(NameRelationship entity, DeleteConfiguratorBase config) {
82 63
		// TODO Auto-generated method stub
......
90 71
	    return CdmStore.getCommonService().count(NameRelationship.class);
91 72
	}
92 73

  
93
	/* (non-Javadoc)
94
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput#listEntities(eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator)
95
	 */
96
	/** {@inheritDoc} */
97 74
	@Override
98 75
	protected List<NameRelationship> listEntities(
99 76
			IIdentifiableEntityServiceConfigurator configurator) {
100 77
		return CdmStore.getSearchManager().findNameRelationships(configurator);
101 78
	}
102 79

  
103
	/* (non-Javadoc)
104
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput#loadEntity(java.util.UUID)
105
	 */
106
	/** {@inheritDoc} */
107 80
	@Override
108 81
	protected NameRelationship loadEntity(UUID entityUuid) {
109 82
		List<String> propertyPaths = Arrays.asList(new String[]{});
110 83
		return null; // CdmStore.getNameService().load(entityUuid, propertyPaths);
111 84
	}
112 85

  
113
	/* (non-Javadoc)
114
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput#createEntityCreator()
115
	 */
116 86
	@Override
117 87
	protected IEntityCreator<NameRelationship> createEntityCreator() {
118 88
		MessagingUtils.notImplementedMessage(getClass());
119 89
		return null;
120 90
	}
121 91

  
122
	/* (non-Javadoc)
123
	 * @see eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput#getTypeText(java.lang.Object)
124
	 */
125 92
	@Override
126 93
	public String getTypeText(Object entity) {
127 94
		if(entity instanceof NameRelationship){
......
131 98
		return super.getTypeText(entity);
132 99
	}
133 100

  
134
    /* (non-Javadoc)
135
     * @see eu.etaxonomy.taxeditor.editor.CdmEntitySessionInput#merge()
136
     */
137 101
    @Override
138 102
    public void merge() {
139 103

  

Also available in: Unified diff