public class DocumentSerializerServiceImpl extends SerializerServiceBase implements DocumentSerializerService
DocumentSerializerService
. If no <workflowProperties> have been defined in the
data dictionary for a document type (i.e. Document.getDocumentPropertySerizabilityEvaluator()
returns an instance of
AlwaysTruePropertySerializibilityEvaluator
), then this service will revert to using the XmlObjectSerializerService
bean, which was the old way of serializing a document for routing. If workflowProperties are defined, then this implementation
will selectively serialize items.SerializerServiceBase.AutoPopulatingListConverter, SerializerServiceBase.ProxyAndStateAwareJavaReflectionProvider, SerializerServiceBase.ProxyConverter
evaluators, persistenceService, serializationStates, xmlObjectSerializerService, xstream
Constructor and Description |
---|
DocumentSerializerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
serializeDocumentToXmlForRouting(Document document)
Serializes a document for routing
|
protected Object |
wrapDocumentWithMetadata(Document document)
Wraps the document before it is routed.
|
createNewDocumentSerializationState, getPersistenceService, getXmlObjectSerializerService, setPersistenceService, setXmlObjectSerializerService
public DocumentSerializerServiceImpl()
public String serializeDocumentToXmlForRouting(Document document)
serializeDocumentToXmlForRouting
in interface DocumentSerializerService
document
- the documentDocumentSerializerService.serializeDocumentToXmlForRouting(org.kuali.rice.krad.document.Document)
protected Object wrapDocumentWithMetadata(Document document)
Document.wrapDocumentWithMetadataForXmlSerialization()
.document
- Copyright © 2005–2016 The Kuali Foundation. All rights reserved.