public interface ExtensionRegistry
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
ExtensionDescription |
getExportExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
ExtensionDescriptionList |
getExportExtensions()
Returns a description of all registered extensions used to export
information loaded to a LexBIGService.
|
ExtensionDescription |
getFilterExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
ExtensionDescriptionList |
getFilterExtensions()
Returns a description of all registered extensions used to provide
additional filtering of query results.
|
ExtensionDescription |
getGenericExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
<T extends Extendable> |
getGenericExtension(java.lang.String extensionName,
java.lang.Class<T> extensionClass) |
ExtensionDescriptionList |
getGenericExtensions()
Returns a description of all registered extensions used to implement
application-specific behavior that is centrally accessible from a
LexBIGService.
|
ExtensionDescription |
getIndexExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
ExtensionDescriptionList |
getIndexExtensions()
Returns a description of all registered extensions used to index
information that has been previously loaded to a LexBIGService.
|
ExtensionDescription |
getLoadExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
ExtensionDescriptionList |
getLoadExtensions()
Returns a description of all registered extensions used to load
information for access by a LexBIGService.
|
ExtensionDescription |
getSearchExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
ExtensionDescriptionList |
getSearchExtensions()
Returns a description of all registered extensions used to provide
additional sorting of query results.
|
SortDescription |
getSortExtension(java.lang.String name)
Returns the description of a registered extension matching the given name.
|
SortDescriptionList |
getSortExtensions()
Returns a description of all registered extensions used to provide
additional sorting of query results.
|
void |
registerExportExtension(ExtensionDescription description)
Registers a class of extension used to export existing content from the
LexGrid repository.
|
void |
registerFilterExtension(ExtensionDescription description)
Registers a class of extension used to filter query content.
|
void |
registerGenericExtension(ExtensionDescription description)
Registers a class of extension used to implement application-specific
behavior that is centrally accessible from a LexBIGService.
|
void |
registerIndexExtension(ExtensionDescription description)
Registers a class of extension used to index information that has been
previously loaded to a LexBIGService.
|
void |
registerLoadExtension(ExtensionDescription description)
Registers a class of extension used to load information for access by a
LexBIGService.
|
void |
registerSearchExtension(ExtensionDescription description) |
void |
registerSortExtension(SortDescription description)
Registers a class of extension used to provide additional sorting of
query results.
|
void |
unregisterExportExtension(java.lang.String name)
Removes registration for the given named extension.
|
void |
unregisterFilterExtension(java.lang.String name)
Removes registration for the given named extension.
|
void |
unregisterGenericExtension(java.lang.String name)
Removes registration for the given named extension.
|
void |
unregisterIndexExtension(java.lang.String name)
Removes registration for the given named extension.
|
void |
unregisterLoadExtension(java.lang.String name)
Removes registration for the given named extension.
|
void |
unregisterSearchExtension(java.lang.String name) |
void |
unregisterSortExtension(java.lang.String name)
Removes registration for the given named extension.
|
ExtensionDescription getExportExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getExportExtensions()
ExtensionDescription getFilterExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getFilterExtensions()
ExtensionDescription getGenericExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getGenericExtensions()
Note that only generic extensions (base class GenericExtension) will be listed here. All other classes are retrievable at the appropriate interface point (filter, sort, etc).
ExtensionDescription getIndexExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getIndexExtensions()
ExtensionDescription getLoadExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getLoadExtensions()
SortDescription getSortExtension(java.lang.String name)
name
- The extension name; not null.SortDescriptionList getSortExtensions()
ExtensionDescription getSearchExtension(java.lang.String name)
name
- The extension name; not null.ExtensionDescriptionList getSearchExtensions()
void registerExportExtension(ExtensionDescription description) throws LBParameterException
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Export.Exporter with a public
parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerFilterExtension(ExtensionDescription description) throws LBParameterException
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Query.Filter with a public
parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerGenericExtension(ExtensionDescription description) throws LBParameterException
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Generic.GenericExtension with a
public parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerIndexExtension(ExtensionDescription description) throws LBParameterException
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Index.Index with a public
parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerLoadExtension(ExtensionDescription description) throws LBParameterException
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Load.Loader with a public
parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerSortExtension(SortDescription description) throws LBParameterException
NOTE: Sort extensions can only be applied when resolving standard node set representations. Therefore the provided description MUST be restricted only to a sort context of SortContext.SET.
description
- The description of the extension to register, which must
provide a unique name for this type of extension and identify
a class of item implementing
org.LexGrid.LexBIG.Extensions.Query.Sort with a public
parameterless constructor.LBParameterException
- If the given description does not meet the specified
criteria.void registerSearchExtension(ExtensionDescription description) throws LBParameterException
LBParameterException
void unregisterExportExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null. The extension version; null to
match all versions.LBParameterException
- If the given name does not match a registered extension.void unregisterFilterExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null.LBParameterException
- If the given name does not match a registered extension.void unregisterGenericExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null.LBParameterException
- If the given name does not match a registered extension.void unregisterIndexExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null.LBParameterException
- If the given name does not match a registered extension.void unregisterLoadExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null.LBParameterException
- If the given name does not match a registered extension.void unregisterSortExtension(java.lang.String name) throws LBParameterException
name
- The extension name; not null.LBParameterException
- If the given name does not match a registered extension.void unregisterSearchExtension(java.lang.String name) throws LBParameterException
LBParameterException
<T extends Extendable> T getGenericExtension(java.lang.String extensionName, java.lang.Class<T> extensionClass) throws LBParameterException
LBParameterException