Class MetadataService


public class MetadataService extends CayenneService
Provides a meta data service.
See Also:
  • Constructor Details

    • MetadataService

      public MetadataService()
  • Method Details

    • 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