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
Constructors Modifier Constructor Description protected
BlobProviderDescriptorRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
BlobProviderDescriptor
clone(BlobProviderDescriptor orig)
CLone the given contribution objectBlobProviderDescriptor
getBlobProviderDescriptor(String id)
Set<String>
getBlobProviderIds()
String
getContributionId(BlobProviderDescriptor contrib)
Returns the contribution ID given the contribution objectboolean
isSupportingMerge()
Returns true if merge is supported.void
merge(BlobProviderDescriptor src, BlobProviderDescriptor dst)
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
-
-
-
-
Method Detail
-
getContributionId
public String getContributionId(BlobProviderDescriptor contrib)
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<BlobProviderDescriptor>
-
clone
public BlobProviderDescriptor clone(BlobProviderDescriptor orig)
Description copied from class:ContributionFragmentRegistry
CLone the given contribution object- Overrides:
clone
in classSimpleContributionRegistry<BlobProviderDescriptor>
-
merge
public void merge(BlobProviderDescriptor src, BlobProviderDescriptor dst)
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
public BlobProviderDescriptor getBlobProviderDescriptor(String id)
-
-