protected static class BlobManagerComponent.BlobProviderDescriptorRegistry extends SimpleContributionRegistry<BlobProviderDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
currentContribs
contribs
Modifier | Constructor and Description |
---|---|
protected |
BlobProviderDescriptorRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
BlobProviderDescriptor |
clone(BlobProviderDescriptor orig)
CLone the given contribution object
|
BlobProviderDescriptor |
getBlobProviderDescriptor(String id) |
String |
getContributionId(BlobProviderDescriptor contrib)
Returns the contribution ID given the contribution object
|
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
void |
merge(BlobProviderDescriptor src,
BlobProviderDescriptor dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContribution
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment
protected BlobProviderDescriptorRegistry()
public String getContributionId(BlobProviderDescriptor contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<BlobProviderDescriptor>
public BlobProviderDescriptor clone(BlobProviderDescriptor orig)
ContributionFragmentRegistry
clone
in class SimpleContributionRegistry<BlobProviderDescriptor>
public void merge(BlobProviderDescriptor src, BlobProviderDescriptor dst)
ContributionFragmentRegistry
merge
in class SimpleContributionRegistry<BlobProviderDescriptor>
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<BlobProviderDescriptor>
public void clear()
public BlobProviderDescriptor getBlobProviderDescriptor(String id)
Copyright © 2015 Nuxeo SA. All rights reserved.