How to lock the table rows selected adf for another user

Hi all

In my case, I created a vo based on eo. where I create an attribute (marked) transitional type boolean.

I have created two jsf pages

1 - summary.jsf
2 - claimed.jsf

in the two page, I slipped even vo as the adf table.

in the page summary, all vo lines is display. and I created a button on the summary.jsf page.

When I have selected a few record table adf (using the check box marked attribute) and click the cliam then

apply filter adf table see criteria and open claimed.jsf page. claimed. JSF page only display selected fine line.

but I want that these selected lines (which is displayed on the claimed.jsf page) don't display another user in the summary.jsf page.

I want to say that these specific lines will be locked so the other user does not work on these lines.

Concerning

Manish

You would have to:

(1) add a column in the underlying table of the DB to track lines are claimed
(2) change your VO to include a where clause clause that excludes claimed elements
(3) add something in your UI to release the goods in question (if necessary) so that you can release an item if someone closes their browser.

John

Tags: Java

Similar Questions

  • * URGENT * how to turn the table rows programmatically?

    Hi Experts ADF,

    I am a developer of the ADF, but not an expert. Here is my requirement, please help me to achieve the same. It is very urgent and would be a great help.

    In our ADF Faces application, we have a SEARCH page where we assume to design a table with 3 rows and 2 columns. While the search page is loading only the first line must be activated and the other below 2 rows should be disabled (can be visible, but gradout). In the first column of each row is a box of choice (which will be rated Firstname, lastname, Department,... UserID) and the next column is a free text box (input field).

    Ex: In the first row when we select Firstname and enter the value in the free text box, then the second row should be activated when we tab out of the text box line. If the top textbox is empty then the second row should not be enabled. When I get the value in the text field of the line of the 2nd and the 3rd row must be enabled. Max 3 lines. All 3 rows may be visible on the page, but the last 2 rows should be gradout.

    How to do the same, please help me with a little explanation. Do I have to use the ADF PPR to do the same, if so, how do the same? Thanks in advance.

    Thank you
    klogube

    Sorry, it took a little time :-(

    I implemented a small example, if you get the picture...

    Page code:

    
               
                  
                    
                  
                  
                    
                  
                  
                    
                  
                
    

    Bean code:

    public class IPTBean
    {
        String mS1;
        String mS2;
    
        public IPTBean()
        {
            super();
        }
    
        public void setS1(String aS1)
        {
            this.mS1 = aS1;
        }
    
        public String getS1()
        {
            return mS1;
        }
    
        public void setS2(String aS2)
        {
            this.mS2 = aS2;
        }
    
        public String getS2()
        {
            return mS2;
        }
    }
    

    I put the bean in the flowrate range of page (but you can use any variable you like i.e. links)

    When you run the page, you see a tabled text input and a button. Type something in the files and hit return or the tab out of the field and you see the next filed.

    Now you can use this technique to hide and show your user interface.

    Timo

  • How to set the table rows spacing and line changing automatically if is limit

    Greetings,

    I use JDeveloper 11.1.2.4. By default, if you set (or not) the table width and the line is its width, it will create a scroll down bar.

    Is what I want to do, if the text inside each row its greatest width, to change the line inside his line. TO

    more to explain it, I'll demonstrate a small table below:

    MESSAGE ID

    1 Hello Philip

    2 Hello Philip

    3 How are yo

    u today?

    4 tries...

    This way, if the text in the column 'message' is the largest say width 40, to increase his height of line automatically if the text

    fits inside 1 row without creating a scroll bar.

    Thanks in advance for any help.

    Have you attempted to assign noWrap = "false" on af:column?

    Dario

  • How to hide the table row after deleting logical

    Hello.
    I use Jdeveloper 11.1.1.3.0, ADF BC and ADF Faces.
    I would like to implement the logic delete in my application.
    In my entity object I have deleted attribute and I replace the remove() method in my EntityImpl class.
        @Override
        public void remove()
        {
           setDeleted("Y");
        }
    and I added this condition in my view object
    WHERE NVL(Deleted,'N') <> 'Y'
    on my page, I have a table. This table has a column to remove each line. I dragged and drop action the data control RemoveRowWithKey
    and the value of the parameter * #{row.rowKeyStr} *.
    I have what I need is the following:
    When the user click on the delete button I want to hide the ROE of the table. I tried to rerun the query after deleting, but the line is still on the page. Why run query does not hide the line of the screen.
    Here's the code I used to remove and run queries
        public String deleteLogically()
        {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc=(DCBindingContainer) bindings;
            DCIteratorBinding iter=dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
            //iter.getViewObject().executeQuery();
            iter.executeQuery();
            return null;
        }
    as you can see I used two methods () iter.getViewObject () .executeQuery; and iter.executeQuery (); but the result is the same.

    I built a sample for you - http://jobinesh.blogspot.com/2011/05/soft-deletion-of-rows.html. Please see if it meets your requirement.

  • How to give the table name as input for the insertion procedure parameter

    Hello
    Could a little help in this scenario,
    Here is an example of how to insert,
    where the 'b' table name will change at each
    is there a possible way to keep the name of the table as an input parameter

    SQL > CREATE or REPLACE PROCEDURE PROC_INSERT as
    BEGIN 2
    3 INSERT INTO A
    4 (ID, NAME, LOC)
    5. SELECT ID, NAME, B LOC;
    6 VALIDATION;
    7 END;

    Kind regards
    Vikram

    If you need to pass the object name to a SQL running, you must use dynamic SQL statements.

    A simpler way is the following

    create or replace procedure proc_insert
    (
         pTableName varchar2
    )
    as
    begin
         execute immediate 'insert into a (id, name, loc) select id, name, loc from ' || pTableName;
         commit;
    end;
    
  • How to consume the data model library adf for the project?

    Hello

    I use Jdev 11.1.1.6.

    I have a workspace Jdev containing the business component (entity objects, view and application module objects exposing the your). This workspace is deployed to a library of the ADF. This library is packed with DB connection details.

    I have a different workspace Jdev which needs to consume this library of ADF data model. This workspace is actually just the layer view (no business at all components).
    I added the data library ADF model to his draft opinion and it is showing application module and your sub of the data controls.

    My question is: how will this project view to connect to DB when running?
    It allows the connection of packaged data model ADF Libabry? If so, how?
    or should I create a business under this workspace view, just the purpose of connection project? If Yes, then what is the use of connections, including creating the library of the ADF?

    Thank you
    JAI

    Hello

    It uses the connection in the library of the ADF. However, I recommend that not save you the database connect information in the library of the ADF. Instead:

    -set the ADF BC model to use JDBC data sources
    -In the library of the ADF, configure it to contain only the name of data source
    -In the view project (the workspace) set up the database connection that is exposed by the library

    When the library is imported, verify the Application resources--> connections and right click on the name of the connection that is imported to configure

    Frank

  • GANYMEDE +: how to limit the output of "show?" for a user?

    Hello

    On my server GANYMEDE +, I would like to configure a user so that when they do a "show?" command, it will list only the commands that they are allowed to do, instead of the entire list. I searched everywhere and couldn't find any info on this. Anyone know if this is possible? If so, how do you go?

    Thank you

    neocec

    privilege set up route ip level 5
    privilege exec level 5 set up

    AAA new-model
    !
    !
    AAA authentication login t-authentic group Ganymede + local
    AAA authentication login no.-authentic no
    authorization AAA console
    AAA authorization exec t-author group Ganymede +.
    AAA authorization exec no author no
    AAA authorization commands 5 t-author group Ganymede +.
    AAA authorization commands 15 t-author group Ganymede +.

    ACS config:

    shell command authorization set

    Give the name

    Add the show on the left column and add the show commands that you want to allow on the right column

    Go to the advanced user Ganymede priv MAx for any customer settings the value 5

    Under settings Ganymede, check the Shell (exec)

    privilege level 5

    Affect the shell command authorization set

  • How to do the field work of signature for Player users? Security settings change when the doc extension?

    I struggled to fix a problem all week and I'm at my wits end. The customer service was no help because the person that I spoke with could barely speak English and even less understanding of the problem that I explained it. Hoping someone here can get an idea, here's the question:

    I use a professional Windows 7 operating system. I created a Microsoft Word's doc and used Adobe Acrobat XI Standard to create a form from it. It automatically detected fields, which includes a signature field. I had fixed all how it was and "Save as other - reader extended pdf - activate filling out forms in & save in reader.

    The document is a report that will be sent to a small number of people who have to fill in, sign and return digitally and I'm assuming that most, if not all of them will open the document using the free Adobe Reader software. So I thought I'd extend it's what I had to do to make sure that they could fill, save to their computer if need be and also digitally sign. Signature field is automatically added in by acrobat for me and I do not change the properties of it at all except to add a border.

    When I open the form in Reader (also XI) I can fill in all the fields, save it... but not signed. Security settings say signature is not allowed, even if I went back to the original form of pdf and the security settings to this topic say allowed for everything. I don't know how to resolve this... Please help!

    I've attached a few screenshots, but can include more if necessary...acrobat-not extended-security settings.pngacrobat-save as options.pngreader-extended.pngreader-security settings.png

    You must apply the rights of the reader to the file by file - save as other - Reader - Extended PDF - activate tools more. I'm not sure that it's available in Acrobat Standard, however.

  • How to shade a table row? I already have the updated PDF at the point, just try to change.

    How to shade a table row? I already have the updated PDF at the point, just try to change.

    No, Acrobat isn't these editing features.

    My suggestion is to re - create the file, making sure that you keep a copy of the original, this time, in case you should make other changes in the future.

  • skin of the ADF, stationary of the table row

    Hello

    I'm having confussion with adf-stripping.
    I can effect hover so the user each time a row in a table in a hover, it will change the background color of the line?
    Should what class I use in my css?
    I tried with af | : the table-row data: highlighted, af | : data of the table-row: hover...

    If there is anyone who knows the link where I can download an adf-skin model then she also be very useful to me...

    Best regards.

    Hello

    I found this in the forum. It works for you?

    Re: Comment on the blog of Frank added effect hover at table

    AF | table: content TR:hover {background-color: InfoBackground ;}}
    AF | table: content TR:hover TD {background-color: transparent ;}}

    concerning
    Peter

  • How to LOCK the search bar?

    Does anyone know how to lock the search bar so that it does not disappear whenever I press CTRL-F?

    Also any ideas on how I can get it to stop auto skin to the top of the page, or at the very least, a "ding", after reaching the bottom of the page?

    Thank you

    Hello Chaosdruid, This is the correct behavior, ctrl + f to open the search bar, try Firefox Safe Mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables some settings and disables most Add-ons (extensions and themes).

    (If you are using an additional theme, place you in default theme.)

    If Firefox is open, you can restart in Mode without failure of Firefox in the Help menu by clicking on the restart with the disabled... modules menu item:

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    Thank you

  • lock the table sys.mon_mods$ mode exclusive nowait in FASSO

    Hi all

    Currently we use FASSO version 7.3.5 for the allocation of benefits and costs, DB: Oracle 11 g 2.

    When we run the distribution of costs on app FASSO, some time, run the same rule very quickly, some time take very long but not finished.

    Please note: number of record in the main table of LEDGER_STAT 1 month: prior to distribution or 30 million lines and after award ~ 130 million lines.

    I checked the AWR report and saw that, have question concern lock tables sys.mon_mods$ and sys.col_usage$ as below:

    "lock the table sys.mon_mods$ mode exclusive nowait ';

    "lock the table sys.col_usage$ mode exclusive nowait.

    I don't know the reason for it. Locking tables may be led to very slow performance during the award...

    Please help to know the reason and how to solve it.

    Thank you very much!

    The question is same with a Bug that has been described in Bug 14712222 - many recursive calls LMD parse against MON_MODS$ / COL_USAGE$ ( Doc ID 14712222.8 ).

    "B-14712222 ".

    Summary: Many parse calls recursive LMD against MON_MODS$ / COL_USAGE$

    Affects: Verse specifically: 11.2.0.3

    Fixed-releases: 12.1.0.1

    Many parse calls recursive LMD against MON_MODS$ / COL_USAGE$.

    This can happen in MMON or execution DBMS_STATS sessions type operations.

    Information about the rediscovery:

    If you see a lot of analysis of calls for DML on MON_MODS operations $, you could be

    hit this bug, especially if the SQLs are LMD TABLE LOCK as:

    Lock table sys.mon_mods$ mode exclusive nowait"@".

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • How to design the table from the answer to the question table.

    Hi all

    I am creating an application for student review online.

    There are two types of questions, the only choice of response and multi choice answers.

    My question is less than
    create table question_master
    (
    exam_id number references exam_master(exam_id),
    marks_of_each_question number,
    type_of_question char(1),-- single choice answer/multiple choices answer
    q1 varchar2(2000),
    q2 varchar2(2000),
    q3 varchar2(2000),
    q4 varchar2(2000))
    my table to answer (I'm not satisfied with who is below
    create table answers_of_questions
    (
    answer_id number primary key,
    question_ID number referenes question_master(question_id),
    answer varchar2(4000) not null,
    is_answer_correct char(1),--y/n,
    student_selection char(1),--y/n   student select it or not
    ....
    ...
    now, I'm perfectly how to create the RESPONSE table to contain the answers.
    the only choice is good, but several checkboxes choices, what to do?
    How to design the table from the answer?

    do I have to create 2 tables to contain the answers?
    Note: the QUESTIONS and ANSWERS, all will be entered by the teacher. students will make a choice and I will store this choice in another table
    may be called STUDENT_SELECTED_ANSWERS or something like that.
    If anyone has some reference to the script retail scheme review online, kindly share with me.

    Kind regards.

    Kind regards.

    If you need to have answers in another table:

    Student (student_id, name, etc...)
    Review (exam_id, exam_name, etc...)
    Question (question_id, exam_id, question_text)

    Response (question_id, a_text, b_text, c_text, d_text, a, b, c, d).<-- one-to-one="" with="" question="" table,="" a-d="" flags="" used="" to="" indicate="">
    OR
    Response (question_id, answer_id, answer_text, OK)<-- many-to-one="" with="" question="" table,="" correct="" flag="" used="" to="" indicate="" correctness="" for="" this="" single="">

    Student_Answer (student_id, question_id, a, b, c and d)
    OR
    Student_Answer (question_id, student_id, answer_id)<-- creation="" of="" a="" question_id+answer_id="" in="" this="" table="" implies="" the="" student="" checked/selected="" it="" as="" an="">

    To what extent you want to standardize, it is up to you.

  • all rows in the table are not eligible for the specified partition

    SQL > Alter Table ABC
    Exchange 2 Partition P1 with Table XYZ;

    Modified table.

    SQL > Alter Table ABC
    Exchange 2 Partition P2 with Table XYZ;


    P2 Partition Exchange with XYZ Table
    *
    ERROR on line 2:
    ORA-14099: all rows in the table are not eligible for the specified partition

    The exchange partition works fine for the first time. However, if we try to swap the 2nd partition it gives the error.
    How to solve this error?
    How can I find the lines which are not qualified for a specific part. is there a query to find out the same thing?

    >
    Well, exchange of syntax and logic is not clearly as it should (IMHO). There is no element of syntax that tells Oracle we want to Exchange partition data in a table that is not partitioned or not partitioned into partition table data.
    >
    What? Not sure where you got that but maybe it was before you had first cup of coffee? ;)

    An "Exchange", it's just that; an Exchange. Partition data end up in the non-partitioned table and vice versa. It is meaningless and totally obsolete if "we want Exchange partition data in a table that is not partitioned or not partitioned into partition table data".
    >
    It was decided by Oracle not partitioned table control. If the non-partitioned table is empty, it means you want to Exchange data partition in a non-partitioned table. And if not partitioned table is not empty, it means you want to Exchange data in the table that is not partitioned into partition.
    >
    There is no decision to make. The segments are swapped. Oracle doesn't check, know or even care if one or the other or both segments are empty. 'Control' which is carried out (by default except if NO CONTROL is used) only consists of ensuring all the data in the segment intended for the partition belongs to this partition.

    It is what gives the example of John. This can NEVER work if table1 is empty unless p1 is empty at the beginning:
    1 Exchange p1 with table1
    2 Exchange p2 with table1

    As John explains, assuming that no other operations are trying to put the data from p1 P2 which is not possible if p1 actually contains data.

    You can save it for next April 1!

Maybe you are looking for

  • iMac stayed 12 days

    This sounds like a silly question. I've been away from home for 12 days and I came back and realized that I never shut down my computer. Its brand new and I don't want something bad to happen to her... For that your stay on this long, it can damage t

  • Last row/column in Excel

    Hello From a worksheet open Excel since Labview (v8.5) how to retrieve the position of the last cell of the sheet? Currently, I run a macro since Labview as the sheet doesn't I want to know the size and this macro me gives the last cell. It's a littl

  • Panasonic toughbook. Move mouse pointer over the entire screen.

    Original title: panasonic toughbook Why my pointer move on his own allover the screen, I move it with the mouse and it will jummp back right of the screen and repeatedly right clicking on screen.run in safe mode and its fine.whats the problem?

  • Audiobook mp3s of sorting

    Hi, I have Word of biblical promise. Basically, each book is a folder that contains the respective chapters in the folder (mp3 format). The problem is that if I copy the folder above audio books only the first chapter is available. If I copy the musi

  • Smart touch does not

    a brand new, computer everything works with the mouse, but not by pressing the smart button. I stop mouse and keyboard still does not work. What am I doing worng?