Interface ExternalizableDataProvider
- All Known Implementing Classes:
SynchronizableContentsCollectionDataProvider
public interface ExternalizableDataProvider
This interface represents a provider of externalizables data.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Enumeration for externalizable data status -
Method Summary
Modifier and TypeMethodDescriptiongetExternalizableDataPaths
(ModelAwareDataHolder dataHolder) Get the paths of data that can be valued externally or locally.default boolean
isDataExternalizable
(ModelAwareDataHolder dataHolder, ModelItem modelItem) Checks if the data of given model item is externalizableboolean
isDataExternalizable
(ModelAwareDataHolder dataHolder, ModelItem modelItem, Map<String, Object> context) Checks if the data of given model item is externalizable in the given context
-
Method Details
-
getExternalizableDataPaths
Get the paths of data that can be valued externally or locally.- Parameters:
dataHolder
- The externalizable data holder- Returns:
- The paths of data that can be valued externally or locally
-
isDataExternalizable
Checks if the data of given model item is externalizable- Parameters:
dataHolder
- The externalizable data holdermodelItem
- the model item- Returns:
true
if the data of given model item is externalizable,false
otherwise
-
isDataExternalizable
boolean isDataExternalizable(ModelAwareDataHolder dataHolder, ModelItem modelItem, Map<String, Object> context) Checks if the data of given model item is externalizable in the given context- Parameters:
dataHolder
- The externalizable data holdermodelItem
- the model itemcontext
- the context that can be used to determine if the data is externalizable- Returns:
true
if the data of given model item is externalizable,false
otherwise
-