public DocumentType getDocumentType(final String type) {
        return typeToDocumentTypeMap.get(type);
    }
@return Only those types that the user has VIEW permission on
stroom-core-shared/src/main/java/stroom/explorer/shared/DocumentTypes.java