// Create a PropertyRequest - specify the names of
// properties wanted from the resource.
PropertyRequest myPropList1 =
new PropertyRequest(Resource.COMMENT,
Resource.CONTENT_LENGTH,
Resource.CONTENT_TYPE,
Resource.CREATOR_DISPLAY_NAME,
Resource.DISPLAY_NAME);
PropertyRequest myPropListr =
new PropertyRequest(StpResource.USER_FRIENDLY_LOCATION,
Resource.DISPLAY_NAME,
// include properties specific to the Query
CqQuery.DISPLAY_FIELDS,
CqQuery.DYNAMIC_FILTERS);
After you include the property names in a PropertyRequest, you can pass this request to the doReadProperties() method of the Resource proxy to read the specified properties.