|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.socialnetwork.ui.managed.SocialNetworkSessionBean
public class SocialNetworkSessionBean
Session bean for performing Manual registration of ViewObject Rows into
the Oracle Social Network. The bean is registered as part of the UIComponents
bean registrations and is available via EL using the name "SocialNetworkSessionBean"
.
There are five primary types of call to this session bean:
Field Summary | |
---|---|
static java.lang.String |
OSN_BEAN_NAME
Deprecated. The registered name of the Bean in faces-config.xml. |
Constructor Summary | |
---|---|
SocialNetworkSessionBean()
Deprecated. Default Constructor. |
Method Summary | |
---|---|
static SocialNetworkSessionBean |
getInstance()
Deprecated. Provides a programattic way of accessing the SocialNetworkSessionBean from the session. |
java.util.Map |
getMapRowOsnDisabledOrSent()
Deprecated. Provides a Map which allows for the determination of whether a row has been sent to OSN in the current session. |
java.util.Map |
getMapVoOsnEnabled()
Deprecated. Provides a Map which allows for the determination of whether a view object has been configured for OSN Enablement. |
java.util.Map |
getOsnSocialObjectID()
Deprecated. Provides a Map which allows for the determination of what the Identifier used for the Social Object in OSN. |
java.lang.String |
getOsnSocialObjectID(oracle.jbo.Row row)
Deprecated. Based upon the row passed in determine what the identifier that will be used for representing the Social Object. |
boolean |
isEnvironmentOsnEnabled()
Deprecated. Determination whether the environment meets one of the following criteria one of the following is met: No session exists, ATG Lite enabled, No OSN libraries are on the classpath, There is no OSN endpoint in topology manager. |
java.lang.Boolean |
isRowOsnDisabledOrSent(oracle.jbo.Row row)
Deprecated. Determination whether the row has been sent to OSN in the current session. |
java.lang.Boolean |
isRowOsnDisabledOrSent(java.lang.String iteratorName,
oracle.jbo.Key rowKey)
Deprecated. Determination whether the row has been sent to OSN in the current session. |
java.lang.Boolean |
isRowOsnDisabledOrSent(javax.faces.component.UIComponent osnComponent)
Deprecated. Determination whether the row has been sent to OSN in the current session. |
boolean |
isVoOsnEnabled(oracle.jbo.ViewObject vo)
Deprecated. Determination whether the row meets one of the following criteria one of the following is met: No session exists, ATG Lite enabled, No OSN libraries are on the classpath, View Object for row is not OSN enabled as manual or automatic, There is no OSN endpoint in topology manager. |
void |
registerRowWithOsn(oracle.jbo.Row row)
Deprecated. API to send the row provided to OSN. |
void |
registerRowWithOsn(java.lang.String iteratorName,
oracle.jbo.Key rowKey)
Deprecated. API to send the row provided to OSN. |
void |
registerRowWithOsnActionListener(javax.faces.event.ActionEvent actionEvent)
Deprecated. Prefered API to send the row provided to OSN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OSN_BEAN_NAME
Constructor Detail |
---|
public SocialNetworkSessionBean()
Method Detail |
---|
public static SocialNetworkSessionBean getInstance()
public java.lang.Boolean isRowOsnDisabledOrSent(oracle.jbo.Row row)
row
- the row to check.
public java.util.Map getMapVoOsnEnabled()
public boolean isVoOsnEnabled(oracle.jbo.ViewObject vo)
vo
- the View Object to check.
public boolean isEnvironmentOsnEnabled()
public java.lang.Boolean isRowOsnDisabledOrSent(javax.faces.component.UIComponent osnComponent)
osnRow
defined which
contains the EL expression to the row that is to be sent to OSN. Below
is an example of how this can be setup against a button:
<af:commandButton text="Button Text" id="cb1"
binding="#{<backing bean binding for button>}
disabled="#{<backing bean method which calls isRowOsnDisabledOrSent with binding>}" >
<f:attribute name="osnRow" value="#{data.<PageDef>.<Iterator>.currentRow}"/>
</af:commandButton>
osnComponent
- the component which has the osnRow attribute.
public java.lang.Boolean isRowOsnDisabledOrSent(java.lang.String iteratorName, oracle.jbo.Key rowKey)
isRowOsnDisabledOrSent(row)
variant of this API.
This method will create a temporary instance of the VO that the iterator
provided uses (the iterator instance will not be modified) and use that
to look up the row to send to OSN.
The method will also return true if one of the following is met: No session
exists, ATG Lite enabled, No OSN libraries are on the classpath, View
Object for row is not OSN enabled as manual, There is no OSN endpoint in
topology manager.
iteratorName
- the name of the iterator containing the View Object row to be send to OSN.rowKey
- the primary key of the row in the iterators View Object to be sent to OSN.
public java.util.Map getMapRowOsnDisabledOrSent()
<af:commandButton text="Button Text" id="cb1"
disabled="#{SocialNetworkSessionBean.mapRowOsnDisabledOrSent[data.<PageDef>.<Iterator>.currentRow]}" />
public void registerRowWithOsn(oracle.jbo.Row row)
SocialNetworkSessionBean.getInstance().registerRowWithOsn(row)
Method:#{SocialNetworkSessionBean.registerRowWithOsn}
Parameters: Class Value oracle.jbo.Row#{data.<PageDef>.<Iterator>.currentRow}
row
- the row to send to OSN.public void registerRowWithOsnActionListener(javax.faces.event.ActionEvent actionEvent)
osnRow
defined which
contains the EL expression to the row that is to be sent to OSN. Below
is an example of how this can be setup against a button:
<af:commandButton text="Button Text" id="cb1"
actionListener="#{SocialNetworkSessionBean.registerRowWithOsnActionListener}" >
<f:attribute name="osnRow" value="#{data.<PageDef>.<Iterator>.currentRow}"/>
</af:commandButton>
actionEvent
- the event action that occured on the UIComponent.public void registerRowWithOsn(java.lang.String iteratorName, oracle.jbo.Key rowKey)
registerRowWithOsn(row)
variant of this API.
This method will create a temporary instance of the VO that the iterator
provided uses (the iterator instance will not be modified) and use that
to look up the row to send to OSN.
iteratorName
- the name of the iterator containing the View Object row to be send to OSN.rowKey
- the primary key of the row in the iterators View Object to be sent to OSN.public java.util.Map getOsnSocialObjectID()
public java.lang.String getOsnSocialObjectID(oracle.jbo.Row row)
row
- the row to send to OSN.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |