|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Delegate for document specific methods.
Supported API: false
Extendable: false
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. |
TypeIdentifier[] |
getDocumentType(Class objClass,
String context)
Return a vector of the types that are available for this context. |
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. |
Method Detail |
public WTDocument createDocument(TypeIdentifier objType, HashMap nameValueData, Locale locale) throws WTException
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
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 TypeIdentifier[] getDocumentType(Class objClass, String context) throws WTException
objClass
- The class of the object that the type list is requested for.context
- The product or repository that this is requested from.
WTException
public HashMap getCreateDocumentAttributes(WTContainer context, TypeIdentifier objType, HashMap hashMap, Locale locale) throws WTException
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
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
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
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |