|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Delegate for the UI to process templates. The appropriate function is
picked by the factory based on the object type irrespective of the solution.
For ex:- The appropriate WTDocument or WTPart method will be picked
based on the object type.
Supported API: true
Extendable: false
Method Summary | |
RevisionControlled |
newObjFromTemplate(Templateable objTemplate,
String context)
Create an object from template and set its context, defaults and mandatory values etc. |
Templateable |
newTemplate(String objType,
String context)
Create an object that will be used as a template object and set its context, defaults and mandatory values etc. |
Templateable |
newTemplate(TypeIdentifier objType,
WTContainer context)
Create an object that will be used as a template object and set its context, defaults and mandatory values etc. |
Method Detail |
public Templateable newTemplate(String objType, String context) throws WTException
objType
- Type to use for the new template.context
- Context used to store this new template
WTException
public Templateable newTemplate(TypeIdentifier objType, WTContainer context) throws WTException
objType
- Type to use for the new template.context
- Context used to store this new template
WTException
public RevisionControlled newObjFromTemplate(Templateable objTemplate, String context) throws WTException
objTemplate
- Template to use for the new object.context
- Context used to store this object created from template
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |