com.qintsoft.joria.runtimeapi
Interface SerializeObjects

All Known Subinterfaces:
SerializeObjectsWithTransactions

public interface SerializeObjects

User: patrick Date: Dec 13, 2004 Time: 11:29:49 AM


Method Summary
 java.lang.String mapObject2String(java.lang.Object obj)
          Method that wraps an object in a string, so that it can be sent to a remote client for interactive selection.
 java.lang.Object mapString2Object(java.lang.String str)
           
 void setProperties(com.qintsoft.joria.runtimeapi.beans.GenericTag userProps)
           
 

Method Detail

mapObject2String

java.lang.String mapObject2String(java.lang.Object obj)
Method that wraps an object in a string, so that it can be sent to a remote client for interactive selection. This method is required, if the user shall pick one or more objects from a list of objects generated from the database. It is rarely necesary to map and send the whole object. It is usually sufficient, to map the object to its primary key.

Parameters:
obj - to be serialized
Returns:
str that contains the text representation of the object (e.g. the primary key, or the object id of the database)

mapString2Object

java.lang.Object mapString2Object(java.lang.String str)
                                  throws com.qintsoft.joria.data.JoriaDataException
Throws:
com.qintsoft.joria.data.JoriaDataException

setProperties

void setProperties(com.qintsoft.joria.runtimeapi.beans.GenericTag userProps)