Esri Geoportal Server
1.2.9

com.esri.gpt.control.cart
Class TryResponse

java.lang.Object
  extended by com.esri.gpt.control.cart.TryResponse

public class TryResponse
extends Object

"/try" response

Author:
Esri, Inc.

Constructor Summary
TryResponse()
           
 
Method Summary
 void accept(String key)
          Accepts a key.
 void add(String key, boolean accept)
          Addes a key.
 List<String> getAccepted()
          Gets collection of accepted keys.
 List<String> getRejected()
          Gets collection of rejected keys.
 void reject(String key)
          Rejects a key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TryResponse

public TryResponse()
Method Detail

getAccepted

public List<String> getAccepted()
Gets collection of accepted keys.

Returns:
collection of accepted keys (read only)

getRejected

public List<String> getRejected()
Gets collection of rejected keys.

Returns:
collection of rejected keys (read only)

accept

public void accept(String key)
Accepts a key.

Parameters:
key - key

reject

public void reject(String key)
Rejects a key.

Parameters:
key - key

add

public void add(String key,
                boolean accept)
Addes a key.

Parameters:
key - key
accept - true to accept, false to reject

Esri Geoportal Server
1.2.9

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