public class SharedContentService extends Object
Constructor and Description |
---|
SharedContentService() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache(ContentContext ctx) |
List<String> |
getActiveProviderNames(ContentContext ctx) |
List<ISharedContentProvider> |
getAllActiveProvider(ContentContext ctx) |
List<ISharedContentProvider> |
getAllProvider(ContentContext ctx) |
SharedContentContext |
getContext() |
static SharedContentService |
getInstance(ContentContext ctx) |
ISharedContentProvider |
getProvider(ContentContext ctx,
String name) |
SharedContent |
getSharedContent(ContentContext ctx,
String id) |
static void |
prepare(ContentContext ctx) |
Collection<SharedContent> |
searchContent(ContentContext ctx,
ISharedContentProvider provider,
String query) |
void |
setActiveProviderNames(ContentContext ctx,
Collection<String> active) |
void |
setContext(SharedContentContext context) |
public static SharedContentService getInstance(ContentContext ctx)
public List<ISharedContentProvider> getAllProvider(ContentContext ctx)
public List<ISharedContentProvider> getAllActiveProvider(ContentContext ctx)
public List<String> getActiveProviderNames(ContentContext ctx)
public void setActiveProviderNames(ContentContext ctx, Collection<String> active)
public ISharedContentProvider getProvider(ContentContext ctx, String name)
public SharedContent getSharedContent(ContentContext ctx, String id)
public Collection<SharedContent> searchContent(ContentContext ctx, ISharedContentProvider provider, String query)
public void clearCache(ContentContext ctx)
public SharedContentContext getContext()
public void setContext(SharedContentContext context)
public static void prepare(ContentContext ctx) throws ModuleException
ModuleException
Copyright © 2012-2018. All Rights Reserved.