Package org.nuxeo.ecm.core.blob
Class BlobManagerComponent.BlobProviderDescriptorRegistry
java.lang.Object
org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
org.nuxeo.runtime.model.SimpleContributionRegistry<BlobProviderDescriptor>
org.nuxeo.ecm.core.blob.BlobManagerComponent.BlobProviderDescriptorRegistry
- Enclosing class:
- BlobManagerComponent
protected static class BlobManagerComponent.BlobProviderDescriptorRegistry
extends SimpleContributionRegistry<BlobProviderDescriptor>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribs
Fields inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
contribs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clone
(BlobProviderDescriptor orig) CLone the given contribution objectgetContributionId
(BlobProviderDescriptor contrib) Returns the contribution ID given the contribution objectboolean
Returns true if merge is supported.void
Merge 'src' into 'dst'.Methods inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
contributionRemoved, contributionUpdated, getCurrentContribution
Methods inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
-
Constructor Details
-
BlobProviderDescriptorRegistry
protected BlobProviderDescriptorRegistry()
-
-
Method Details
-
getContributionId
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<BlobProviderDescriptor>
-
clone
Description copied from class:ContributionFragmentRegistry
CLone the given contribution object- Overrides:
clone
in classSimpleContributionRegistry<BlobProviderDescriptor>
-
merge
Description copied from class:ContributionFragmentRegistry
Merge 'src' into 'dst'. When merging only the 'dst' object is modified.- Overrides:
merge
in classSimpleContributionRegistry<BlobProviderDescriptor>
- Parameters:
src
- the object to copy over the 'dst' objectdst
- this object is modified
-
isSupportingMerge
public boolean isSupportingMerge()Description copied from class:ContributionFragmentRegistry
Returns true if merge is supported.Hook method to be overridden if merge logics behind
Object.clone()
andContributionFragmentRegistry.merge(Object, Object)
cannot be implemented.- Overrides:
isSupportingMerge
in classSimpleContributionRegistry<BlobProviderDescriptor>
-
clear
public void clear() -
getBlobProviderDescriptor
-
getBlobProviderIds
-