protected static class NuxeoCmisServiceFactoryManager.NuxeoCmisServiceFactoryDescriptorRegistry extends SimpleContributionRegistry<NuxeoCmisServiceFactoryDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
currentContribs
contribs
Modifier | Constructor and Description |
---|---|
protected |
NuxeoCmisServiceFactoryDescriptorRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
NuxeoCmisServiceFactoryDescriptor |
clone(NuxeoCmisServiceFactoryDescriptor orig)
CLone the given contribution object
|
String |
getContributionId(NuxeoCmisServiceFactoryDescriptor contrib)
Returns the contribution ID given the contribution object
|
NuxeoCmisServiceFactoryDescriptor |
getNuxeoCmisServiceFactoryDescriptor() |
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
void |
merge(NuxeoCmisServiceFactoryDescriptor src,
NuxeoCmisServiceFactoryDescriptor dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContribution
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment
protected NuxeoCmisServiceFactoryDescriptorRegistry()
public String getContributionId(NuxeoCmisServiceFactoryDescriptor contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<NuxeoCmisServiceFactoryDescriptor>
public NuxeoCmisServiceFactoryDescriptor clone(NuxeoCmisServiceFactoryDescriptor orig)
ContributionFragmentRegistry
clone
in class SimpleContributionRegistry<NuxeoCmisServiceFactoryDescriptor>
public void merge(NuxeoCmisServiceFactoryDescriptor src, NuxeoCmisServiceFactoryDescriptor dst)
ContributionFragmentRegistry
merge
in class SimpleContributionRegistry<NuxeoCmisServiceFactoryDescriptor>
src
- the object to copy over the 'dst' objectdst
- this object is modifiedpublic boolean isSupportingMerge()
ContributionFragmentRegistry
Hook method to be overridden if merge logics behind Object.clone()
and ContributionFragmentRegistry.merge(Object, Object)
cannot be
implemented.
isSupportingMerge
in class SimpleContributionRegistry<NuxeoCmisServiceFactoryDescriptor>
public void clear()
public NuxeoCmisServiceFactoryDescriptor getNuxeoCmisServiceFactoryDescriptor()
Copyright © 2017 Nuxeo. All rights reserved.