com.hyperion.css.common
Interface PropertyStoreIF


public interface PropertyStoreIF

Author:
Mathew Abraham Mathew PropertyStoreIF for reading/ writing SAP ticket to the native store

Field Summary
static java.lang.String CSS_DIR_CONTEXT
           
static java.lang.String PROPERTY_STORE_TYPE
           
 
Method Summary
 java.lang.String getStoredTicket(java.lang.String key)
          Retrieves the SAP ticket stored.
 java.lang.String storeTicket(java.lang.String key, java.lang.String ticket)
          Stores the SAP ticket.
 

Field Detail

CSS_DIR_CONTEXT

static final java.lang.String CSS_DIR_CONTEXT
See Also:
Constant Field Values

PROPERTY_STORE_TYPE

static final java.lang.String PROPERTY_STORE_TYPE
See Also:
Constant Field Values
Method Detail

getStoredTicket

java.lang.String getStoredTicket(java.lang.String key)
                                 throws CSSException
Retrieves the SAP ticket stored.

Parameters:
key - - The key using which the ticket will be retrieved. The key will be a SAP user identity.
Returns:
the ticket as stored in the storage. Null if no entry with the key is found.
Throws:
CSSException - if there is any failure in retrieving the ticket

storeTicket

java.lang.String storeTicket(java.lang.String key,
                             java.lang.String ticket)
                             throws CSSException
Stores the SAP ticket. If an entry with the key specified is already found, the existing ticket will be updated with the new ticket.

Parameters:
key - - The key for which the ticket will be stored. The key will be a SAP user identity.
ticket - - the existing SAP ticket in case of an UPDATE. Null in case of an INSERT.
Returns:
the old ticket which already existed
Throws:
CSSException - if there is any failure in retrieving the ticket


Copyright © 2005-2009 Oracle Corporation.