Class SystemEntityImportDescriptor


  • public class SystemEntityImportDescriptor
    extends java.lang.Object
    SystemEntityImportDescriptor: Whether importing from system repository is supported and type restrictions.
    Since:
    4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemEntityImportDescriptor​(boolean supported, java.util.List<java.lang.String> types)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getDataSourceTypes()
      Get the list of data source types to import, null for all types.
      boolean isSupported()
      Whether importing entities from system repository is supported?
      void setDataSourceTypes​(java.util.List<java.lang.String> dataSourceTypes)
      Set the list of data source types to import, null for all types.
      void setSupported​(boolean supported)
      Set whether importing entities from system repository is supported.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemEntityImportDescriptor

        public SystemEntityImportDescriptor​(boolean supported,
                                            java.util.List<java.lang.String> types)
        Constructor.
        Parameters:
        supported - whether importing entities from system repository is supported
        types - a list of data source types to import, null for all types.
    • Method Detail

      • isSupported

        public boolean isSupported()
        Whether importing entities from system repository is supported?
        Returns:
        true if supported
      • setSupported

        public void setSupported​(boolean supported)
        Set whether importing entities from system repository is supported.
        Parameters:
        supported - true if supported
      • getDataSourceTypes

        public java.util.List<java.lang.String> getDataSourceTypes()
        Get the list of data source types to import, null for all types. TypedMenuNodeFactoryContext.getImportDataSourceTypes() will take precedence over this method for a typed menu node.
        Returns:
        a list of data source types
      • setDataSourceTypes

        public void setDataSourceTypes​(java.util.List<java.lang.String> dataSourceTypes)
        Set the list of data source types to import, null for all types. TypedMenuNodeFactoryContext.getImportDataSourceTypes() will take precedence over this method for a typed menu node.
        Parameters:
        dataSourceTypes - a list of data source types