Return the url to the collection endpoint

@param entity
name
@param customerW
group id
@return collection url
322332
public String getCollectionUrl(String entityName, String groupId) {
		return connec.getHost() + getCollectionEndpoint(entityName, groupId);
	}
917567
@Override
	public CommerceCountry fetchCommerceCountryByUuidAndGroupId(String uuid,
		long groupId) {
		return commerceCountryPersistence.fetchByUUID_G(uuid, groupId);
	}
690581
@RequestMapping(method = RequestMethod.GET, value = "/workflowInstance/{woinRefNum}",
            produces = {MediaType.APPLICATION_JSON_VALUE, MediaType.TEXT_XML_VALUE})
    public ResponseEntity<WorkflowInstanceRestModel> find( @PathVariable long woinRefNum ){
        WorkflowInstanceState woin = facade.findWorkflowInstance( woinRefNum, null );
        if( woin == null ){
            return new ResponseEntity<>( HttpStatus.NOT_FOUND );
        }
        else{
            return new ResponseEntity<>( createInstanceModel( woin ), HttpStatus.OK );
        }
    }
677181
def get_service_url(region, endpoint_list, lookup):
    

    for endpoint in endpoint_list:
        region_get = endpoint.get('region', '')
        if region.lower() == region_get.lower():
            return http.parse_url(url=endpoint.get(lookup))
    else:
        raise exceptions.AuthenticationProblem(
            'Region "%s" was not found in your Service Catalog.',
            region
        )
685384
public Observable<ServiceResponse<Object>> listSwaggerWithServiceResponseAsync(String resourceGroupName, String workflowName) {
        if (this.client.subscriptionId() == null) {
            throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
        }
        if (resourceGroupName == null) {
            throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
        }
        if (workflowName == null) {
            throw new IllegalArgumentException("Parameter workflowName is required and cannot be null.");
        }
        if (this.client.apiVersion() == null) {
            throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
        }
        return service.listSwagger(this.client.subscriptionId(), resourceGroupName, workflowName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
            .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Object>>>() {
                @Override
                public Observable<ServiceResponse<Object>> call(Response<ResponseBody> response) {
                    try {
                        ServiceResponse<Object> clientResponse = listSwaggerDelegate(response);
                        return Observable.just(clientResponse);
                    } catch (Throwable t) {
                        return Observable.error(t);
                    }
                }
            });
    }
642818
@Override
	public CommerceOrder getCommerceOrderByUuidAndGroupId(String uuid,
		long groupId) throws PortalException {
		return commerceOrderPersistence.findByUUID_G(uuid, groupId);
	}
817311
public Map<String, Object> retrieve(String entityName, String groupId, String entityId, MnoHttpClient httpClient) throws AuthenticationException, ApiException, InvalidRequestException {
		String jsonBody = httpClient.get(getInstanceUrl(entityName, groupId, entityId));
		Type typeOfHashMap = HashMap.class;
		return GSON.fromJson(jsonBody, typeOfHashMap);
	}
799285
public static servicegroup_servicegroupentitymonbindings_binding[] get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup_servicegroupentitymonbindings_binding obj = new servicegroup_servicegroupentitymonbindings_binding();
		obj.set_servicegroupname(servicegroupname);
		servicegroup_servicegroupentitymonbindings_binding response[] = (servicegroup_servicegroupentitymonbindings_binding[]) obj.get_resources(service);
		return response;
	}
1116280
@Override
	public List<CommercePaymentMethodGroupRel> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
515292
public String getURLTemplateRef( String refGroupName, String key )
    {
        String ref = null;

        if ( _servletContext != null )
        {
            URLTemplatesFactory urlTemplatesFactory = URLTemplatesFactory.getURLTemplatesFactory( _servletContext );
            if ( urlTemplatesFactory != null )
            {
                ref = urlTemplatesFactory.getTemplateNameByRef( refGroupName, key );
            }
        }

        return ref;
    }
758296
public String getURL()
    {
        validateNotEmpty( m_groupId, true, "Group" );
        validateNotEmpty( m_artifactId, true, "Artifact" );
        final StringBuilder url = new StringBuilder();
        url.append( "mvn:" ).append( m_groupId ).append( "/" ).append( m_artifactId );
        if( m_version != null || m_type != null || m_classifier != null )
        {
            url.append( "/" );
        }
        if( m_version != null )
        {
            url.append( m_version );
        }
        if( m_type != null || m_classifier != null )
        {
            url.append( "/" );
        }
        if( m_type != null )
        {
            url.append( m_type );
        }
        if( m_classifier != null )
        {
            url.append( "/" ).append( m_classifier );
        }
        return url.toString();
    }
1290987
public static com.liferay.commerce.product.model.CProduct fetchCProductByUuidAndGroupId(
		String uuid, long groupId) {
		return getService().fetchCProductByUuidAndGroupId(uuid, groupId);
	}
351517
@Override
	public String getURL(String corpNum, String TOGO) throws PopbillException {
		return getURL(corpNum, null, TOGO);
	}
294351
@RequestMapping(path = "", method = RequestMethod.POST)
    public ResponseEntity<Customer> createCustomer(@RequestBody Customer customer){
        Customer newCustomer = customerService.createCustomer(customer);
        if(newCustomer != null){
            return new ResponseEntity<Customer>(newCustomer, HttpStatus.CREATED);
        }else{
            return new ResponseEntity<Customer>(HttpStatus.CONFLICT);
        }
    }
304756
@Override
	public String getViewURL(String CorpNum, MgtKeyType KeyType, String MgtKey) throws PopbillException {
		return getViewURL(CorpNum, KeyType, MgtKey, null); 
	}
1120291
public static servicegroup_binding get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup_binding obj = new servicegroup_binding();
		obj.set_servicegroupname(servicegroupname);
		servicegroup_binding response = (servicegroup_binding) obj.get_resource(service);
		return response;
	}
539012
public String getServiceUrlGroup(String version, String service) {
    String[] groups = config.getStringArray("api.adwords.version." + version + ".groups");
    for (String group : groups) {
      String[] services =
          config.getStringArray("api.adwords.version." + version + "." + group + ".services");
      if (Lists.newArrayList(services).contains(service)) {
        return group;
      }
    }
    throw new NullPointerException("No group found for service: " + version + "." + service);
  }