Examples of SbiCommonInfo


Examples of it.eng.spagobi.commons.metadata.SbiCommonInfo

    SbiDataSetConfig newDsConfig = new SbiDataSetConfig();

    newDsConfig.setLabel(dataset.getLabel());
    newDsConfig.setName(dataset.getName());
    newDsConfig.setDescription(dataset.getDescription());
    SbiCommonInfo i = new SbiCommonInfo();
    IEngUserProfile profile = (IEngUserProfile)session.getPermanentContainer().getAttribute(IEngUserProfile.ENG_USER_PROFILE);
    String userid = "biadmin";
    if(profile!=null){
      userid =(String) profile.getUserUniqueIdentifier();
    }
    i.setTimeIn(new Date());
    i.setUserIn(userid);
    i.setSbiVersionIn(SbiCommonInfo.SBI_VERSION);
    newDsConfig.setCommonInfo(i);

    logger.debug("OUT");
    return newDsConfig;
 
View Full Code Here

Examples of it.eng.spagobi.commons.metadata.SbiCommonInfo

      existingDataset.setName(exportedDataset.getName());     
      existingDataset.setDescription(exportedDataset.getDescription());
      existingDataset.setLabel(exportedDataset.getLabel());
      existingDataset.setName(exportedDataset.getName());     
      existingDataset.setDescription(exportedDataset.getDescription());
      SbiCommonInfo i = new SbiCommonInfo();
      IEngUserProfile profile = (IEngUserProfile)session.getPermanentContainer().getAttribute(IEngUserProfile.ENG_USER_PROFILE);
      String userid = "biadmin";
      if(profile!=null){
        userid =(String) profile.getUserUniqueIdentifier();
      }
      i.setTimeIn(new Date());
      i.setUserIn(userid);
      i.setSbiVersionIn(SbiCommonInfo.SBI_VERSION);
      existingDataset.setCommonInfo(i);


      // Make precedent active inactive, new one will be active
      Query hibQueryPreActive = sessionCurrDB.createQuery("from SbiDataSetHistory h where h.active = ? and h.sbiDsConfig = ?" );
View Full Code Here

Examples of it.eng.spagobi.commons.metadata.SbiCommonInfo

      SbiDomains transformer = getAssociatedTransfomerType(exportedDataset, sessionCurrDB, metaAss, importer);
      if (transformer != null) {
        dsnewHistory.setTransformer(transformer);

      }
      SbiCommonInfo i = new SbiCommonInfo();
      IEngUserProfile profile = (IEngUserProfile)session.getPermanentContainer().getAttribute(IEngUserProfile.ENG_USER_PROFILE);
      String userid = "biadmin";
      if(profile!=null){
        userid =(String) profile.getUserUniqueIdentifier();
      }
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.