Esri Geoportal Server
1.2.9

com.esri.gpt.control.webharvest.common
Class CommonResult

java.lang.Object
  extended by com.esri.gpt.control.webharvest.common.CommonResult
All Implemented Interfaces:
Result

public class CommonResult
extends Object
implements Result

Common result implementation.


Constructor Summary
CommonResult(Iterable<? extends Resource> resources)
          Creates instance of the result.
CommonResult(Resource resource)
          Creates instance of the result.
 
Method Summary
 void destroy()
          Destroys result.
 Iterable<? extends Resource> getResources()
          Gets available resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonResult

public CommonResult(Iterable<? extends Resource> resources)
Creates instance of the result.

Parameters:
resources - collection of resources

CommonResult

public CommonResult(Resource resource)
Creates instance of the result.

Parameters:
resource - a single resource
Method Detail

getResources

public Iterable<? extends Resource> getResources()
Description copied from interface: Result
Gets available resources. Retrieved resources are a top-level resources.

Specified by:
getResources in interface Result
Returns:
resources

destroy

public void destroy()
Description copied from interface: Result
Destroys result.

Specified by:
destroy in interface Result

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.