Creates or retrieves a new canonical AutoBean to represent the given id in the returned
payload.
510940
<Q extends BaseProxy> AutoBean<Q> getProxyForReturnPayloadGraph(final SimpleProxyId<Q> id) {
    @SuppressWarnings("unchecked")
    AutoBean<Q> bean = (AutoBean<Q>) this.state.returnedProxies.get(id);
    if (bean == null) {
      final Class<Q> proxyClass = id.getProxyClass();
      bean = this.createProxy(proxyClass, id, true);
      this.state.returnedProxies.put(id, bean);
    }

    return bean;
  }
1354133
public Used newUsed(QualifiedName id) {
	Used res = of.createUsed();
	res.setId(id);
	return res;
    }
942945
public static BaasResult<JsonObject> fetchDataSync(String id){
        if (id == null) throw new IllegalArgumentException("asset id cannot be null");
        BaasBox box = BaasBox.getDefaultChecked();
        AssetDataRequest req = new AssetDataRequest(box,id, RequestOptions.DEFAULT,null);
        return box.submitSync(req);
    }
1026120
@Override
    public Optional<Identification> getIdentification(String id) {
        return Optional.ofNullable(registered.get(id))
                .map(IdentificationImpl::createIdentification);
    }
640497
public static Operation of(String id, String producer) {
    return newBuilder(id, producer).build();
  }
291951
public CmsEntityWrapper createEntity(String id, String typeName) {

        return new CmsEntityWrapper(CmsEntityBackend.getInstance().createEntity(id, typeName));
    }
645543
public BeanO getBean(ContainerTx tx, BeanId id)
    {
        return id.getActivationStrategy().atGet(tx, id);
    }
516084
public Automaton getAutomatonById(String id) throws IOException {
    if (idToVersion.containsKey(id)) {
      List<BytesRef> bytesArray = new ArrayList<>();
      Set<String> data = get(id);
      if (data != null) {
        Term term;
        for (String item : data) {
          term = new Term("dummy", item);
          bytesArray.add(term.bytes());
        }
        Collections.sort(bytesArray);
        return Automata.makeStringUnion(bytesArray);
      }
    }
    return null;
  }
432486
public T getProvider(final String id) {
        return (T) beanFactory.getBean(providerFactory.beanName(id));
    }
233521
public static String getShortID(String id) {
        String canonicalID = getCanonicalCLDRID(id);
        if (canonicalID == null) {
            return null;
        }
        return getShortIDFromCanonical(canonicalID);
    }
393864
public <T extends Entity> T byID(Class<T> clazz, AssetID id) {
        return instance.getWrapperManager().create(clazz, id, true);
    }
311329
public Versioned<E> getVersionedById(int id) {
        Versioned<VListNode<E>> listNode = getListNode(id);
        if(listNode == null)
            throw new IndexOutOfBoundsException();
        return new Versioned<E>(listNode.getValue().getValue(), listNode.getVersion());
    }
479708
public BeanId getBeanId() {
        if (ivBeanId == null) {
            ivBeanId = new BeanId(ivBMD.j2eeName, null, false);
        }
        return ivBeanId;
    }
901677
public String addId(final URI id) {
        if (id == null) {
            return null;
        }
        final URI localId = id.normalize();
        index ++;
        final String newId = PREFIX + Integer.toString(index);
        idMap.put(localId, newId);
        return newId;
    }
714275
public Map<String, Object> loadById(String id) {
        final String sid = sessionPrefix + ":" + id;
        try {
            return this.executor.execute(new RedisCallback<Map<String, Object>>() {
                public Map<String, Object> execute(Jedis jedis) {
                    String session = jedis.get(sid);
                    if (!Strings.isNullOrEmpty(session)) {
                        return serializer.deserialize(session);
                    }
                    return Collections.emptyMap();
                }
            });
        } catch (Exception e) {
            log.error("failed to load session(key={}), cause:{}", sid, Throwables.getStackTraceAsString(e));
            throw new SessionException("load session failed", e);
        }
    }
821112
public static Object getBean(String id) {
        ApplicationContext appContext = getAppContext();
        return appContext == null ? null : appContext.containsBean(id) ? appContext.getBean(id) : null;
    }
426249
protected Button newButton(final String id)
	{
		return new Button(id)
		{
			/** The serialVersionUID. */
			private static final long serialVersionUID = 1L;

			@Override
			public void onSubmit()
			{
				onSignup(ComponentFinder.findOrCreateNewAjaxRequestTarget(), getForm());
			}
		};
	}