Class SystemEntityImportDescriptor
- java.lang.Object
-
- com.cmobilecom.af.model.entimport.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.
-
-
-
Constructor Detail
-
SystemEntityImportDescriptor
public SystemEntityImportDescriptor(boolean supported, java.util.List<java.lang.String> types)
Constructor.- Parameters:
supported
- whether importing entities from system repository is supportedtypes
- 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
-
-