PropertyFilter filter) throws RepositoryException {
try {
DocumentClassDefinition documentClassDefinition =
Factory.DocumentClassDefinition.fetchInstance(objectStore, objectId,
filter);
PropertyDefinitionList propertyDefinitionList =
documentClassDefinition.get_PropertyDefinitions();
return propertyDefinitionList.iterator();
} catch (Exception e) {
throw new RepositoryException("Unable to fetch property definition for "
+ objectId.toString(), e);
}
}