• [Form Builder]APP_ITEM_PROPERTY.SET_PROPERTY 用法


    ORACLE 推荐使用此种方法来控制ITEM属性,虽然实质也是调用set_item_instance_property和set_item_property

    ALTERABLE

      app_item_property.set_property(itemid, ALTERABLE,PROPERTY_ON);

    is equivalent to:

    set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON); set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    ALTERABLE_PLUS

    app_item_property.set_property(itemid, ALTERABLE_PLUS,PROPERTY_ON);

    is equivalent to:

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    If the item is currently hidden, no action is taken.

    ENTERABLE

    app_item_property.set_property(itemid, ENTERABLE,PROPERTY_ON);

    is equivalent to:

    set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON); set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);

    set_item_instance_property(itemid, CURRENT_RECORD,NAVIGABLE, PROPERTY_ON);

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);

    If the item is currently hidden, no action is taken.

    ENABLED

    app_item_property.set_property(itemid, ENABLED,PROPERTY_ON);

    is equivalent to (for a text item or a list item):

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);

    If the item is a button, then the APP_ITEM_PROPERTY.SET_PROPERTY call is equivalent to:

    set_item_property(itemid, ENABLED, PROPERTY_ON);

    If the item is not a text item, list, or button, then the APP_ITEM_PROPERTY.SET_PROPERTY call is equivalent to: set_item_property(itemid, ENABLED, PROPERTY_ON);

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    DISPLAYED

    app_item_property.set_property(itemid, DISPLAYED,PROPERTY_ON);

    is equivalent to:

    set_item_property(itemid, DISPLAYED, PROPERTY_ON);

    If the item is not a display item then also set:

    set_item_property(itemid, ENABLED, PROPERTY_ON);

    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);

    If the item is neither a display item nor a button then also set:

    set_item_property(itemid, QUERYABLE, PROPERTY_ON);

    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);

    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    REQUIRED

    app_item_property.set_property(itemid, REQUIRED,PROPERTY_ON);

    is equivalent to:

    set_item_property(itemid, REQUIRED, PROPERTY_ON);

    If the item is currently hidden, no action is taken.

    转自:http://blog.itpub.net/24627116/viewspace-754486/

    ############################## 通往精神的路很多,物质只是其中一种 ##############################
    http://www.onejava.com/article/oracle/wip/wiptop.htm
    https://docs.oracle.com/cd/A60725_05/html/comnls/us/index.htm
    http://www.oracle.com/technetwork/cn/developer-tools/apex/getting-started-094884-zhs.html
    https://docs.oracle.com/cd/B34956_01/current/html/docset.html
  • 相关阅读:
    cdn jsdelivr + github releases 以wordpress sakura主题manifest为例
    c++后台开发面试常见知识点总结(四)数据库
    c++后台开发面试常见知识点总结(三)操作系统
    c++后台开发面试常见知识点总结(二)网络编程
    c++后台开发面试常见知识点总结(一)c++基础
    [LeetCode 206] Reverse Linked List 翻转单链表
    java.util.concurrent.BlockingQueue指南
    如何定义Spring Boot Filter
    Spring Web MVC Framework mvc框架
    springboot profile 日志配置
  • 原文地址:https://www.cnblogs.com/pompeii2008/p/5408772.html
Copyright © 2020-2023  润新知