psdi.mbo

Class ALNDomain

    • Constructor Detail

      • ALNDomain

        public ALNDomain(MboValue mbv)
        Construct for the given Mbo Value
        Parameters:
        mbv -
    • Method Detail

      • setListName

        public void setListName(java.lang.String name)
        Deprecated. Set the name of the list to validate against
        Parameters:
        name -
        See Also:
        BasicDomain.setDomainId(String name)
      • setDomainId

        public void setDomainId(java.lang.String name,
                                boolean hasValCondition)
      • setDomainId

        public void setDomainId(java.lang.String name)
        Description copied from class: BasicDomain
        Set the domain id. As soon as the domainid is set, chooseActualDomainValues() is set. Method chooseActualDomainValues() should be overwritten to perform any needed operation when the domainid is set. When this method is called, the siteid and orgid of the current record should have been set if it is a existing record or a new record. The new record will always have the site or org id set and won't be allowed to change after it is set. So, it will be save to assume the site and org id obtained at this time won't change for this record.
        Overrides:
        setDomainId in class BasicDomain
      • setRelationship

        public void setRelationship(java.lang.String objectName,
                                    java.lang.String whereClause)
        Description copied from class: MAXTableDomain
        Set how this MboValue gets to the object to which it wants to vaildate against
        Overrides:
        setRelationship in class MAXTableDomain
      • setListCriteria

        public void setListCriteria(java.lang.String listWhere)
        Description copied from class: MAXTableDomain
        Set what the criteria for the list of valid values are. Usually this is left blank to allow anything in the foreign MboSet to be selected.
        Overrides:
        setListCriteria in class MAXTableDomain
      • chooseActualDomainValues

        public void chooseActualDomainValues()
                                      throws MXException,
                                             java.rmi.RemoteException
        Set the where clause to choose the ALNdomain entries specific for this site or org, or further up if no specific value is set. If it is in search mode, and the site or org is not specified, the everything will be selected in the list.
        Overrides:
        chooseActualDomainValues in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException