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 booleancanMerge()Returnstrueif thisLocalConfigurationaccepted to be merged with a parent configuration,falseotherwise.DocumentRefgetDocumentRef()Returns the relatedDocumentRefof this local configuration.Tmerge(T other)Merge thisLocalConfigurationwith another one.voidsave(CoreSession session)Save this LocalConfiguration.
-
-
-
Method Detail
-
getDocumentRef
DocumentRef getDocumentRef()
Returns the relatedDocumentRefof this local configuration.
-
canMerge
boolean canMerge()
Returnstrueif thisLocalConfigurationaccepted to be merged with a parent configuration,falseotherwise.
-
save
void save(CoreSession session)
Save this LocalConfiguration.- Since:
- 5.5
-
-