org.imixs.workflow.xml
Class XMLItemCollectionAdapter

java.lang.Object
  extended by org.imixs.workflow.xml.XMLItemCollectionAdapter

public class XMLItemCollectionAdapter
extends Object

An XMLItemCollectionAdapter converts a org.imixs.workflow.xml.XMLItemCollection into a org.imixs.workflow.ItemCollection and reverse

Version:
1.1
Author:
imixs.com - Ralph Soika
See Also:
ItemCollection

Constructor Summary
XMLItemCollectionAdapter()
           
 
Method Summary
static org.imixs.workflow.ItemCollection getItemCollection(XMLItemCollection entity)
          This Methode converts a org.imixs.workflow.service.ItemArray into a org.imixs.workflow.ItemCollection Returns null if ItemArray == null
static EntityCollection putCollection(Collection<org.imixs.workflow.ItemCollection> col)
          This method transforms a Collection into a EntityCollection
static XMLItemCollection putItemCollection(org.imixs.workflow.ItemCollection aItemCollection)
          This Method converts a org.imixs.workflow.ItemCollection into a Entity The method verifies if the values stored are basic java types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLItemCollectionAdapter

public XMLItemCollectionAdapter()
Method Detail

getItemCollection

public static org.imixs.workflow.ItemCollection getItemCollection(XMLItemCollection entity)
This Methode converts a org.imixs.workflow.service.ItemArray into a org.imixs.workflow.ItemCollection Returns null if ItemArray == null

Parameters:
ItemArray -
Returns:
ItemCollection

putItemCollection

public static XMLItemCollection putItemCollection(org.imixs.workflow.ItemCollection aItemCollection)
                                           throws Exception
This Method converts a org.imixs.workflow.ItemCollection into a Entity

The method verifies if the values stored are basic java types. If not these values will not be converted!

Parameters:
aItemCollection - Collection Object to be converted
doc - lotus.domino.Document where the Items should be stored
Throws:
Exception

putCollection

public static EntityCollection putCollection(Collection<org.imixs.workflow.ItemCollection> col)
                                      throws Exception
This method transforms a Collection into a EntityCollection

Parameters:
col -
Returns:
Throws:
Exception


Copyright © 2009-2011 Imixs Software Solutions GmbH. All Rights Reserved.