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