Class MetadataService

    • Constructor Detail

      • MetadataService

        public MetadataService()
    • Method Detail

      • loadListValuesFromStream

        public List<MetadataListValue> loadListValuesFromStream​(InputStream stream,
                                                                MetadataTag tag,
                                                                boolean isHierarchyList)
        Load metadata from a input stream and return a list of metadata values. Note that this method contains database transactions.
        Parameters:
        stream - input stream
        tag - the metadata tag to get
        isHierarchyList - whether the list is a hierarchy list
        Returns:
        a list of metadata values