public List<ArtifactObject> get() {
try {
return super.get(createFilter("(!(" + RepositoryUtil.escapeFilterValue(BundleHelper.KEY_RESOURCE_PROCESSOR_PID) + "=*))"));
}
catch (InvalidSyntaxException e) {
m_log.log(LogService.LOG_ERROR, "get's filter returned an InvalidSyntaxException.", e);
}
return new ArrayList<>();
}
@Override
ArtifactObjectImpl createNewInhabitant(Map<String, String> attributes, Map<String, String> tags) {
ArtifactHelper helper = getHelper(attributes.get(ArtifactObject.KEY_MIMETYPE));
ArtifactObjectImpl ao = new ArtifactObjectImpl(helper.checkAttributes(attributes), helper.getMandatoryAttributes(), tags, this, this);
return ao;
}
|