2 * Copyright (C) 2015 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.util
;
11 import java
.util
.ArrayList
;
12 import java
.util
.List
;
13 import java
.util
.UUID
;
15 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
21 public class OperationsUtil
{
23 public static List
<UUID
> convertToUuidList(List
<CdmBase
> cdmBaseList
) {
24 List
<UUID
> uuids
= new ArrayList
<>();
25 for(CdmBase cdmBase
: cdmBaseList
) {
29 uuids
.add(cdmBase
.getUuid());