Temporarily make data read-only

Anyone out there have any thoughts on a solution for the following scenario -
1) Websphere 5.0 app server. Oracle 8.1.7 db.
2) Users are doing updates/inserts/deletes via entity beans called from session beans (called from servlet, called from swing client).
3) At some point in the day we want to be able to suspend/block/somehow prevent these updates/inserts/deletes whilst we run a batch program that will extract data from our database.
4) When batch program completes, the users can continue to do their updates etc.
5) Servers to remain up throughout (ideally).
thanks for any comments
Pete

Yes, that was my initial thought.
Alternatively, I was hoping that there may be something in Websphere that acts in a similar way, perhaps some security setting that can be programmatically set/unset to prevent/allow access to entity bean methods.

Similar Messages

  • SRM 7 Header Delivery Tab-- how to make fields read only

    Hi Experts,
    We are upgrading from SRM 4 to SRM 7.
    In SRM 7
    Create Shopping Cart--> In General Data Click the link Set_Values --> Go To Delivery Address/Performance Location tab
    All the fields here are input ready, how can we make these read only?
    Thanks a ton
    Anubhav

    Please I need help too on this :
    When I try to create a SC I get the default address as below which was the og unit address :
    It is picking the address from the Org unit :
    Now If I check the user attributes That I have now added address number data should have been populated .   The attributes address are also seen correctly below in the attributes section below :
    The attributes address are also seen correctly below in the attributes section below :
    However when I create a SC 1001000515 created in test it has Delivery address as blank stored :
    Please can soe  one guide me is this a bug ?

  • Managing External Content Types - make it read only?

    I have a simple SharePoint list with an External Data column. When I edit item where the corresponding data was removed from the External Content Type I get this error:
    No exact match was found. Click the item(s) that did not resolve for more options. You can also use Select button to
    choose External Data.
    I assume this is by design and I cannot delete underlying data and keep the value in the list - is this correct?
    So my question now - is it possible to keep that info in the external list but disable in a picker so new records cannot be created with that particular value? How do I do it?
    Thanks,

    I don't understand the question exactly, could you restate it.  Sorry mate, I might just be braindead.
    But, as far as the issue, it is by design.  the column is a lookup columns which essentially ties to the external data.  if that data is removed, the column on your simple list becomes invalid and any edits of the simple list item will require
    it to be changed.
    are you wanting to make the ECT read only?  that's simple enough.  you can pop open SPD and edit the ECT, then remove the C/E/D operations (create/update/delete).  That will not, however make it read-only in any other systems that access that
    external data, as I assume its not just SP or else it wouldn't be external
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • How to enable extension button of select-options but make it read only

    Hi all,
    I have select-options with extension on my selection screen. It has to be read only. But when I give screen-input = 0, even the extension button is disabled. So the user cannot see multiple default values of that field. How should I enable the extension button and still make it read-only.
    Thanks in advance.
    Vasu

    Hi, try below sample code:
    data: gv_bukrs type bukrs.
    SELECT-OPTIONS s_one for gv_bukrs.
    at SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if screen-name = 'S_ONE-LOW' or screen-name = 'S_ONE-HIGH' .
           screen-input = 0.
           MODIFY SCREEN.
        endif.
      ENDLOOP.

  • Make field read only untill value within pciklist is choosen

    Hello,
    I am trying to establish if it is possible to make a field read-only until a value within a pick list is chosen. Basically we have a pick list called structure and if the field value called "Aligned" is selected then I want the text field called Aligned Name to be available for import all other times this field should not be available.
    Has anyone done anything similar? I'm guessing that this could only be achieved through WF but I haven't been able to find any code to make fields read only.

    For those of you unable to download the document from MetaLink3 here it is:
    As an example to illustrate this requirement, let’s say that once there is a checkbox field called "My_Check_Box". When this field is checked, the "Account Type" field need to become a required for entry by the user. To do this follow these steps:
    1. In the Admin> Application Customization, select the appropriate Object and go into the Object Field Setup.
    2. Edit the field called "My_Check_Box" and enter a Field Validation expression so it uses the following expression:
    =[<bMy_Check_Box_ITAG>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
    3. Enter an explicit error message.
    This expression means that when the checkbox field is checked, the Account Type becomes required. Your custom error message will be raised when checking the checkbox, leaving the account type unpopulated and trying to save the account record.
    4. Edit the Account Type field and enter the following expression as Field Validation:
    =[<AccountType>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
    5. Enter an explicit error message.
    That validation handles the user case where a user changes the Account Type value from a NOT NULL value to a NULL value. Your custom error message will be raised when emptying out the account type from a populated value to nothing while the checkbox is checked and trying to save the account record.
    Note that the expression in both fields validations begins with the field variable on which the statement is being written.**

  • OA Framework,how to make field Read-Only which is used inside Switch case

    Hi all,
    Using Personalization in OA Framework, when I am trying to make field read only, which is inside Swich statement ,then that field get automatically hidden.but my purpose is to make that field read-only not hide.
    My field name is Proposed Annual Increase Amount .
    The Personalization swtich case lookslike this :-
    Field Name Shown
    Switcher: Proposed Annual Increase Amount Yes
    case_name_HrPRateAnnTotInputSs
    Message Text Input: New Annual Amount Yes
    case_name_HrPRateAnnInputSs
    Message Text Input: Annual Pay Rate Yes
    case_name_HrPRateCurrAnnSalSs
    Message Styled Text: Pay Rate
    Regards,
    Mxj2930

    Can you be a bit clear on your requirement. If you have a switcher to display a field based on some condition, the other fields will not get displayed. I did not get as to what you mean by "my purpose is to make that field read-only not hide.".
    Are you talking about the case, when the "New Annual Amount" (or) "Annual Pay Rate" fields are displayed conditionally, you want them to be read-only and not editable. If this is the case, set the read-only property of these fields to true.

  • Any way to make Contacts Read Only in Server 10.8/9

    I have turned on OS X Server Services Contacts (in either 10.8 or 10.9), set up a user account, added that account as a CardDav to a computer(s) made a group(s) of contacts and imported some vcards so everybody can see them in their Contacts on their computers in 10.8 or 10.9. Everything fine.
    What I can't figure out is if there is any way to make them Read Only, allowing only a selected group to have Read/Write privileges. When you have hundreds of employees many of them will end up editing something in the "public contacts" that they shouldn't have done or delete them completely.
    If they were read only that would be great.
    Any ideas? Other then an exchange server there isn't much out there for Macs.
    Thanks,
    Todd

    Update -
    I found a way to make this work. And it is free!
    Forget Apple OS X Server Service Contacts.
    Use Sogo instead. Works perfectly and is extremely fast in handling our 5000+ public cardev records and 1000+ cardev private records!

  • How to make files read only

    I want to make files read only.  Any workaround is welcomed.

    t quinn wrote:
    ElMagoElGato,
    I am glad to give some help but I am still confused because we are having different experiences. I have been able to lock Tables on my mac and have that lock respected in iOS for a long while now. Easy to unlock, impossible to relock.  With the most recent upgrade I can lock tables after tapping the upper left dot to select the whole table and going to "arrange" in the paintbrush.
    When you say worksheet are you meaning the entire file? When you say file lock are you meaning password protection? You can see I am confused.
    quinn
    Based on what ElMagoElGato has described, password protecting would be of no value to him. Once the file is accessed, it is in edit mode. Unless I'm really missing something.
    Files I have imported from Mac iworks apps with elements locked stay locked for me in iOS. Not sure what the problem is.

  • How to make JTextArea read only

    I want to make JTextArea read only so that you can only append text at design time and not at run time and so the user can not delete text in the text area.

    You can use the setEditable(boolean) method. I think that it's the best way.
    Sebastien

  • How to make fields Read only on all tabs in one go with the help of feeder classes in SAP EHS?

    I have a requirement where once we press SAVE button i have to make all the fields read only in tabs highlighted below.Which is the best method to do it.?
    There are number of fields in all these tabs and we want to make them read only on particular Action event.How to do it?
    Thanks,
    Vimal

    Hi Vimal,
    As I understood you reformulate this question at this page. I will try to help you there.
    Kind regards, Aliaksandr.

  • Upload data to excel sheet- make columns read only

    I would like to upload my internal table data-10 columns into excel sheet.
    I know how to upload my data into excel sheet.
    I want 2 of the columns in excel sheet to be read only out of the 10 columns.
    Is there any way that i can control the properties of excel sheet from SAP.
    Thanks in advance

    done

  • Making Period Start Date read-only on Appraisal page

    Hi,
    I have a requirement to default Appraisal Period Start Date and Period End Date and make these fields non-editable. I am able to default the values for these fields by extending CO. When I make these fields read-only and performs any operation on page, getting error
    +'You must enter a value for Period Start Date as criteria for the List Of Values.'+
    Please suggest a solution to resolve this error.
    Thanks.
    Edited by: user12037955 on May 12, 2011 9:26 PM

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    java.util.Date dateValue1 = null;
    java.util.Date dateValue2 = null;
    java.util.Date date = null;
    OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    OAMessageDateFieldBean bean1=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("StartDate");
    OAMessageDateFieldBean bean2=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("EndDate");
    String startDate=bean1.getText(pageContext);
    String endDate=bean2.getText(pageContext);
    String strDate1=null;
    String strDate2=null;
    if((startDate==null||startDate.equals(""))&& (endDate==null||endDate.equals("")))
    date=pageContext.getCurrentDBDate();
    SimpleDateFormat simpledateformat = new SimpleDateFormat("yyyy-MM-dd");
    String dateValue=simpledateformat.format(date);
    String year=dateValue.substring(0,4);
    try
    String sqlStatement = "";
    CallableStatement cs = null;
    // OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    cs = txn.createCallableStatement(" ",1);
    sqlStatement = "SELECT to_char(to_date(ffv.attribute1,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute1, " +
    " to_char(to_date(ffv.attribute2,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute2 " +
    " FROM apps.fnd_flex_value_sets ffvs,apps.fnd_flex_values ffv " +
    " WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id " +
    " AND ffvs.flex_value_set_name = 'XXX_PMP_Fiscal_Date_VS' " +
    " AND (SYSDATE BETWEEN NVL(ffv.start_date_active,SYSDATE) AND NVL(ffv.end_date_active,SYSDATE)) " +
    " AND flex_value= " + year +
    " AND ffv.enabled_flag = 'Y' ";
    ResultSet rset = cs.executeQuery(sqlStatement);
    if (rset.next())
    strDate1 = rset.getString(1);
    strDate2= rset.getString(2);
    catch(Exception e)
    throw new OAException("Error:" + e.toString(), OAException.ERROR ) ;
    SimpleDateFormat convertFormat = new SimpleDateFormat("dd-MMM-yyyy");
    if(strDate1!= null || strDate2!=null)
    try
    dateValue1 = convertFormat.parse(strDate1.toString());
    dateValue2 = convertFormat.parse(strDate2.toString());
    catch(Exception exception)
    bean1.setValue(pageContext,dateValue1);
    bean2.setValue(pageContext,dateValue2);
         bean1.setReadOnly(true);
    bean2.setReadOnly(true);
    }

  • Make a read-only text field open by using button and javascript

    Hello
    I have a form with text fields that I will pre-populate with data. The text fields will be read-only by default. I want to make it so that when a user wants to make edits, he will need to click on a button and in turn, the text field's background will turn gray and he can make edits to the text field. I can already make the background turn gray but I cannot make the text field open.
    This is the code that will run after the button is clicked:
    color.ltGray = new Array("G", 0.75);
    this.getField('TestField').fillColor = color.ltGray;
    this.getField('TestField').access = "open";
    The text field's background turns gray but it is still read-only. Any ideas?
    Thanks in advance!

    Here's the online version of the Acrobat JavaSript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?href=JavaScript_SectionPage.70.1.html&accessible=true
    It's also available as a PDF in the Acrobat SDK.
    Regarding your other question about adding a PDF to another, do you want to add it as an attachment, or add the pages from one PDF to another?

  • Unable to make members read only in web form.

    Hi,
    I have a webform which has Accound dimension in rows and Period in columns. I need to make only FEW members of account dimension READ ONLY to certain groups of users.
    So i went to the outline (in workspace) and used "Assign Access" option to assign certain groups as read only.
    Then in "Manage Data Forms" workspace in also assigned the same access to that particular webform.
    But still those Account dimension members are writeable. Am i doing anything wrong here?
    Regards
    Leo

    Hi,
    This is surprise to me that even after refreshing the security you are still facing with the same issue.
    Can you check going back to the EAS side to check whether the filters are really applied to the members.You can also try refreshing security from the EAS side.
    I think you just have to right click on Security in EAS and select *"Refresh Security from Shared services."*
    Hope this works...
    Thanks,
    Sourabh

  • How to make form read only

    hello
    is it possible, and if so how, to set a form to read only. i will have 2 oracle responsibilitys. 1 group will enter the data and save it . the other will only be able to view the form as read only.
    any ideas is helpful
    thanks
    james

    This can done using SPEL , Make a VO with transient attribute with boolean Type.
    For one responsibilty set this attribute value to true where you want readOnly behaviour.
    code should be like that
    OAViewObjectImpl pVO = YourPVO();
    OAViewRowImpl pVORow = (OAViewRowImpl)pVO.first();
    If(Check for responsibilty)
    pVORow.setAttribute("IsEditMode", Boolean.TRUE);
    On page level set spel for disable/Readonly property for item for them you need show as readonly
    like
    ${oa.YourPVO.IsEditMode}
    Hope it will help you.
    Thanks

Maybe you are looking for