Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.localconfiguration
Class AbstractLocalConfiguration<T>

java.lang.Object
  extended by org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<T>
All Implemented Interfaces:
DetachedAdapter, LocalConfiguration<T>
Direct Known Subclasses:
ContentViewConfigurationAdapter, DirectoryConfigurationAdapter, LocalThemeConfigAdapter, SearchLocalConfigurationAdapter, SimpleConfigurationAdapter, UITypesConfigurationAdapter

public abstract class AbstractLocalConfiguration<T>
extends Object
implements LocalConfiguration<T>

Base class for LocalConfiguration implementers.

Provides default implementation for most methods.

Since:
5.4.3
Author:
Thomas Roger

Constructor Summary
AbstractLocalConfiguration()
           
 
Method Summary
 boolean canMerge()
          Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.
 T merge(T other)
          Merge this LocalConfiguration with another one.
 void save(CoreSession session)
          Save this LocalConfiguration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration
getDocumentRef
 

Constructor Detail

AbstractLocalConfiguration

public AbstractLocalConfiguration()
Method Detail

canMerge

public boolean canMerge()
Description copied from interface: LocalConfiguration
Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.

Specified by:
canMerge in interface LocalConfiguration<T>

merge

public T merge(T other)
Description copied from interface: LocalConfiguration
Merge this LocalConfiguration with another one.

Specified by:
merge in interface LocalConfiguration<T>

save

public void save(CoreSession session)
          throws ClientException
Description copied from interface: LocalConfiguration
Save this LocalConfiguration.

Specified by:
save in interface LocalConfiguration<T>
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.