Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.localconfiguration
Interface LocalConfiguration<T>

All Superinterfaces:
DetachedAdapter
All Known Subinterfaces:
ContentViewConfiguration, DirectoryConfiguration, LocalThemeConfig, SearchLocalConfiguration, SimpleConfiguration, UITypesConfiguration, UserPreferences<T>
All Known Implementing Classes:
AbstractLocalConfiguration, ContentViewConfigurationAdapter, DirectoryConfigurationAdapter, LocalThemeConfigAdapter, SearchLocalConfigurationAdapter, 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
 boolean canMerge()
          Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.
 DocumentRef getDocumentRef()
          Returns the related DocumentRef of this local configuration.
 T merge(T other)
          Merge this LocalConfiguration with another one.
 void save(CoreSession session)
          Save this LocalConfiguration.
 

Method Detail

getDocumentRef

DocumentRef getDocumentRef()
Returns the related DocumentRef of this local configuration.


canMerge

boolean canMerge()
Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.


merge

T merge(T other)
Merge this LocalConfiguration with another one.


save

void save(CoreSession session)
          throws ClientException
Save this LocalConfiguration.

Throws:
ClientException
Since:
5.4.3

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.