psdi.app.item

Class ItemSet

    • Method Detail

      • setQbe

        public void setQbe(java.lang.String attribute,
                           java.lang.String expression)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: MboSet
        Add an expression to the existing Qbe. This will take effect the next time the MboSet is reset and a record is fetched. setQbe(String, String) can be called multiple times before initiating the fetch, in which case the expressions will be ANDed together.
        Specified by:
        setQbe in interface MboSetRemote
        Overrides:
        setQbe in class MboSet
        Parameters:
        attribute - The attribute name whose value is being restricted.
        expression - The restriction value for the attribute. The expression can be in either of two forms:
        • [operator] [operand] For example, >10. The supported operators are >, >=, <, <=, =, !=, and LIKE (default). For string datatypes, the operand can contain % characters for wildcards.
        • [operand] For example, "ABC" . In this form, the operator is assumed to be LIKE.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        MboSet.resetQbe(), MboSet.setQbe(String[], String), MboSet.reset(), MboSet.getMbo()
      • getJoinToItemOrgSize

        public static int getJoinToItemOrgSize()
      • getMultiSiteWhere

        public java.lang.String getMultiSiteWhere()
                                           throws MXException,
                                                  java.rmi.RemoteException
        10-16911: if user is in ITEM application and the user is not authorized for all sites, when user hits Find key, the security as in 6.X should be checked, even though the user has READ access for all actions in the ITEM app.
        Overrides:
        getMultiSiteWhere in class MboSet
        Returns:
        The Multi-Site where clause
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Calls this method.
      • setIsLookup

        public void setIsLookup(boolean is)
                         throws java.rmi.RemoteException
        IV30930/60768: make this itemset a lookup set - so site security for related sets such as inventory, prline works. This method is used to inform the child MBO set that the objects are used in View Item Availability This method should be called in the bean. View Item Avail xml uses mboname="ITEM" which escapes the site security checking.
        Specified by:
        setIsLookup in interface ItemSetRemote
        Throws:
        java.rmi.RemoteException
        See Also:
        ItemSet.setIsLookup(boolean)
      • isViewItemAvail

        public boolean isViewItemAvail()
                                throws MXException,
                                       java.rmi.RemoteException
        IV30930/60768: is it from View Item Availability? to distinguish from isLookup() - a MboSet mbethod
        Throws:
        MXException
        java.rmi.RemoteException