Interface LocalConfiguration<T>
-
- All Superinterfaces:
DetachedAdapter
- All Known Subinterfaces:
ContentViewConfiguration
,DirectoryConfiguration
,LocalThemeConfig
,SimpleConfiguration
,UITypesConfiguration
,UserPreferences<T>
- All Known Implementing Classes:
AbstractLocalConfiguration
,ContentViewConfigurationAdapter
,DirectoryConfigurationAdapter
,LocalThemeConfigAdapter
,SimpleConfigurationAdapter
,SimpleUserPreferences
,UITypesConfigurationAdapter
public interface LocalConfiguration<T> extends DetachedAdapter
Interface that must be implemented by other interface representing a local configuration.- Since:
- 5.4.2
- Author:
- Thomas Roger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canMerge()
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.DocumentRef
getDocumentRef()
Returns the relatedDocumentRef
of this local configuration.T
merge(T other)
Merge thisLocalConfiguration
with another one.void
save(CoreSession session)
Save this LocalConfiguration.
-
-
-
Method Detail
-
getDocumentRef
DocumentRef getDocumentRef()
Returns the relatedDocumentRef
of this local configuration.
-
canMerge
boolean canMerge()
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.
-
save
void save(CoreSession session)
Save this LocalConfiguration.- Since:
- 5.5
-
-