|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.enterprise.doc.server.WTDocumentDelegate
com.ptc.windchill.enterprise.doc.server.WTDocumentProjectDelegate
ProjectLink style implementation of the delegate. Also used at the site
and org level for PDMLink so needs to be in a centralized location.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CHECKIN
|
private static String |
CLASSNAME
|
private static String |
CREATE
|
private static String |
DISPLAY
|
private static String |
RESOURCE
|
private static boolean |
SHOWORG
|
private static String |
UPDATE
|
private static boolean |
VERBOSE
|
Fields inherited from class com.ptc.windchill.enterprise.doc.server.WTDocumentDelegate |
|
Constructor Summary | |
WTDocumentProjectDelegate()
|
Method Summary | |
WTDocument |
createDocument(TypeIdentifier objType,
HashMap nameValueData,
Locale locale)
Create a document from the input provided. |
HashMap |
getCheckinDocumentAttributes(Persistable object,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that can be updated along with their present values. |
HashMap |
getCreateDocumentAttributes(WTContainer context,
TypeIdentifier objType,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that need to be populated for a create. |
HashMap |
getDetailsDocumentAttributes(Persistable object,
HashMap hashMap,
ClientConfiguration clientInfo,
Locale locale)
Return a list of the modeled/made up attributes that should be displayed on the details page. |
private String[] |
getProjectSpecificAttributes(String operation)
|
HashMap |
getUpdateDocumentAttributes(Persistable object,
HashMap hashMap,
Locale locale)
Return a list of the modeled attributes that can be updated along with their present values. |
WTDocument |
updateDocument(WTDocument document,
HashMap nameValueData,
Locale locale)
Update a document from the input provided. |
Methods inherited from class com.ptc.windchill.enterprise.doc.server.WTDocumentDelegate |
getCheckinDocumentAttributes, getCreateDocumentAttributes, getDetailsDocumentAttributes, getDocumentType, getNewWTDocument, getUpdateDocumentAttributes, setStandardCreateAttributes, setStandardUpdateAttributes |
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
private static final String UPDATE
private static final String DISPLAY
private static final String CHECKIN
private static boolean VERBOSE
private static final boolean SHOWORG
Constructor Detail |
public WTDocumentProjectDelegate()
Method Detail |
public WTDocument createDocument(TypeIdentifier objType, HashMap nameValueData, Locale locale) throws WTException
createDocument
in interface DocumentDelegate
createDocument
in class WTDocumentDelegate
objType
- Soft type to use for the new document.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 WTDocument updateDocument(WTDocument document, HashMap nameValueData, Locale locale) throws WTException
updateDocument
in interface DocumentDelegate
updateDocument
in class WTDocumentDelegate
document
- The document to be updated.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 getCreateDocumentAttributes(WTContainer context, TypeIdentifier objType, HashMap hashMap, Locale locale) throws WTException
getCreateDocumentAttributes
in interface DocumentDelegate
getCreateDocumentAttributes
in class WTDocumentDelegate
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 getUpdateDocumentAttributes(Persistable object, HashMap hashMap, Locale locale) throws WTException
getUpdateDocumentAttributes
in interface DocumentDelegate
getUpdateDocumentAttributes
in class WTDocumentDelegate
object
- The class of the object that the context list is requested for.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 getDetailsDocumentAttributes(Persistable object, HashMap hashMap, ClientConfiguration clientInfo, Locale locale) throws WTException
getDetailsDocumentAttributes
in interface DocumentDelegate
getDetailsDocumentAttributes
in class WTDocumentDelegate
object
- The class of the object that the context list is requested for.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 getCheckinDocumentAttributes(Persistable object, HashMap hashMap, Locale locale) throws WTException
getCheckinDocumentAttributes
in interface DocumentDelegate
getCheckinDocumentAttributes
in class WTDocumentDelegate
object
- The class of the object that the context list is requested for.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 |