ItEr09S09AdministracionGrupos: Add new predefined criterion type, it's called LOCATION_GROUP.
This commit is contained in:
parent
c40c32d782
commit
b6f0ea9792
1 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
package org.navalplanner.business.resources.entities;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
|
@ -14,6 +14,13 @@ public enum PredefinedCriterionTypes implements ICriterionType<Criterion> {
|
|||
public List<Criterion> getPredefined() {
|
||||
return WorkingRelationship.getCriterions();
|
||||
}
|
||||
},
|
||||
LOCATION_GROUP(false, true) {
|
||||
|
||||
@Override
|
||||
public List<Criterion> getPredefined() {
|
||||
return Arrays.asList();
|
||||
}
|
||||
};
|
||||
|
||||
private final boolean allowHierarchy;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue