|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.enterprise.doc.server.WTDocumentTemplateDelegate
com.ptc.windchill.enterprise.doc.server.WTDocumentTemplateProjectDelegate
Document template processing specific to ProjectLink or the site and
org levels for PDMLink.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CHECKIN_TEMPLATE
|
private static String |
CLASSNAME
|
private static String |
CREATE_FROM_TEMPLATE
|
private static String |
CREATE_TEMPLATE
|
private static String |
DISPLAY_TEMPLATE
|
private static String |
RESOURCE
|
private static String |
UPDATE_TEMPLATE
|
private static boolean |
VERBOSE
|
Fields inherited from class com.ptc.windchill.enterprise.doc.server.WTDocumentTemplateDelegate |
|
Constructor Summary | |
WTDocumentTemplateProjectDelegate()
|
Method Summary | |
Templateable |
createFromTemplate(Templateable objTemplate,
HashMap nameValueData,
Locale locale,
String applicationName)
Deprecated. |
Templateable |
createTemplate(TypeIdentifier objType,
HashMap nameValueData,
Locale locale)
Deprecated. |
HashMap |
getCheckinTemplateAttributes(Templateable object,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that need to be populated for a checkin document template. |
HashMap |
getCreateFromTemplateAttributes(WTContainer context,
Templateable objTemplate,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that need to be populated for a create. |
HashMap |
getCreateTemplateAttributes(WTContainer context,
TypeIdentifier objType,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that need to be populated for a create. |
HashMap |
getDetailsTemplateAttributes(Templateable object,
HashMap hashMap,
ClientConfiguration clientInfo,
Locale locale)
Return a list of the modeled attributes that need to be populated for the details page of a document template. |
private String[] |
getProjectSpecificAttributes(String operation)
|
HashMap |
getUpdateTemplateAttributes(Templateable object,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that need to be populated for an update document template. |
Methods inherited from class com.ptc.windchill.enterprise.doc.server.WTDocumentTemplateDelegate |
getCheckinDocumentAttributes, getCreateFromTemplateAttributes, getCreateTemplateAttributes, getDetailsDocumentAttributes, getTemplates, getTemplateTypes, getUnpersistedDocumentFromTemplate, getUnpersistedTemplate, getUpdateDocumentAttributes, persistDocumentFromTemplate, persistDocumentTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CREATE_FROM_TEMPLATE
private static final String CREATE_TEMPLATE
private static final String UPDATE_TEMPLATE
private static final String DISPLAY_TEMPLATE
private static final String CHECKIN_TEMPLATE
private static boolean VERBOSE
Constructor Detail |
public WTDocumentTemplateProjectDelegate()
Method Detail |
public Templateable createFromTemplate(Templateable objTemplate, HashMap nameValueData, Locale locale, String applicationName) throws WTException
createFromTemplate
in interface TemplateObjectDelegate
createFromTemplate
in class WTDocumentTemplateDelegate
objTemplate
- The template to create the object from.nameValueData
- Name value pairs from the UI.locale
- The locale of the client, used to return some of the strings in the locale of the client.applicationName
- Name of application to branch on to the different delegates for the checkout of the document. This is not used to branch on for any of the template objects.
WTException
public Templateable createTemplate(TypeIdentifier objType, HashMap nameValueData, Locale locale) throws WTException
createTemplate
in interface TemplateObjectDelegate
createTemplate
in class WTDocumentTemplateDelegate
objType
- Soft type to use for the new template.nameValueData
- Name value pairs of data from the UI.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
public HashMap getCreateTemplateAttributes(WTContainer context, TypeIdentifier objType, HashMap hashMap, Locale locale) throws WTException
getCreateTemplateAttributes
in interface TemplateObjectDelegate
getCreateTemplateAttributes
in class WTDocumentTemplateDelegate
context
- Container to create the document in.objType
- Soft type to use for the new document.hashMap
- Either a started hash map for the data or null if one is to be created inside of this method.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
public HashMap getCreateFromTemplateAttributes(WTContainer context, Templateable objTemplate, HashMap hashMap, Locale locale) throws WTException
getCreateFromTemplateAttributes
in interface TemplateObjectDelegate
getCreateFromTemplateAttributes
in class WTDocumentTemplateDelegate
context
- Container to create the document in.objTemplate
- The template to create the object from.hashMap
- Either a started hash map for the data or null if one is to be created inside of this method.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
public HashMap getUpdateTemplateAttributes(Templateable object, HashMap hashMap, Locale locale) throws WTException
getUpdateTemplateAttributes
in interface TemplateObjectDelegate
getUpdateTemplateAttributes
in class WTDocumentTemplateDelegate
object
- The template to be updated.hashMap
- Either a started hash map for the data or null if one is to be created inside of this method.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
public HashMap getDetailsTemplateAttributes(Templateable object, HashMap hashMap, ClientConfiguration clientInfo, Locale locale) throws WTException
getDetailsTemplateAttributes
in interface TemplateObjectDelegate
getDetailsTemplateAttributes
in class WTDocumentTemplateDelegate
object
- The template to be displayed.hashMap
- Either a started hash map for the data or null if one is to be created inside of this method.clientInfo
- Information from the client application.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
public HashMap getCheckinTemplateAttributes(Templateable object, HashMap hashMap, Locale locale) throws WTException
getCheckinTemplateAttributes
in interface TemplateObjectDelegate
getCheckinTemplateAttributes
in class WTDocumentTemplateDelegate
object
- The template to be checked in.hashMap
- Either a started hash map for the data or null if one is to be created inside of this method.locale
- The locale of the client, used to return some of the strings in the locale of the client.
WTException
private String[] getProjectSpecificAttributes(String operation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |