Interface ExternalizableDataProvider
-
- All Known Implementing Classes:
SynchronizableContentsCollectionDataProvider
public interface ExternalizableDataProvider
This interface represents a provider of externalizables data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ExternalizableDataProvider.ExternalizableDataStatus
Enumeration for externalizable data status
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Set<String>
getExternalizableDataPaths(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 Detail
-
getExternalizableDataPaths
Set<String> getExternalizableDataPaths(ModelAwareDataHolder dataHolder)
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
default boolean isDataExternalizable(ModelAwareDataHolder dataHolder, ModelItem modelItem)
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
-
-