this.resource = resource;
}
public String getOutcome()
{
ResourceManager resourceManager = ResourceManagerFactory.resourceManager();
if (resourceManager.getResource(this.resource.getId()) == null)
{
SummaryAction.this.facesMessages.add(FacesMessage.SEVERITY_WARN,
"#0 '#1' no longer exists.", this.resource.getResourceType().getName(),
this.resource.getName());
// Reset the current node to the stale Resource node's parent node.