public class LocalResourceFactory extends AbstractResourceFactory
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_COMPONENTS |
static String |
TYPE_MODULES |
static String |
TYPE_TEMPLATES |
Constructor and Description |
---|
LocalResourceFactory() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static LocalResourceFactory |
getInstance(GlobalContext globalContext) |
IRemoteResource |
getLocalResource(ContentContext ctx,
String id) |
IRemoteResource |
getLocalResource(ContentContext ctx,
String name,
String type) |
static IRemoteResource |
getRemoteBean(IContentVisualComponent comp,
Locale locale) |
RemoteResourceList |
getResources(ContentContext ctx) |
RemoteResourceList |
getResourcesForProxy(ContentContext ctx,
String type,
String category) |
ArrayList<String> |
getTypes() |
getCategories, getTypes
public static final String TYPE_TEMPLATES
public static final String TYPE_COMPONENTS
public static final String TYPE_MODULES
public static LocalResourceFactory getInstance(GlobalContext globalContext)
public static IRemoteResource getRemoteBean(IContentVisualComponent comp, Locale locale)
public IRemoteResource getLocalResource(ContentContext ctx, String id)
public IRemoteResource getLocalResource(ContentContext ctx, String name, String type)
public RemoteResourceList getResources(ContentContext ctx)
getResources
in class AbstractResourceFactory
public RemoteResourceList getResourcesForProxy(ContentContext ctx, String type, String category) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IOException
public void clear()
Copyright © 2012-2018. All Rights Reserved.