Implementing Audit/versioning in ADF

Guys,
Consider our ADF applicaiton is used by couple of users.
Consider we have data in adf editable table.
Everytime an user makes any change in the table (to any cell) and save the data, we need to keep track of the changes.
created by, last updated by only keep of who has created and updated.
I need to know who all updated, what data they have updated ('who updated what' from start to end)
can you guys provide some suggestions or pointers????
Any help appreciated...

Check this thread regarding your use-case:
Implementing Audit Trail in ADF BC application
Thanks,
Navaneeth

Similar Messages

  • How i can implement onPageLoad method in ADf Fusion Middleware

    I want to implement onPageLoad method in ADF Fusion Middleware. What i did so far is :
    - Created my own PagePhaseListener class which implements PagePhaseListener interface.
    I wrote following code in that class
    public void afterPhase(PagePhaseEvent event) {
    PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == Lifecycle.PREPARE_RENDER_ID) {
    BindingContainer bc = ctx.getBindingContainer();
    onPagePreRender();
    bc = null;
    public void onPageLoad() {
    // Subclasses can override this.
    public void onPagePreRender() {
    // Subclasses can override this.
    public void beforePhase(PagePhaseEvent event) {
    PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == Lifecycle.PREPARE_MODEL_ID) {
    BindingContainer bc = ctx.getBindingContainer();
    onPageLoad();
    bc = null;
    - Created a backingbean with session scope and override onPageLoad method
    - Inside pageDefinition i added Controller class using EL like #{MyPhaseListenerBean}
    but it game me error that no "MyPhaseListenerBean class found.

    Hi ,
    When am Adding ControllerClass ( ControllerClass="com.hp.rebates.grs.view.backing.fragments.ItemTabsBean" ) for PageDef File am getting error as...
    <[ServletContext@31287410[app:grs module:grs-ViewController-context-root path:/grs-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.lang.ClassCastException: com.hp.rebates.grs.view.backing.fragments.ItemTabsBean cannot be cast to oracle.adf.model.RegionController
    at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:4944)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:225)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:117)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1182)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         Truncated. see log file for complete stacktrace
    >
    Any one can help me solve this issue.
    Thanks in Advance.

  • Implementing Internationalization in Oracle ADF

    Hi All,
    I want to implement Internationalization in Oracle ADF.Please share me some information and links which will be helpful for me..
    Eg:- I have designed a project in ADF with different pages like 1.jsff 2.jsff etc... and for this project i want to implement intenationalization Please help me out if any one has knowledge on this..
    Thanks in Advance
    Irfan Shaikh

    Hi Irfan
    Also check out this samples: https://blogs.oracle.com/jdev11g/entry/internationalizing_strings, http://majid-hussain.blogspot.com/2010/10/internationalization-of-adf-11113.html
    Good luck,
    Juan Camilo

  • Implementing Internationalization in Oracle ADF, small problem

    Hi all i have simple question,
    i cant internationalization Search and Select popup dialog.
    I read all document about Implementing Internationalization in Oracle ADF and cant see where are make mistake.
    Any way i did:
    Create Java class in view project:
    public class BLAFBundle_sr extends ListResourceBundle {   
    public Object[][] getContents()
    return contents;
    static final Object[][] contents = {
    {"SEARCH_TEXT", "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    Set faces-config as
    <locale-config>
    <default-locale>sr</default-locale>
    <supported-locale>sr</supported-locale>
    </locale-config>
    <resource-bundle>
    <base-name>SistemskeKlase.BLAFBundle_sr</base-name>
    <var>sr</var>
    </resource-bundle>
    Set my internet explorer on sr language,
    Set view project to use Automaticly sync bundle
    and default bundle name as SistemskeKlase.BLAFBundle_sr
    And nothing happened after building and running project

    I think you are using incorrect resource string name in your method
    static final Object[][] contents = {
    {"SEARCH_TEXT", "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    }I can't find these strings SEARCH_TEXT,SIMPLE_SEARCH_TEXT,ADVANCED_SEARCH_TEXT in Selectors for Skinning Fusion's ADF Faces Components
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e15862/toc.htm

  • Where is the best place to implement business logic in ADF application?

    I am using jdeveloper 11g R2 , JSF Facelet
    Where is the best place to implement business logic in ADF application?
    I mean something like service layer in Spring
    Appreciate your comments
    Regards
    Mohsen

    Depends on what your logic does and what data it deals with, but in general business logic is in the ADF BC layer.
    Some goes into entity objects - for things like attribute or row validation.
    Some goes into view objects - for things like calculation.
    Some goes into AM - for things like service methods for UI clients.

  • Jdeveloper version and ADF runtime on weblogic

    Hi
    I would need to understand the link between the jdeveloper version and the Weblogic version.
    Based on this article http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
    it sounds like the server version to use is directly linked to the version of ADF used for the development. It is true?
    Specially is it true that there is not backward compatibility. A new weblogic server would not support a application that would have been developed with a older version of jdeveloper?
    At the end I would like to get all my weblogic servers on the same version and as much possible on the newest version but if I need to rework the applications that were developed on a previous version of ADF , that can be really time consuming.
    I would need best practice ideas .
    When I have various projects oven a two -three years period how should we deal with keeping up with the new versions of weblogic and jdeveloper?
    An another question I have is regarding the ADF run time. What is so special about it comparing to a regular set of libraries?. Why can I not deploy it as part of my application? Or is it possible and it is a better path then?
    FInal point, I have a application that was developed with jdeveloper 11.1.1.0 and run on weblogic 10.3.0.0 . I would like to migrate to jdeveloper 11.1.1.4. I already converted the project with jdeveloper 11.1.1.4. What should I do next? What testing should I do to verfy the conversion worked? Should I update the weblogic server to 10.3.4 or can I go with a newer version like 10.3.5?
    Thanks

    Ok but then if you don't migrate and you are in a environment with also new development you are going to need many different servers no?
    One welogic server for jdevleoper 11.1.0.0
    One weblogic server for jdeveloper 11.1.2.0
    One weblogic server for jdeveloper 11.1.3.0
    One weblogic server for jdeveloper 11.1.4.0
    How often should you migrate then because if you don't update you could be very behind after a couple of years and may be the migration could be almost impossible at that point.
    We still have applications that where developed for oc4j 10 g and migration is almost rewrite at this point. (only after 3 years).
    At the end, you get servers dedicated to some applications instead of having a stack of multi purpose servers.
    Also let say you are starting with a project that is going to take two years, you start the developement with jdeveloper 11.1.5.0 and in two years it will jdeveloper 13.1.1.0. How do you manage this? You stay with 11.1.5.0?
    We noticed that getting support for 10 g is really difficult at this point. Many people don't know anymore about 10 g and you don't get bug fix. If you don't get bug fix, how can you survive with your old version?
    I know that ADF is not only about the face part, I 've been using the business services too but under ADF it is J2EE and then why ADF does not come as a set of libraries that you can link to in your J2EE project instead of becoming a server centric runtime?
    People went to J2EE to get plateform independent, with ADF you are becoming server dependant. ADF is supposed to do better than .net but if you look at .net the IDE actually support old and new frameworks. If you get to develop on a older framework you can still use the new IDE. Also you can install several versions of the framework on the same server with .net.
    From what I can read ADF is not even supported on JBOSS anymore so give me argument to choose ADF as a enterprise solution? Is it really the future?

  • Need to open Audition version 3 session files in Audition 1.5...

    Hey,
    I know it seems like a strange request but I need to open session files that were created on Adobe Audition version 3 on a version 1.5 system, can any body suggest the right format?
    Thanks!

    While the 3.0 session files aren't backwards compatible, there are a few options to move information between them.
    You could bounce each track down to a new file, then import these raw files into a new Au1.5 session.
    The forum's own SuiteSpot has written a powerful session conversion application, which can not only convert between versions of Audition, but all sorts of other DAW formats as well!  Check it out at http://www.aatranslator.com.au/

  • How to implement Distributed Transactions in ADF?

    Scenario:
    when selected rows and submitted action from UI, following happens
    1) For the selected rows, information will get fetched from database and a message will get formed and will get posted in JMS queue
    2) once step1 is successful, corresponding record will get logically deleted
    Implementation details:
    Environment: Oracle ADF , Weblogic server
    Step1: Created UI with Multi selection
    Step2: getting selected row key information and calling a custom AM method (exposed as client interface) from managed bean passing selected row key info
    step3: implementing following logic in AM method
    while(keyList.hasNext()
    1) getting View object for the given key and populating message
    2) Posting the mesage in JMS queue configured in weblogic using JMS Helper classes written
    3) updating the delete flag in VO
    Problem statement:
    In Step3 after sub step 2 executed, suppose if database is down substep3 will not get executed
    because of which a record will get displayed again back in UI and when selected again a duplicated message will be sent to the concerned external system
    I'm very new to ADF. Can anyone please help me on how to achieve this using ADF?
    Much Appreciated,
    Indu

    Thanks Vinod for your reply
    at substep 2 getting record from database and populating message and posting it to jms queue
    at substep 3 if post is successful the updating database indiacting this message has been sent by updating delete flag
    if i update database first and then if send message, In case of JMS exception(Can be Queue failures) my record will get updated and i cannot see record back in UI
    So both these opertions has to be happened in in single Transaction.Either both has to be happened or both has to be rolled back
    database and JMS are different resources. How ADF handles these XA transactions?
    Thanks,
    indu

  • Implementing Tip Text in ADF

    I am looking to implement the Tip Text from the following wiki:
    <internal URL removed>
    How do I find the source of this icon and what is the best way to encapsulate the icon / text in a single row.
    Thanks

    Take at a look at this chapter in developer's guide for Implementing Tip Text in ADF:
    http://docs.oracle.com/cd/E26098_01/web.1112/e16181/af_message.htm#CACCFEFA
    Thanks,
    Navaneeth

  • Need Help:Browse Version for ADF

    Hi All,
    I am on a POC for ADF. Customer want some suggestions for Browse Version for ADF development.
    IE or Firefox, and more detail, such as IE 6,7,8 or firefox 3.5, 3.6 … is more suitable for ADF 11.1.1.3.

    Firefox vs IE vs Chrome would be mainly based upon personal preference or corporate standard, as long as you follow the supported and certified browser list that Timo provided.
    John

  • Suggestions needed to implement Audit Logging

    In our project we have a requirement to implement Audit logging. i.e., we need to track any changes in the form of CREATE, UPDATE and DELETE of any field in the database. We have some UI also which will present this change history to the user.
    After a couple of internal discussion we found two solutions
    Solution - 1
    Create one AUDIT_LOG table with columns like TABLE_NAME, COLUMN_NAME, OLD_VALUE, NEW_VALUE, UPDATED_BY and create triggers in every table to insert the old value and new value to this AUDIT_LOG table.
    Solution - 2
    create separate Audit tables which match exactly same as original table and whenever a change happens in the main table, insert a entry in the audit table by using trigger.
    We are planning to choose the second solution as it looks like, in the long run this approach will help us to avoid any maintenance issues arise out of storing all changes in the entire DB in to one table. Only problem here is our application team may need to add some logic in their code to present the data to user through their application in old value and new value format.
    Do anybody have any other good solution for implementing Audit logging in Database layer. Please put your comments on the 2 solutions which i described above.
    Thanks In advance

    Hi,
    Only problem here is our application team may need to add some logic in their code to present the data to user through their application in old value and new value format.Through trigger, you can invoke old and new value, no change is necessary to your app code. You can read more info about this on Oracle doc : http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_76a.htm#2064355
    Nicolas.
    Message was edited by:
    Nicolas Gasparotto
    I read one more your question, my response is not in direct link with this last one. I'm sorry, it's a little misunderstood.

  • Version of ADF used in OEPE 12.1.1.1?

    Hello,
    how do you find out what version of ADF is being used?
    For example: I downloaded OEPE 12111. What version of ADF is being used here?
    Thank you in advance.
    Filip Huysmans.

    hi Filip
    Filip Huysmans wrote:
    ... how do you find out what version of ADF is being used? ...Your question seems related to the one in forum thread "which version of JDeveloper has been used "
    at which version of JDeveloper has been used
    It resulted in some VersionFinder.java code (available in Thread2310581VersionApp-v0.01.zip) that you might be able to (modify and) use in your context (OEPE 12111).
    It also resulted in ADFEMG JIRA issue ADFEMG-34 to which you might want to add a comment (or create a separate ADFEMG JIRA issue).
    success
    Jan Vervecken

  • Any code analysis , audit tool for adf

    Hi,
    Anyone aware of any code analysis and audit tool for ADF.
    Thanks,
    Rohit

    duplicate.
    Free Security testing tool ADF
    Edited by: ADF 7 on Jan 18, 2012 11:05 PM

  • Pre implementation audits

    My company is implementing SAP ECC 6.0 in stages with the first being FICO and Purchasing.  We are interviewing firms to perform "Pre-Implementation Audits" to make sure it is done right before we go live.  Any thoughts on the Dallas Texas firms providing this service?

    I know SAP provides such as service at each stage of a project (stemming from the days of the ASAP roadmap). They will pretty much do a check of "here is what we are trying to do so will it work" kind of thing. Also, they will do a nice pre-go live audit...which I have seen do wonders for performance/tuning in portal related projects. Keep in mind, SAP's will be more of a technical audit...ie. they will check what you are doing based on the standard capabilities of the PRODUCT. This will not be an audit of your processes and their "soundness"....though, Marilyn and the BPX crew might have some ideas (new things available ???) to add to this that I have not heard of nor seen yet.

  • Implement dragsort in oracle adf

    Hi,
    I want to implement the drag sort (eg: http://jqueryui.com/sortable/#display-grid) in oracle adf.
    This is my sample code in oracle adf.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" title="Sortable">
    <af:form id="f1">
    <af:resource type="css" source="/css/test.css"/>
    <af:resource type="javascript" source="/js/jquery-1.9.1.js"/>
    <af:resource type="javascript" source="/js/jquery-ui.js"/>
    <trh:script id="sx4">
    $(function () {
    $("#sortable").sortable();
    $("#sortable").disableSelection();
    $(function () {
    $("#test").sortable();
    $("#test").disableSelection();
    $(function () {
    $("#sortable1").sortable();
    $("#sortable1").disableSelection();
    </trh:script>
    <af:panelList rows="6" maxColumns="3" id="sortable1"
    listStyle="thumbnail" inlineStyle="list-style-type:none" >
    <af:forEach varStatus="vs" begin="1" end="17">
    <af:panelList rows="6" maxColumns="3" styleClass="span4" id="test"
    listStyle="thumbnail" inlineStyle="list-style-type:none">
    <af:outputText id="ot2" value="#{vs.index} #{vs.count} #{vs.begin}"/>
    </af:panelList>
    </af:forEach>
    </af:panelList>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Can any one help me out...
    I am using JDeveloper 11.1.1.6.0 version.
    Thank you and regards
    Madhava
    Edited by: Madhava Maiya on Apr 18, 2013 2:17 AM

    Hi Frank,
    I am using client side because I did not get any solution using ADF (Also I am new to ADF).
    Also I need display the data in grid, that is why I used panelList.
    I will expalin the thing in simpler way.
    Suppose I have a list of size = 7
    I want to display the data of each list in grid format mentioned below:
    1 2 3
    4 5 6
    7
    For the above requirement I have used panelList. The only thing I want to do is to use drag sort and make changes in the grid. After refreshing the page the original grid should display.
    If any thing can be done using ADF is well and good for me.
    Thanks
    Madhava

Maybe you are looking for