Package org.uengine.persistence.analysis

Examples of org.uengine.persistence.analysis.ResourceDimensionDAO


          if(resourceDimensionDAOType.existAnyResourceWhereRsrc_Id(theMapping.getEndpoint())) continue;
         
          if(theMapping.getGroupName()==null)
            theMapping.fill(instance);
 
          ResourceDimensionDAO resourceDimension = resourceDimensionDAOType.createDAOForInsert();{
            resourceDimension.setRsrc_Id(theMapping.getEndpoint());
            resourceDimension.setRsrc_Name(theMapping.getResourceName());
            resourceDimension.setGender(theMapping.isMale());
            resourceDimension.setDept_Name(theMapping.getGroupName());
            resourceDimension.setDept_Id(theMapping.getGroupId());
            if(theMapping.getBirthday()!=null)
              resourceDimension.setBirthDay(new Long(1900 + theMapping.getBirthday().getYear()));
          }
          resourceDimension.insert();
         
          if(tc instanceof SimpleTransactionContext)
            tc.releaseResources();
         
        }while(theMapping.next());
View Full Code Here

TOP

Related Classes of org.uengine.persistence.analysis.ResourceDimensionDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.