|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.windchill.enterprise.doc.forms.DocTemplateAttributePopulator
public class DocTemplateAttributePopulator
Populator class for creating a document template.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
List<String> |
getAttributeList()
Retrieve the list of attributes which are to be processed. |
boolean |
isTypeOverridable()
Specify the type is overridable. |
protected void |
setAttribute(TypeInstance ti,
AttributeIdentifier ai,
Object value)
Set the value specified against the attribute identifier in the TypeInstance. |
void |
setAttributeList(List<String> atts)
Set the attribute list to process. |
TypeInstance |
setAttributeValues(TypeInstance ti,
NmCommandBean cb)
Prepopulate the TypeInstance of the Document based on the search results. |
protected void |
setNewAttribute(TypeInstance ti,
AttributeIdentifier ai,
Object value)
Set the value specified against the attribute identifier in the TypeInstance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public List<String> getAttributeList()
public void setAttributeList(List<String> atts)
atts - The attribute list to processpublic boolean isTypeOverridable()
isTypeOverridable in class com.ptc.core.components.forms.DefaultAttributePopulator
protected void setAttribute(TypeInstance ti,
AttributeIdentifier ai,
Object value)
throws WTException
State.UNINITIALIZED or State.DEFAULT.
Upon setting the value in the TypeInstance, the state of the attribute
will be set to State.DEFAULT.
ti - The type instance.ai - The attribute to set in the type instancevalue - The value to set to attribute in the type instance to.
WTException
protected void setNewAttribute(TypeInstance ti,
AttributeIdentifier ai,
Object value)
throws WTException
State.NEW.
ti - The type instance.ai - The attribute to set in the type instancevalue - The value to set for the attribute in the type instance.
WTException
public TypeInstance setAttributeValues(TypeInstance ti,
NmCommandBean cb)
setAttributeValues in class com.ptc.core.components.forms.DefaultAttributePopulatorti - The type instance returned prior to creating attributes step.cb - The current command bean.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||