Package com.tensegrity.palo.gwt.core.server.converter.cubeviews

Examples of com.tensegrity.palo.gwt.core.server.converter.cubeviews.ViewConverter


        if (!allowed) {
          data.addError(UserSession.trans(locale, "viewCannotBeSeen", v.getName(), v.getId()));             
          continue;
        }
       
        ViewConverter conv = new ViewConverter();
        XView xView = (XView) conv.toXObject(v);
        if (xView != null) {         
          xView.setDisplayFlags(createDisplayFlags(linkToParse));
          allViews.add(xView);
        }
      }
View Full Code Here


        //logger.info("user--> saving subobj");
        JPaloSavingUtil util = new JPaloSavingUtil();
        String xml = util.getSubobjectForJPalo(getSession(), v.getName());
        //logger.info("saved subobj"+xml);
      }
      ViewConverter conv = new ViewConverter();
      XView xView = (XView) conv.toXObject(v);
      xView.setDisplayFlags(createDisplayFlags(link));

      data.setViews(new XView [] {xView});
      return data; 
     
View Full Code Here

      log.debug("AccountToUse:");
      log.debug("  Name: " + xAccount.getLogin());
      log.debug("  Pass: " + data.getUserPassword());
      log.debug("View: " + viewToUse.getName());
      data.setAuthenticated(true);     
      ViewConverter conv = new ViewConverter();
      XView xView = (XView) conv.toXObject(viewToUse);                   
      data.setViews(new XView [] {xView});                   
    }
    if (viewIdFound != null && accountToUse == null) {
      data.addError(UserSession.trans(locale, "viewCannotBeSeen", viewIdFound.getName(), viewIdFound.getId()));
    }
View Full Code Here

            if (i2 != -1) {
              int i3 = def.indexOf("\"", i2);
              if (i3 != -1) {
                String id = def.substring(i2, i3);
                if (viewId.equals(id)) {
                  ViewConverter conv = new ViewConverter();
                  XView xView = (XView) conv.toXObject(v);                   
                  data.setViews(new XView [] {xView});                   
                  return data;       
                }
              }
            }
View Full Code Here

TOP

Related Classes of com.tensegrity.palo.gwt.core.server.converter.cubeviews.ViewConverter

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.