Get the filter string which will extract <property> elements nested inside a given <appProperties> element

@param applicationPid The pid of the appProperties element in the config
@return A filter string to be used by the OSGi ConfigurationAdmin service
971686
public static String getApplicationPropertiesPropertyConfigFilter(String applicationPropertyPid) {
        String applicationConfigFilter = null;

        StringBuilder applicationFilter = new StringBuilder(200);
        applicationFilter.append("(&");
        applicationFilter.append(FilterUtils.createPropertyFilter(CFG_SERVICE_FACTORY_PID, CFG_APP_PROPERTIES_PROPERTY));
        applicationFilter.append(FilterUtils.createPropertyFilter(CFG_CONFIG_PARENT_PID, applicationPropertyPid));
        applicationFilter.append(')');

        applicationConfigFilter = applicationFilter.toString();

        return applicationConfigFilter;
    }
239545
public static ApplicationProperties configure(Application app,
			ApplicationProperties config) {
		if (properties != null) {
			throw new ApplicationConfigurationException(
					"re-configure ApplicationProperties not allowed.");
		}
		properties = config;
		return properties;
	}
83058
public static appfwpolicy[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		appfwpolicy obj = new appfwpolicy();
		options option = new options();
		option.set_filter(filter);
		appfwpolicy[] response = (appfwpolicy[]) obj.getfiltered(service, option);
		return response;
	}
761725
public Properties processProps(Map<String, Object> props, String elementNameRef) {
        final Properties properties = new Properties();
        String pid = (String) props.get(elementNameRef);

        if (pid == null) {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "pid null");
            }
        } else {
            ConfigurationAdmin configAdmin = configAdminRef.getServiceWithException();
            Configuration config = null;
            try {
                // We do not want to create a missing pid, only find one that we were told exists
                Configuration[] configList = configAdmin.listConfigurations(FilterUtils.createPropertyFilter("service.pid", pid));
                if (configList != null && configList.length > 0) {
                    //bind the config to this bundle so no one else can steal it
                    config = configAdmin.getConfiguration(pid, configAdminRef.getReference().getBundle().getLocation());
                }
            } catch (Exception e) {
                //do nothing
            }
            if (config != null) {
                // Just get the first one (there should only ever be one.. )
                Dictionary<String, ?> cProps = config.getProperties();
                Enumeration<String> keys = cProps.keys();
                while (keys.hasMoreElements()) {
                    String key = keys.nextElement();
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                        Tr.debug(tc, "found key: " + key);
                    }
                    // Skip certain keys
                    if (key.startsWith(".")
                            || key.startsWith("config.")
                            || key.startsWith("service.")
                            || key.equals("id")) {
                        continue;
                    }
                    Object value = cProps.get(key);
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                        Tr.debug(tc, "key: " + key + " value: " + value);
                    }
                    // For scope to claims map generate String array from comma delimited string
                    value = getValue(value);
                    properties.put(key, value);
                }
            }
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, elementNameRef + ": " + properties.toString());
        }
        return properties;
    }
733608
protected String cleanAppId(String appId) {
    return (appId != null) ? StringUtil.cleanseToken(appId) : Constants.UNKNOWN;
  }
572834
public ApplicationField getField(int appId, int fieldId) {
		return getResourceFactory().getApiResource(
				"/app/" + appId + "/field/" + fieldId).get(
				ApplicationField.class);
	}
1214613
public static xen_appcvpx_image[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_appcvpx_image obj = new xen_appcvpx_image();
		options option = new options();
		option.set_filter(filter);
		xen_appcvpx_image[] response = (xen_appcvpx_image[]) obj.getfiltered(service, option);
		return response;
	}
1206708
public Collection<Deployment> list(long applicationId, List<String> queryParams)
    {
        return HTTP.GET(String.format("/v2/applications/%d/deployments.json", applicationId), null, queryParams, DEPLOYMENTS).get();
    }
1072584
public static appfwjsoncontenttype[] get_filtered(nitro_service service, String filter) throws Exception{
		appfwjsoncontenttype obj = new appfwjsoncontenttype();
		options option = new options();
		option.set_filter(filter);
		appfwjsoncontenttype[] response = (appfwjsoncontenttype[]) obj.getfiltered(service, option);
		return response;
	}
36956
public Optional<Application> show(long applicationId)
    {
        return HTTP.GET(String.format("/v2/applications/%d.json", applicationId), APPLICATION);
    }
794564
@SuppressWarnings("WeakerAccess")
  public AppProfile getAppProfile(String instanceId, String appProfileId) {
    return ApiExceptions.callAndTranslateApiException(getAppProfileAsync(instanceId, appProfileId));
  }
749412
public static appfwprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		appfwprofile obj = new appfwprofile();
		options option = new options();
		option.set_filter(filter);
		appfwprofile[] response = (appfwprofile[]) obj.getfiltered(service, option);
		return response;
	}
1042028
public static appfwlearningsettings[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		appfwlearningsettings obj = new appfwlearningsettings();
		options option = new options();
		option.set_filter(filter);
		appfwlearningsettings[] response = (appfwlearningsettings[]) obj.getfiltered(service, option);
		return response;
	}
735320
public ApplicationInstance getInstance(String nodeId) throws ApplicationInstanceOfflineException {
        if (ApplicationDiscovery.singleton == null)
            throw new RuntimeException("Service discovery is disabled! No service discovery plugin is provided.");
        ApplicationInstance instance = ApplicationDiscovery.singleton.instance(nodeId);
        if (instance == null)
            throw new ApplicationInstanceOfflineException(nodeId);
        return instance;
    }
481449
public static int[] getAppWidgetIds(AppWidgetManager appWidgetManager, Context context, Class<?> clazz) {
        return appWidgetManager.getAppWidgetIds(new ComponentName(context, clazz));
    }
597107
public Application getRegisteredApplications(String appName) {
        return appNameApplicationMap.get(appName.toUpperCase(Locale.ROOT));
    }
558518
private String getProperty(String property) {

        String ret = sdkProperties.getProperty(property);

        if (null == ret) {
            logger.warn(String.format("No configuration value found for '%s'", property));
        }
        return ret;
    }