// 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);
将属性名包含到 PropertyRequest 中后,可以将该请求传递到 Resource 代理的 doReadProperties() 方法以读取所指定的属性。