*/
public RequestedProperties getAllPropertyNames(String resourcePath, boolean liveOnly) throws SlideException {
NodeRevisionDescriptor nrd =
content.retrieve(sToken, content.retrieve(sToken, resourcePath));
ResourceKind resourceKind = AbstractResourceKind.determineResourceKind(nsaToken, resourcePath, nrd);
RequestedPropertiesImpl result = (RequestedPropertiesImpl)getAllPropertyNames(resourceKind);
if (!liveOnly) {
// add this resource's dead properties
Enumeration props = nrd.enumerateProperties();
while (props.hasMoreElements()) {
NodeProperty np = (NodeProperty)props.nextElement();
if (!result.contains(np)) {
result.addProperty(new RequestedPropertyImpl(np.getName(), np.getNamespace()));
}
}
}
return result;
}