Package com.ptc.windchill.esi.rnd
Class ESIRendererFactory
java.lang.Object
com.ptc.windchill.esi.rnd.ESIRendererFactory
- All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild
public class ESIRendererFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild
This class serves as a common factory for instantiating ESI renderers.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionstatic ESIRendererFactoryReturns the instance of a common ESIRendererFactory for instantiating ESI renderers.getRenderer(Class requestor, String selector) Return the rendere instance for specified class and selector.getRenderer(Class requestor, String selector, boolean useCache) Return the rendere instance for specified class and selector.getRenderer(String ufid) Return the rendere instance for specified object ufid.getRenderer(String ufid, boolean useCache) Return the rendere instance for specified object ufid.getRenderer(String ufid, String selector) Return the rendere instance for specified object ufid and selector.getRenderer(String ufid, String selector, boolean useCache) Return the rendere instance for specified object ufid and selector.getRenderer(Persistable anObject) Return the rendere instance for specified object.getRenderer(Persistable anObject, boolean useCache) Return the rendere instance for specified class and selector.getRenderer(Persistable anObject, String selector) Return the rendere instance for specified object and selector.getRenderer(Persistable anObject, String selector, boolean useCache) Return the rendere instance for specified class and selector.
-
Method Details
-
getRenderer
Return the rendere instance for specified object.
Supported API: true- Parameters:
anObject- - An object for which renderer is needed- Returns:
- - The ESIRenderer for specified object ufid
-
getRenderer
Return the rendere instance for specified object ufid.
Supported API: true- Parameters:
ufid- - An object ufid for which renderer is needed- Returns:
- - The ESIRenderer for specified object ufid
-
getRenderer
Return the rendere instance for specified object ufid and selector.
Supported API: true- Parameters:
ufid- - An object ufid for which renderer is neededselector- - The logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeader- Returns:
- - The ESIRenderer for specified object ufid and selector
-
getRenderer
Return the rendere instance for specified object and selector.
Supported API: true- Parameters:
anObject- - An object for which renderer is neededselector- - The logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeader- Returns:
- - The ESIRenderer for specified object and selector
-
getRenderer
Return the rendere instance for specified class and selector.
Supported API: true- Parameters:
requestor- -The class for which rendere is neededselector- - he logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeader- Returns:
- - The ESIRenderer for specified class and selector
-
getInstance
Returns the instance of a common ESIRendererFactory for instantiating ESI renderers.
Supported API: true- Returns:
- - The instance of a common ESIRendererFactory for instantiating ESI renderers
-
getRenderer
Return the rendere instance for specified object ufid. Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false respectively
Supported API: true- Parameters:
ufid- - An object ufid for which renderer is neededuseCache- - Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false- Returns:
- - The ESIRenderer for specified object ufid
-
getRenderer
Return the rendere instance for specified object ufid and selector. Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false respectively
Supported API: true- Parameters:
ufid- - An object ufid for which renderer is neededselector- - The logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeaderuseCache- - Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false- Returns:
- - The ESIRenderer for specified object ufid and selector
-
getRenderer
Return the rendere instance for specified class and selector. Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false respectively
Supported API: true- Parameters:
requestor- - The class for which rendere is needed.selector- - The logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeaderuseCache- - Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false- Returns:
- - The ESIRenderer for specified class and selector
-
getRenderer
Return the rendere instance for specified class and selector. Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false respectively
Supported API: true- Parameters:
anObject- - An object for which rendere is needed.selector- - The logic name for ESI uses , which is defined inESIConstand exposed to external via DataResponse, such asECNHeaderuseCache- - Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false- Returns:
- - The ESIRenderer for specified object and selector
-
getRenderer
Return the rendere instance for specified class and selector. Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false respectively
Supported API: true- Parameters:
anObject- - An object for which rendere is needed.useCache- - Method looks up the cache (in hash) for a renderer instance of the given type OR create a new renderer instance of the given type, according as the value in useCache is true or false- Returns:
- - The ESIRenderer for specified object and selector
-