Examples of AccountInterfaceDataSearch


Examples of com.tll.common.search.AccountInterfaceDataSearch

  }

  @Override
  public void loadImpl(ISearch search, ModelPayload payload) {
    if(search instanceof AccountInterfaceDataSearch) {
      final AccountInterfaceDataSearch ais = (AccountInterfaceDataSearch) search;

      final IInterfaceService isvc = context.getEntityServiceFactory().instance(IInterfaceService.class);
      final AccountInterface ai = isvc.loadAccountInterface(ais.getAccountId(), ais.getInterfaceId());

      // set the quasi-id
      ai.setId(ais.getAccountId() + '|' + ais.getInterfaceId());

      final Marshaler marshaler = context.getMarshaler();
      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.common.search.AccountInterfaceDataSearch

      }, new InterfaceStack.IFieldPanelDataLoader() {

        @Override
        public IRpcCommand load(ModelKey intfKey, AuxDataRequest adr) {
          final CrudCommand c = new CrudCommand();
          c.load(new AccountInterfaceDataSearch(initializer.getAccountRef().getId(), intfKey.getId()), adr);
          return c;
        }
      }, false);
    addWidget(intfStack);
  }
View Full Code Here

Examples of com.tll.common.search.AccountInterfaceDataSearch

      }, new InterfaceStack.IFieldPanelDataLoader() {

        @Override
        public IRpcCommand load(ModelKey intfKey, AuxDataRequest adr) {
          final CrudCommand c = new CrudCommand();
          c.load(new AccountInterfaceDataSearch(initializer.getAccountRef().getId(), intfKey.getId()), adr);
          return c;
        }
      }, false);
    addWidget(intfStack);
  }
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.