Small fix
This commit is contained in:
parent
3e15749b56
commit
24aba556ef
|
@ -82,10 +82,6 @@ public class Dmp {
|
||||||
|
|
||||||
public static final String _hash = "hash";
|
public static final String _hash = "hash";
|
||||||
|
|
||||||
private List<Description> dmpDescriptions;
|
|
||||||
|
|
||||||
public static final String _dmpDescriptions = "dmpDescriptions";
|
|
||||||
|
|
||||||
private List<DmpReference> dmpReferences;
|
private List<DmpReference> dmpReferences;
|
||||||
|
|
||||||
public static final String _dmpReferences = "dmpReferences";
|
public static final String _dmpReferences = "dmpReferences";
|
||||||
|
@ -238,14 +234,6 @@ public class Dmp {
|
||||||
this.hash = hash;
|
this.hash = hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Description> getDmpDescriptions() {
|
|
||||||
return dmpDescriptions;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDmpDescriptions(List<Description> dmpDescriptions) {
|
|
||||||
this.dmpDescriptions = dmpDescriptions;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<DmpReference> getDmpReferences() {
|
public List<DmpReference> getDmpReferences() {
|
||||||
return dmpReferences;
|
return dmpReferences;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,8 +40,6 @@ public class DmpCensor extends BaseCensor {
|
||||||
|
|
||||||
this.authService.authorizeForce(Permission.BrowseDmp);
|
this.authService.authorizeForce(Permission.BrowseDmp);
|
||||||
|
|
||||||
FieldSet dmpDescriptionsFields = fields.extractPrefixed(this.asIndexerPrefix(Dmp._dmpDescriptions));
|
|
||||||
this.censorFactory.censor(DescriptionCensor.class).censor(dmpDescriptionsFields, userId);
|
|
||||||
FieldSet dmpReferencesFields = fields.extractPrefixed(this.asIndexerPrefix(Dmp._dmpReferences));
|
FieldSet dmpReferencesFields = fields.extractPrefixed(this.asIndexerPrefix(Dmp._dmpReferences));
|
||||||
this.censorFactory.censor(DmpReferenceCensor.class).censor(dmpReferencesFields, userId);
|
this.censorFactory.censor(DmpReferenceCensor.class).censor(dmpReferencesFields, userId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue