Project

General

Profile

Download (1.12 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2020 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.remote.json.processor.bean;
10

    
11
import java.util.Arrays;
12
import java.util.List;
13

    
14
import eu.etaxonomy.cdm.api.service.dto.RegistrationDTO;
15
import net.sf.json.JSONObject;
16
import net.sf.json.JsonConfig;
17

    
18
/**
19
 * @author a.kohlbecker
20
 * @since Oct 8, 2020
21
 */
22
public class RegistrationDtoBeanProcessor extends AbstractBeanProcessor<RegistrationDTO> {
23

    
24
    @Override
25
    public List<String> getIgnorePropNames() {
26
        return Arrays.asList(
27
                "blockedBy",
28
                "blocked",
29
                "orderdTypeDesignationWorkingSets",
30
                "submitterUserName",
31
                "specificIdentifier",
32
                "typifiedName"
33
                );
34
    }
35

    
36

    
37

    
38
    @Override
39
    public JSONObject processBeanSecondStep(RegistrationDTO bean, JSONObject json, JsonConfig jsonConfig) {
40
        // nothing to do here
41
        return json;
42
    }
43

    
44
}
(16-16/29)