protected static class BlobManagerComponent.BlobProviderDescriptorRegistry extends SimpleContributionRegistry<BlobProviderDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>currentContribscontribs| 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) |
Set<String> |
getBlobProviderIds() |
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, getCurrentContributionaddContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMapprotected BlobProviderDescriptorRegistry()
public String getContributionId(BlobProviderDescriptor contrib)
ContributionFragmentRegistrygetContributionId in class ContributionFragmentRegistry<BlobProviderDescriptor>public BlobProviderDescriptor clone(BlobProviderDescriptor orig)
ContributionFragmentRegistryclone in class SimpleContributionRegistry<BlobProviderDescriptor>public void merge(BlobProviderDescriptor src, BlobProviderDescriptor dst)
ContributionFragmentRegistrymerge 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)
public Set<String> getBlobProviderIds()
Copyright © 2019 Nuxeo. All rights reserved.