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

E22562-05

oracle.apps.fnd.applcore.flex.eff.runtime
Class EffCategoryPagesBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.eff.runtime.EffCategoryPagesBean
All Implemented Interfaces:
java.io.Serializable

public class EffCategoryPagesBean
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 java.util.HashMap<java.lang.String,java.lang.Boolean> createPrivilegeContextMap
           
 
Constructor Summary
EffCategoryPagesBean()
           
 
Method Summary
 void createDetailRowIfNotExists(java.lang.String amDC, java.lang.String categoryAMInstName, java.lang.String categoryViewUsageName, java.lang.String contextViewLinkAccName, java.lang.String category_pk1, java.lang.String category_pk2, java.lang.String category_pk3, java.lang.String category_pk4, java.lang.String category_pk5)
           
static java.lang.Object evaluateEL(java.lang.String el)
           
 boolean getCreatePrivilegeForContext()
           
 oracle.adf.controller.TaskFlowId getDynamicRHSTaskFlowId()
           
 oracle.adf.controller.TaskFlowId getDynamicTaskFlowId()
           
 java.lang.String getEffApplicationId()
           
 java.lang.String getEffCategoryCode()
           
 java.lang.String getEffDescriptiveFlexfieldCode()
           
 java.lang.String getEffPageCode()
           
 java.lang.String getEffUsageCode()
           
 java.lang.String getNonEffTF()
           
 boolean getRefreshRegion()
           
 java.util.HashMap getRenderContextTaskFlowMap()
          called when the EFF Contexts taskflows get rendered in the UI
 boolean getRHSRefreshRegionReqd()
           
protected  java.lang.String prepareSqlQueryForMatchingEffLineId(java.lang.String securityObject, java.lang.String contextCode, java.lang.String categoryCode, oracle.jbo.Row categoryRow)
          prepares the SQL Query that will be executed to figure out if at all an EFFLineId exists in the extension table for a particular category row.
 void setEffPageCode(java.lang.String rowPageCode)
           
 void setNonEffTF(java.lang.String mNonEffTF)
           
 void setRHSParams(javax.faces.event.ActionEvent actionEvent)
           
 void setRHSRefreshRegionReqd(boolean mRHSRefreshRegionReqd)
           
protected  java.lang.String testPrivilegeForContext(java.lang.String contextCode, java.lang.String categoryCode, OAViewRowImpl masterRow)
          Test privilege is evaluated for given context,category associated with master row
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

createPrivilegeContextMap

public java.util.HashMap<java.lang.String,java.lang.Boolean> createPrivilegeContextMap
Constructor Detail

EffCategoryPagesBean

public EffCategoryPagesBean()
Method Detail

getCreatePrivilegeForContext

public boolean getCreatePrivilegeForContext()

getDynamicTaskFlowId

public oracle.adf.controller.TaskFlowId getDynamicTaskFlowId()

getDynamicRHSTaskFlowId

public oracle.adf.controller.TaskFlowId getDynamicRHSTaskFlowId()

setRHSParams

public void setRHSParams(javax.faces.event.ActionEvent actionEvent)

getRefreshRegion

public boolean getRefreshRegion()

getEffApplicationId

public java.lang.String getEffApplicationId()

getEffDescriptiveFlexfieldCode

public java.lang.String getEffDescriptiveFlexfieldCode()

getEffCategoryCode

public java.lang.String getEffCategoryCode()

getEffUsageCode

public java.lang.String getEffUsageCode()

getEffPageCode

public java.lang.String getEffPageCode()

setEffPageCode

public void setEffPageCode(java.lang.String rowPageCode)

setNonEffTF

public void setNonEffTF(java.lang.String mNonEffTF)

getNonEffTF

public java.lang.String getNonEffTF()

getRenderContextTaskFlowMap

public java.util.HashMap getRenderContextTaskFlowMap()
called when the EFF Contexts taskflows get rendered in the UI

Returns:
map of contexts and their rendering value in order of true, false

testPrivilegeForContext

protected java.lang.String testPrivilegeForContext(java.lang.String contextCode,
                                                   java.lang.String categoryCode,
                                                   OAViewRowImpl masterRow)
Test privilege is evaluated for given context,category associated with master row

Parameters:
contextCode - Context Code
categoryCode - CategoryCode
masterRow - Master Row
Returns:
String as hasPrivilege value "true" or "false"

evaluateEL

public static java.lang.Object evaluateEL(java.lang.String el)

setRHSRefreshRegionReqd

public void setRHSRefreshRegionReqd(boolean mRHSRefreshRegionReqd)

getRHSRefreshRegionReqd

public boolean getRHSRefreshRegionReqd()

createDetailRowIfNotExists

public void createDetailRowIfNotExists(java.lang.String amDC,
                                       java.lang.String categoryAMInstName,
                                       java.lang.String categoryViewUsageName,
                                       java.lang.String contextViewLinkAccName,
                                       java.lang.String category_pk1,
                                       java.lang.String category_pk2,
                                       java.lang.String category_pk3,
                                       java.lang.String category_pk4,
                                       java.lang.String category_pk5)

prepareSqlQueryForMatchingEffLineId

protected java.lang.String prepareSqlQueryForMatchingEffLineId(java.lang.String securityObject,
                                                               java.lang.String contextCode,
                                                               java.lang.String categoryCode,
                                                               oracle.jbo.Row categoryRow)
prepares the SQL Query that will be executed to figure out if at all an EFFLineId exists in the extension table for a particular category row. Product teams can override this method so that they can have complicated predicates applied to the query depending on their requirement. The query returned will then be used to verify the existence for an EFFLineId with and without security predicate if any.

Parameters:
securityObject - the object against which the security is applied
contextCode - contextCode value for the current context taskflow
categoryCode - category code for the current category row
categoryRow - master row associated to the current EFF
Returns:

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.