public class ResourceRegistry extends SimpleContributionRegistry<Resource>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
currentContribs
contribs
Constructor and Description |
---|
ResourceRegistry() |
Modifier and Type | Method and Description |
---|---|
String |
getContributionId(Resource contrib)
Returns the contribution ID given the contribution object
|
Resource |
getResource(String id) |
clone, contributionRemoved, contributionUpdated, getCurrentContribution, isSupportingMerge, merge
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
public ResourceRegistry()
public String getContributionId(Resource contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<Resource>
public Resource getResource(String id)
Copyright © 2018 Nuxeo. All rights reserved.