Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


oracle.search.query.webservice.client
Class SessionContextElement

java.lang.Object
  extended by oracle.search.query.webservice.client.SessionContextElement

All Implemented Interfaces:
Serializable

public class SessionContextElement
extends Object
implements Serializable

SessionContextElement encapsulates an element in the session context information. The element stores context information in the form of a name-value pair.

Session context can be used to pass authentication information for the query user, which can be used during query-time filtering of the results.

See Also:
Serialized Form

Constructor Summary
SessionContextElement()
           
SessionContextElement(String name, String value)
           

 

Method Summary
 String getName()
          Returns the name of the session context element.
 String getValue()
          Returns the value of the session context element.
 void setName(String name)
          Sets the name of the session context element.
 void setValue(String value)
          Sets the value of the session context element.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SessionContextElement

public SessionContextElement()

SessionContextElement

public SessionContextElement(String name,
                             String value)
Parameters:
name - name of the session context element
value - value of the session context element

Method Detail

getName

public String getName()
Returns the name of the session context element.

setName

public void setName(String name)
Sets the name of the session context element.
Parameters:
name - name of the session context element

getValue

public String getValue()
Returns the value of the session context element.

setValue

public void setValue(String value)
Sets the value of the session context element.
Parameters:
value - value of the session context element

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved.