public interface OwInfoProviderRegistry
Registry to retrieve OwInfoProvider. Interface which must be implement by classes, which should be used as registry for information provider.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX_ANNOT
prefix used to request annotation provider
for a given DMS prefix.
|
Modifier and Type | Method and Description |
---|---|
OwInfoProvider |
getInfoProvider(String context_p)
Method to retrieve a provider regarding the given context.
|
void |
registerProvider(String context_p,
OwInfoProvider pro_p)
Method called to register a provider for specific context.
|
OwInfoProvider |
unregisterProvider(String context_p)
Remove a provider from registry for given context.
|
static final String PREFIX_ANNOT
OwInfoProvider getInfoProvider(String context_p)
Attention this can return null if the context is null or no provider exist for this context
context_p
- String context to be handledvoid registerProvider(String context_p, OwInfoProvider pro_p)
context_p
- String representing the contextpro_p
- OwInfoProvider to registerOwInfoProvider unregisterProvider(String context_p)
context_p
- String to unregisterCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.