org.kuali.rice.krad.util.documentserializer
Class BusinessObjectPropertySerializibilityEvaluator

java.lang.Object
  extended by org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluatorBase
      extended by org.kuali.rice.krad.util.documentserializer.BusinessObjectPropertySerializibilityEvaluator
All Implemented Interfaces:
PropertySerializabilityEvaluator

public class BusinessObjectPropertySerializibilityEvaluator
extends PropertySerializabilityEvaluatorBase
implements PropertySerializabilityEvaluator

This implementation of PropertySerializabilityEvaluator uses the <workflowProperties> defined within the data dictionary for a document. If the property being serialized corresponds to one of the properties in the data dictionary, then it will be serialized. If a property specified in the data dictionary corresponds to a business object, then all primitives will be serialized of the business object. All primitives of a primitive that has already been serialized will be serialized as well. If a property specified in the data dictionary corresponds to a collection, then all primitives of all collection elements will be serialized.


Field Summary
 
Fields inherited from class org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluatorBase
serializableProperties
 
Constructor Summary
BusinessObjectPropertySerializibilityEvaluator()
           
 
Method Summary
 void initializeEvaluatorForDocument(Document document)
          Reads the data dictionary to determine which properties of the document should be serialized.
 
Methods inherited from class org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluatorBase
determinePropertyType, evaluateCompleteMatch, evaluatePartialMatch, initializeEvaluatorForDataObject, isPrimitiveObject, isPropertySerializable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator
determinePropertyType, initializeEvaluatorForDataObject, isPropertySerializable
 

Constructor Detail

BusinessObjectPropertySerializibilityEvaluator

public BusinessObjectPropertySerializibilityEvaluator()
Method Detail

initializeEvaluatorForDocument

public void initializeEvaluatorForDocument(Document document)
Reads the data dictionary to determine which properties of the document should be serialized.

Specified by:
initializeEvaluatorForDocument in interface PropertySerializabilityEvaluator
Overrides:
initializeEvaluatorForDocument in class PropertySerializabilityEvaluatorBase
Parameters:
document - the document instance
See Also:
org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator#initializeEvaluator(org.kuali.rice.krad.document.Document)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.