protected static class DBSRepositoryService.DBSRepositoryDescriptorRegistry extends SimpleContributionRegistry<DBSRepositoryDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>currentContribscontribs| Modifier | Constructor and Description |
|---|---|
protected |
DBSRepositoryDescriptorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
DBSRepositoryDescriptor |
clone(DBSRepositoryDescriptor orig)
CLone the given contribution object
|
String |
getContributionId(DBSRepositoryDescriptor contrib)
Returns the contribution ID given the contribution object
|
DBSRepositoryDescriptor |
getRepositoryDescriptor(String id) |
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
void |
merge(DBSRepositoryDescriptor src,
DBSRepositoryDescriptor dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContributionaddContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMapprotected DBSRepositoryDescriptorRegistry()
public String getContributionId(DBSRepositoryDescriptor contrib)
ContributionFragmentRegistrygetContributionId in class ContributionFragmentRegistry<DBSRepositoryDescriptor>public DBSRepositoryDescriptor clone(DBSRepositoryDescriptor orig)
ContributionFragmentRegistryclone in class SimpleContributionRegistry<DBSRepositoryDescriptor>public void merge(DBSRepositoryDescriptor src, DBSRepositoryDescriptor dst)
ContributionFragmentRegistrymerge in class SimpleContributionRegistry<DBSRepositoryDescriptor>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<DBSRepositoryDescriptor>public void clear()
public DBSRepositoryDescriptor getRepositoryDescriptor(String id)
Copyright © 2018 Nuxeo. All rights reserved.