public final class ClassMolderHelper
extends java.lang.Object
ClassMolder.| Modifier and Type | Field | Description | 
|---|---|---|
static org.apache.commons.logging.Log | 
LOG | 
 Logger used for logging. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static java.util.Collection<java.lang.Object> | 
getAddedEntitiesList(TransactionContext tx,
                    java.util.List<Identity> orgIds,
                    java.lang.Object collection,
                    ClassMolder molder) | 
 It is assumed the returned collection will not be modified. 
 | 
static java.util.List<Identity> | 
getIdsList(TransactionContext tx,
          ClassMolder molder,
          java.lang.Object col) | 
 Return all the object identity of a Collection of object of the same
 type. 
 | 
static java.util.Iterator | 
getIterator(java.lang.Object object) | 
 Return the iterator on values of the specified Collection
 or, return the iterator on values of the specified Map. 
 | 
static java.util.List<Identity> | 
getRemovedIdsList(TransactionContext tx,
                 java.util.List<Identity> orgIds,
                 java.lang.Object collection,
                 ClassMolder molder) | 
 It is assumed the returned collection will not be modified. 
 | 
static boolean | 
isEquals(java.lang.Object o1,
        java.lang.Object o2) | 
 A utility method which compare object. 
 | 
static boolean | 
isEquals(java.util.Collection c1,
        java.util.Collection c2) | 
 Utility method to compare collections for equality. 
 | 
public static boolean isEquals(java.lang.Object o1,
                               java.lang.Object o2)
o1 - First object instanceo2 - Second object instancepublic static boolean isEquals(java.util.Collection c1,
                               java.util.Collection c2)
c1 - collection one.c2 - collection two.public static java.util.List<Identity> getIdsList(TransactionContext tx, ClassMolder molder, java.lang.Object col)
tx - the transaction contextmolder - class molder of the type of the objectscol - a Collection or Vector containingpublic static java.util.Iterator getIterator(java.lang.Object object)
object - - a Collection instance.public static java.util.Collection<java.lang.Object> getAddedEntitiesList(TransactionContext tx, java.util.List<Identity> orgIds, java.lang.Object collection, ClassMolder molder)
public static java.util.List<Identity> getRemovedIdsList(TransactionContext tx, java.util.List<Identity> orgIds, java.lang.Object collection, ClassMolder molder)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com