Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.favRecentItems.ui.bean
Class FavRecentItemsCommon

java.lang.Object
  extended by oracle.apps.fnd.applcore.favRecentItems.ui.bean.FavRecentItemsCommon

public class FavRecentItemsCommon
extends java.lang.Object


Field Summary
static java.lang.String NO_TF_ID
           
 
Constructor Summary
FavRecentItemsCommon()
           
 
Method Summary
 java.lang.String convertBooleanToString(java.lang.Boolean bool)
          This method converts a true to "Y" and false to "N"
 java.lang.Boolean convertToBoolean(java.lang.String str)
          Thise method convert Y to true and N to false
 java.util.Map getMapFromString(java.lang.String str)
          converts a string to map
 java.util.List<TaskFlowObject> getRIInstance()
          This method first looks into session if ri instance is available.
static FavRecentItemsAMImpl getRIService()
          This method returns the embedded FavRI AM from pageRootAM
 java.lang.String getStringFromMap(java.util.Map map)
          this method converts a passed map to string format
 boolean launchTaskFlow(TaskFlowObject tfo, oracle.binding.OperationBinding oper)
           
 void persistRIData(java.util.List<TaskFlowObject> recentItemsList, java.lang.String userId)
          This method persisits recentItems list from session to db.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_TF_ID

public static final java.lang.String NO_TF_ID
See Also:
Constant Field Values
Constructor Detail

FavRecentItemsCommon

public FavRecentItemsCommon()
Method Detail

getRIInstance

public java.util.List<TaskFlowObject> getRIInstance()
This method first looks into session if ri instance is available. If not then it get it from db.

Returns:

persistRIData

public void persistRIData(java.util.List<TaskFlowObject> recentItemsList,
                          java.lang.String userId)
This method persisits recentItems list from session to db.

Parameters:
recentItemsList -
userId -

getRIService

public static FavRecentItemsAMImpl getRIService()
This method returns the embedded FavRI AM from pageRootAM

Returns:

launchTaskFlow

public boolean launchTaskFlow(TaskFlowObject tfo,
                              oracle.binding.OperationBinding oper)
                       throws java.lang.Exception
Parameters:
tfo - Task flow object instance
oper -
Throws:
java.lang.Exception

getStringFromMap

public java.lang.String getStringFromMap(java.util.Map map)
                                  throws java.lang.Exception
this method converts a passed map to string format

Throws:
java.lang.Exception

convertToBoolean

public java.lang.Boolean convertToBoolean(java.lang.String str)
                                   throws java.lang.Exception
Thise method convert Y to true and N to false

Parameters:
str -
Returns:
Throws:
java.lang.Exception

convertBooleanToString

public java.lang.String convertBooleanToString(java.lang.Boolean bool)
This method converts a true to "Y" and false to "N"

Parameters:
bool -
Returns:

getMapFromString

public java.util.Map getMapFromString(java.lang.String str)
                               throws java.lang.Exception
converts a string to map

Returns:
Throws:
java.lang.Exception

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.