Examples of marshalModel()


Examples of com.tll.server.marshal.Marshaler.marshalModel()

    final String id = model.getId();
    final String accountId = id.substring(0, id.indexOf('|'));
    final String intfId = id.substring(id.indexOf('|')+1);
    AccountInterface ai = isvc.loadAccountInterface(accountId, intfId);

    ai = marshaler.marshalModel(model, ai);
    isvc.setAccountInterface(ai);

    final MarshalOptions moptions = context.getMarshalOptionsResolver().resolve(SmbizEntityType.ACCOUNT_INTERFACE);
    final Model m = marshaler.marshalEntity(ai, moptions);
    payload.setModel(m);
View Full Code Here

Examples of com.tll.server.marshal.Marshaler.marshalModel()

    }
    final Collection<Model> musers = request.getUsers();

    try {
      // un-marshal
      Account account = mlr.marshalModel(maccount, accountClass);

      final ArrayList<AccountInterface> aios = new ArrayList<AccountInterface>(maios.size());
      for(final Model maio : maios) {
        aios.add(mlr.marshalModel(maio, AccountInterface.class));
      }
View Full Code Here

Examples of com.tll.server.marshal.Marshaler.marshalModel()

      // un-marshal
      Account account = mlr.marshalModel(maccount, accountClass);

      final ArrayList<AccountInterface> aios = new ArrayList<AccountInterface>(maios.size());
      for(final Model maio : maios) {
        aios.add(mlr.marshalModel(maio, AccountInterface.class));
      }

      final ArrayList<User> users = musers == null ? null : new ArrayList<User>(musers.size());
      if(musers != null) {
        for(final Model muser : musers) {
View Full Code Here

Examples of com.tll.server.marshal.Marshaler.marshalModel()

      }

      final ArrayList<User> users = musers == null ? null : new ArrayList<User>(musers.size());
      if(musers != null) {
        for(final Model muser : musers) {
          users.add(mlr.marshalModel(muser, User.class));
        }
      }

      if(Isp.class == accountClass) {
        account = svc.addIsp((Isp) account, aios, users);
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.