|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.esi.rnd.ResponseRendererImpl
public abstract class ResponseRendererImpl
Abstract base class containing generally useful behavior for all ESI
XML response renderers.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
protected void |
adjustEffectivities(com.infoengine.object.factory.Element element,
Eff eff)
Adds effectivity information to an Element based on the effectivity of the WTPart. |
protected void |
adjustObjectID(com.infoengine.object.factory.Element element,
String objectID)
If the Info*Engine element argument has an "objectID" attribute, change its value to the value of the objectID argument. |
protected void |
adjustTargets(com.infoengine.object.factory.Element element,
Collection targets)
For each entry in the targets argument, create a new Info*Engine Att object and add it to the element argument. |
protected abstract void |
buildGroups()
Abstract method that forces subclasses to implement buildGroups. |
protected String |
buildUfidString(Collection objects,
String completeUFIDString,
Class objectType)
This method will build the ufid string of Object ids for the I*E task. |
VdbBuilder |
getBuilder()
Gets the value of the attribute: builder. |
protected com.infoengine.object.IeCollection |
invokeQueryTask(String taskName,
String className,
String ufids,
String auth,
String wcAdapter)
This method will call the I*E task specfied by the task name. |
protected com.infoengine.object.factory.Element |
mapElement(String groupName,
com.infoengine.object.factory.Element element)
Calls the ESI mapper to create an Info*Engine Element using a different I*E element as input. |
protected com.infoengine.object.factory.Element |
mapObject(String groupName,
Object object)
Calls the ESI mapper to create an Info*Engine Element using an object as input. |
void |
render(VdbBuilder builder)
This is a template method for ESI Services renderers. |
void |
setBuilder(VdbBuilder a_Builder)
Sets the value of the attribute: builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public VdbBuilder getBuilder()
public void setBuilder(VdbBuilder a_Builder)
a_Builder -
protected abstract void buildGroups()
throws com.ptc.windchill.esi.rnd.ESIRendererException
com.ptc.windchill.esi.rnd.ESIRendererException
public void render(VdbBuilder builder)
throws com.ptc.windchill.esi.rnd.ESIRendererException
render in interface ResponseRendererbuilder - The VDB builder to use when rendering output.
com.ptc.windchill.esi.rnd.ESIRendererException
protected String buildUfidString(Collection objects,
String completeUFIDString,
Class objectType)
throws WTException
objects - Collection of persistable objects.completeUFIDString - String of UFIDs from a previous callobjectType - The class of the persistable object. Used to return only objects of that type.
WTException
protected com.infoengine.object.IeCollection invokeQueryTask(String taskName,
String className,
String ufids,
String auth,
String wcAdapter)
throws WTException
taskName - The URL location and name of the task to be executed.className - The Windchill class to run the I*E task on. This is the "Type" parameter in the Webject call.ufids - This is a list of object ids to run the task with.auth - This is the I*E authorization to run the task.wcAdapter - Windchill adapter instance where the task will be executed.
WTException
protected com.infoengine.object.factory.Element mapElement(String groupName,
com.infoengine.object.factory.Element element)
throws com.ptc.windchill.esi.rnd.ESIRendererException
groupName - The logical VDB group name.element - The Info*Engine Element to map.
com.ptc.windchill.esi.rnd.ESIRendererException
protected com.infoengine.object.factory.Element mapObject(String groupName,
Object object)
throws com.ptc.windchill.esi.rnd.ESIRendererException
groupName - The logical group name. Used to obtain the appropriate map information.object - The object that is to be rendered as an Info*Engine element.
com.ptc.windchill.esi.rnd.ESIRendererException
protected void adjustObjectID(com.infoengine.object.factory.Element element,
String objectID)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - The element to be updated.objectID - The value to assign to the objectID attribute of the element argument.
com.ptc.windchill.esi.rnd.ESIRendererException
protected void adjustTargets(com.infoengine.object.factory.Element element,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - The Info*Engine element that is to be updated.targets - A collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
protected void adjustEffectivities(com.infoengine.object.factory.Element element,
Eff eff)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - The element to be updated.eff - The effectivity object to add to the element.
com.ptc.windchill.esi.rnd.ESIRendererException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||