Class LinkRegistry
java.lang.Object
org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry<String,LinkDescriptor>
org.nuxeo.ecm.webengine.model.impl.LinkRegistry
- All Implemented Interfaces:
ContributionRegistry<String,
LinkDescriptor>
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry
listeners, parent, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyFragment
(LinkDescriptor object, LinkDescriptor fragment) Applies fragment over the given object.protected void
applySuperFragment
(LinkDescriptor object, LinkDescriptor superFragment) protected LinkDescriptor
clone
(LinkDescriptor object) getActiveLinks
(Resource context, String category) protected void
installContribution
(String key, LinkDescriptor object) protected void
installLink
(String category, LinkDescriptor link) protected boolean
isMainFragment
(LinkDescriptor object) void
protected void
removeLink
(String category, LinkDescriptor link) protected void
removeLink
(LinkDescriptor link) protected void
uninstallContribution
(String key, LinkDescriptor object) void
protected void
updateContribution
(String key, LinkDescriptor object, LinkDescriptor oldValue) Methods inherited from class org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry
addFragment, dispose, fireResolved, fireUnresolved, fireUpdated, getContribution, getObject, getOrCreateDependency, getParent, importContribution, importParentContributions, removeContribution, removeFragment
-
Field Details
-
links
-
-
Constructor Details
-
LinkRegistry
public LinkRegistry()
-
-
Method Details
-
getLinks
-
getActiveLinks
-
registerLink
-
unregisterLink
-
clone
- Specified by:
clone
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
applyFragment
Description copied from class:AbstractContributionRegistry
Applies fragment over the given object.- Overrides:
applyFragment
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
applySuperFragment
- Overrides:
applySuperFragment
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
installContribution
- Specified by:
installContribution
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
updateContribution
- Overrides:
updateContribution
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
uninstallContribution
- Specified by:
uninstallContribution
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
isMainFragment
- Overrides:
isMainFragment
in classAbstractContributionRegistry<String,
LinkDescriptor>
-
installLink
-
removeLink
-
removeLink
-