Examples of MappingFileData


Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

//  }

  @Override
  public String retrace(Long mappingId, String error) throws IllegalArgumentException
  {
    MappingFileData file = ObjectifyService.ofy().load().type(MappingFileData.class).id(mappingId).now();
    if (file != null)
    {
      return StringReTrace.doReTrace(file.mapping, error);
    } else
    {
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

    {

      MappingFileInfo mapping = ObjectifyService.ofy().load().type(MappingFileInfo.class).filter("PACKAGE_NAME", acraLog.PACKAGE_NAME).filter("version", acraLog.APP_VERSION_NAME).first().now();
      if (mapping != null)
      {
        MappingFileData mfd = ObjectifyService.ofy().load().type(MappingFileData.class).filter("mappingFileInfoId",mapping.id).first().now();
        acraLog.MAPPED_STACK_TRACE = StringReTrace.doReTrace(mfd.mapping, acraLog.STACK_TRACE);
        ObjectifyService.ofy().save().entity(acraLog);
      } else
      {
        throw new IllegalArgumentException("No Maching Mapping");
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

              mfi.PACKAGE_NAME = map.getApppackage();
              mfi.uploadDate = map.uploadDate;
             
              Key<MappingFileInfo> resultkey = ObjectifyService.ofy().save().entity(mfi).now();
             
              MappingFileData mfd = new MappingFileData();
              mfd.add(map.mapping);
              mfd.mappingFileInfoId = resultkey.getId();
              ObjectifyService.ofy().save().entity(mfd);

              deleteids.add(map.id);
            }
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

      MappingFileInfo mfi = new MappingFileInfo(appUser, apppackage, version);

      Key<MappingFileInfo> resultkey = ObjectifyService.ofy().save().entity(mfi).now();
     
      MappingFileData mfd = new MappingFileData();
      mfd.add(data);
      mfd.mappingFileInfoId = resultkey.getId();
      ObjectifyService.ofy().save().entity(mfd);
     
      tidyMapList(appPackage);
     
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

   
    if(allmaps.size() > 0)
    {
      for(MappingFileInfo map: allmaps)
      {
        MappingFileData mfd = ObjectifyService.ofy().load().type(MappingFileData.class).filter("mappingFileInfoId",map.id).first().now();
        if(mfd != null)
        {
          ObjectifyService.ofy().delete().entity(mfd);
        }
      }
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

      MappingFileInfo mfi = new MappingFileInfo(appUser, apppackage, version);

      Key<MappingFileInfo> resultkey = ObjectifyService.ofy().save().entity(mfi).now();

      MappingFileData mfd = new MappingFileData();
      mfd.add(data);
      mfd.mappingFileInfoId = resultkey.getId();
      ObjectifyService.ofy().save().entity(mfd);

      tidyMapList(appPackage);
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

    if (allmaps.size() > 0)
    {
      for (MappingFileInfo map : allmaps)
      {
        MappingFileData mfd = ObjectifyService.ofy().load().type(MappingFileData.class).filter("mappingFileInfoId", map.id).first().now();
        if (mfd != null)
        {
          ObjectifyService.ofy().delete().entity(mfd);
        }
      }
View Full Code Here

Examples of nz.org.winters.appspot.acrareporter.store.MappingFileData

                return;
              }
            }
          }

          MappingFileData mfd = ofy.load().type(MappingFileData.class).filter("mappingFileInfoId",mapping.id).first().now();

          acraLog.MAPPED_STACK_TRACE = StringReTrace.doReTrace(mfd.mapping, acraLog.STACK_TRACE);
        }else
        {
          response.getWriter().println("OLD VERSION");
View Full Code Here

Examples of org.dozer.classmap.MappingFileData

    URL url = loader.getResource("dozerBeanMapping.xml");

    Document document = XMLParserFactory.getInstance().createParser().parse(url.openStream());
    parser = new XMLParser(document);

    MappingFileData mappings = parser.load();
    assertNotNull(mappings);
  }
View Full Code Here

Examples of org.dozer.classmap.MappingFileData

    URL url = loader.getResource("fieldCustomConverterParam.xml");

    Document document = XMLParserFactory.getInstance().createParser().parse(url.openStream());
    parser = new XMLParser(document);
   
    MappingFileData mappings = parser.load();

    assertNotNull("The mappings should not be null", mappings);

    List<ClassMap> mapping = mappings.getClassMaps();

    assertNotNull("The list of mappings should not be null", mapping);

    assertEquals("There should be one mapping", 3, mapping.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.