protected static class JSFBlobUploaderService.JSFBlobUploaderDescriptorRegistry extends SimpleContributionRegistry<JSFBlobUploaderDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
currentContribs
contribs
Modifier | Constructor and Description |
---|---|
protected |
JSFBlobUploaderDescriptorRegistry() |
Modifier and Type | Method and Description |
---|---|
JSFBlobUploaderDescriptor |
clone(JSFBlobUploaderDescriptor orig)
CLone the given contribution object
|
String |
getContributionId(JSFBlobUploaderDescriptor contrib)
Returns the contribution ID given the contribution object
|
JSFBlobUploader |
getJSFBlobUploader(String choice) |
List<JSFBlobUploader> |
getJSFBlobUploaders() |
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
void |
merge(JSFBlobUploaderDescriptor src,
JSFBlobUploaderDescriptor dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContribution
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
protected JSFBlobUploaderDescriptorRegistry()
public String getContributionId(JSFBlobUploaderDescriptor contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<JSFBlobUploaderDescriptor>
public JSFBlobUploaderDescriptor clone(JSFBlobUploaderDescriptor orig)
ContributionFragmentRegistry
clone
in class SimpleContributionRegistry<JSFBlobUploaderDescriptor>
public void merge(JSFBlobUploaderDescriptor src, JSFBlobUploaderDescriptor dst)
ContributionFragmentRegistry
merge
in class SimpleContributionRegistry<JSFBlobUploaderDescriptor>
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<JSFBlobUploaderDescriptor>
public List<JSFBlobUploader> getJSFBlobUploaders()
public JSFBlobUploader getJSFBlobUploader(String choice)
Copyright © 2018 Nuxeo. All rights reserved.