com.ptc.epm.commands.transaction
Class OperationHelper

java.lang.Object
  extended bycom.ptc.epm.commands.transaction.OperationHelper

public class OperationHelper
extends Object


Constructor Summary
OperationHelper()
           
 
Method Summary
static String getName(Persistable object)
           
static long getOID(Persistable object)
           
private static String getUpdateCount(Persistable object)
           
private static String getVersion(Versioned object)
           
static Object[] increaseCapacity(Object[] objects)
           
static Object[] remove(Object object, Object[] objects)
           
static String toString(String operationName, ArrayList objects)
           
static String toString(String operationName, int numberObjects, Persistable[] objects)
           
static String toString(String operationName, int numberObjects, Persistable[] objects, SaveOp so)
           
static Object[] trimToSize(Object[] array, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationHelper

public OperationHelper()
Method Detail

remove

public static Object[] remove(Object object,
                              Object[] objects)

increaseCapacity

public static Object[] increaseCapacity(Object[] objects)

trimToSize

public static Object[] trimToSize(Object[] array,
                                  int size)

getName

public static String getName(Persistable object)

getOID

public static long getOID(Persistable object)

toString

public static String toString(String operationName,
                              int numberObjects,
                              Persistable[] objects)

toString

public static String toString(String operationName,
                              int numberObjects,
                              Persistable[] objects,
                              SaveOp so)

toString

public static String toString(String operationName,
                              ArrayList objects)

getVersion

private static String getVersion(Versioned object)

getUpdateCount

private static String getUpdateCount(Persistable object)