Package nz.org.winters.appspot.acrareporter.store

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


    {

      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

              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

      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

   
    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

      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

    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

                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

TOP

Related Classes of nz.org.winters.appspot.acrareporter.store.MappingFileData

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.