Class POFinder


  • public class POFinder
    extends Object
    Author:
    hengsin
    • Method Detail

      • getTargetUUID

        public static String getTargetUUID​(Properties ctx,
                                           String tableName,
                                           String uuid,
                                           String trxName)
        Parameters:
        ctx -
        tableName -
        uuid -
        trxName -
        Returns:
        target uuid
      • updateUUIDMap

        public static void updateUUIDMap​(PIPOContext ctx,
                                         String tableName,
                                         String uuid,
                                         String targetUUID)
        Parameters:
        ctx -
        tableName -
        uuid -
        targetUUID -
      • findPO

        public static <T extends PO> T findPO​(PIPOContext ctx,
                                              Element element)
        Find po by uuid or id
        Type Parameters:
        T -
        Parameters:
        ctx -
        element -
        Returns:
        T