psdi.mbo

Interface MboRemote

    • Method Detail

      • isModified

        boolean isModified()
                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        Mbo.isModified()
      • toBeSaved

        boolean toBeSaved()
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • toBeDeleted

        boolean toBeDeleted()
                     throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • toBeAdded

        boolean toBeAdded()
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • toBeUpdated

        boolean toBeUpdated()
                     throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • thisToBeUpdated

        boolean thisToBeUpdated()
                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • isModified

        boolean isModified(java.lang.String attribute)
                    throws MXException,
                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setForDM

        void setForDM(boolean forDM)
               throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • isForDM

        boolean isForDM()
                 throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • isNew

        boolean isNew()
               throws java.rmi.RemoteException
        Returns whether the mbo is new or not.
        Returns:
        true, if the mbo is new (i.e. created by calling add() or insert() methods), otherwise false.
        Throws:
        java.rmi.RemoteException
      • undelete

        void undelete()
               throws MXException,
                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • isAutoKeyed

        boolean isAutoKeyed(java.lang.String attributeName)
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setAutokeyFields

        void setAutokeyFields()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getByte

        byte getByte(java.lang.String attributeName)
              throws MXException,
                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getBytes

        byte[] getBytes(java.lang.String attributeName)
                 throws MXException,
                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboDataSet

        java.util.Vector getMboDataSet(java.lang.String relationship)
                                throws java.rmi.RemoteException,
                                       MXException
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        psdi.mbo.Mbo#getMboDataSet(MboRemote, String)
      • getMboInitialValue

        MaxType getMboInitialValue(java.lang.String name)
                            throws MXException,
                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboValueData

        MboValueData getMboValueData(java.lang.String attribute,
                                     boolean ignoreFieldFlags)
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboData

        MboData getMboData(java.lang.String[] attributes)
                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • smartFindByObjectName

        MboSetRemote smartFindByObjectName(java.lang.String sourceObj,
                                           java.lang.String targetAttrName,
                                           java.lang.String value,
                                           boolean exact)
                                    throws MXException,
                                           java.rmi.RemoteException
        Find the corresponding record of sourceObj by the value of the current Mbo's targetAttrName.
        Throws:
        MXException
        java.rmi.RemoteException
      • smartFindByObjectNameDirect

        MboSetRemote smartFindByObjectNameDirect(java.lang.String sourceObj,
                                                 java.lang.String targetAttrName,
                                                 java.lang.String value,
                                                 boolean exact)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • smartFindByObjectName

        MboSetRemote smartFindByObjectName(java.lang.String sourceObj,
                                           java.lang.String targetAttrName,
                                           java.lang.String value,
                                           boolean exact,
                                           java.lang.String[][] cachedKeyMap)
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getName

        java.lang.String getName()
                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • checkMethodAccess

        void checkMethodAccess(java.lang.String methodName)
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        void validate()
               throws MXException,
                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • validateAttributes

        java.util.Hashtable validateAttributes()
                                        throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • isZombie

        boolean isZombie()
                  throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlags

        void setFieldFlags(java.lang.String name,
                           long flags)
                    throws java.rmi.RemoteException
        Deprecated. Replaced by setFieldFlag(name, flag, state)
        Throws:
        java.rmi.RemoteException
        See Also:
        MboRemote.setFieldFlag(String, long, boolean)
      • setFieldFlag

        void setFieldFlag(java.lang.String name,
                          long flag,
                          boolean state)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlag

        void setFieldFlag(java.lang.String name,
                          long flag,
                          boolean state,
                          MXException mxe)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlag

        void setFieldFlag(java.lang.String[] names,
                          long flag,
                          boolean state)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlag

        void setFieldFlag(java.lang.String[] names,
                          long flag,
                          boolean state,
                          MXException mxe)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlag

        void setFieldFlag(java.lang.String[] names,
                          boolean inclusive,
                          long flag,
                          boolean state)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFieldFlag

        void setFieldFlag(java.lang.String[] names,
                          boolean inclusive,
                          long flag,
                          boolean state,
                          MXException mxe)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • setFlag

        void setFlag(long flags,
                     boolean state)
              throws MXException,
                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • toBeValidated

        boolean toBeValidated()
                       throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getUserName

        java.lang.String getUserName()
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setCopyDefaults

        void setCopyDefaults()
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getOwner

        MboRemote getOwner()
                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getThisMboSet

        MboSetRemote getThisMboSet()
                            throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getFlags

        long getFlags()
               throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • isFlagSet

        boolean isFlagSet(long flag)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getMXTransaction

        MXTransaction getMXTransaction()
                                throws java.rmi.RemoteException
        Return the transaction that this Mbo participates in.
        Throws:
        java.rmi.RemoteException
      • generateAutoKey

        void generateAutoKey()
                      throws java.rmi.RemoteException,
                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getUserInfo

        UserInfo getUserInfo()
                      throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • rollbackToCheckpoint

        void rollbackToCheckpoint()
                           throws MXException,
                                  java.rmi.RemoteException
        Reverts to the saved value. To save the value, use startCheckpoint.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.startCheckpoint()
      • copyValue

        void copyValue(MboRemote sourceMbo,
                       java.lang.String attrSource,
                       java.lang.String attrTarget,
                       long flags)
                throws MXException,
                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • copyValue

        void copyValue(MboRemote sourceMbo,
                       java.lang.String[] attrSource,
                       java.lang.String[] attrTarget,
                       long flags)
                throws MXException,
                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • unselect

        void unselect()
               throws MXException,
                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • isSelected

        boolean isSelected()
                    throws MXException,
                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        void propagateKeyValue(java.lang.String keyName,
                               java.lang.String keyValue)
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • hasHierarchyLink

        boolean hasHierarchyLink()
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setPropagateKeyFlag

        void setPropagateKeyFlag(boolean flag)
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getPropagateKeyFlag

        boolean getPropagateKeyFlag()
                             throws MXException,
                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setPropagateKeyFlag

        void setPropagateKeyFlag(java.lang.String[] objectName,
                                 boolean flag)
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • excludeObjectForPropagate

        boolean excludeObjectForPropagate(java.lang.String name)
                                   throws MXException,
                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setESigFieldModified

        void setESigFieldModified(boolean esigFieldModified)
                           throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getDatabaseValue

        java.lang.Object getDatabaseValue(java.lang.String attribute)
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns the value of the column that has been used to initialize the mbo.The attribute name must be a persistent database column.
        Throws:
        MXException
        java.rmi.RemoteException
      • isBasedOn

        boolean isBasedOn(java.lang.String objectName)
                   throws java.rmi.RemoteException
        Returns true, if this business object is based on the given business object name.
        Parameters:
        objectName -
        Returns:
        if the mbo is based on the object name or not.
        Throws:
        java.rmi.RemoteException
      • clear

        void clear()
            throws MXException,
                   java.rmi.RemoteException
        Clears out any references to other MBOs
        Throws:
        MXException
        java.rmi.RemoteException
      • getSiteOrg

        java.lang.String[] getSiteOrg()
                               throws MXException,
                                      java.rmi.RemoteException
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.getOrgSite()
      • setValue

        void setValue(java.lang.String targetAttrName,
                      MboRemote sourceMbo)
               throws MXException,
                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.setValue(String, MboRemote)
      • setValue

        void setValue(java.lang.String targetAttrName,
                      MboSetRemote sourceMboSet)
               throws MXException,
                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.setValue(String, MboSetRemote)
      • getUniqueIDValue

        long getUniqueIDValue()
                       throws java.rmi.RemoteException,
                              MXException
        Gets the unique ID value
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        psdi.mbo.getUniqueIDValue
      • getUniqueIDName

        java.lang.String getUniqueIDName()
                                  throws java.rmi.RemoteException,
                                         MXException
        Gets the unique ID name
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        psdi.mbo.getUniqueIDName
      • getOrgForGL

        java.lang.String getOrgForGL(java.lang.String attributeName)
                              throws MXException,
                                     java.rmi.RemoteException
        returns OrgId for GL
        Parameters:
        attributeName -
        Returns:
        orgId
        Throws:
        MXException
        java.rmi.RemoteException
      • getMessage

        java.lang.String getMessage(java.lang.String errGrp,
                                    java.lang.String errKey)
                             throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getMessage

        java.lang.String getMessage(java.lang.String errGrp,
                                    java.lang.String errKey,
                                    java.lang.Object[] params)
                             throws java.rmi.RemoteException
        Parameters:
        errGrp -
        errKey -
        params -
        Returns:
        Throws:
        java.rmi.RemoteException
        See Also:
        Mbo.getMessage(String errGrp, String errKey, Object[] params)
      • getMessage

        java.lang.String getMessage(java.lang.String errGrp,
                                    java.lang.String errKey,
                                    java.lang.Object param)
                             throws java.rmi.RemoteException
        Parameters:
        errGrp -
        errKey -
        params -
        Returns:
        Throws:
        java.rmi.RemoteException
        See Also:
        Mbo.getMessage(String errGrp, String errKey, Object param)
      • getMessage

        java.lang.String getMessage(MXException exception)
                             throws java.rmi.RemoteException
        Get the message of the exception in the language specified by this MboSet's userInfo. returned.
        Parameters:
        errGrp -
        errKey -
        Returns:
        Throws:
        java.rmi.RemoteException
      • getMaxMessage

        MaxMessage getMaxMessage(java.lang.String errGrp,
                                 java.lang.String errKey)
                          throws MXException,
                                 java.rmi.RemoteException
        Get the MaxMessage object for the specified error group and errorkey.
        Parameters:
        errGrp -
        errKey -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getOrgSiteForMaxvar

        java.lang.String getOrgSiteForMaxvar(java.lang.String maxvarName)
                                      throws MXException,
                                             java.rmi.RemoteException
        Returns org or site for getting maxvar
        Parameters:
        maxvarName -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getStringInSpecificLocale

        java.lang.String getStringInSpecificLocale(java.lang.String attribute,
                                                   java.util.Locale l,
                                                   java.util.TimeZone tz)
                                            throws MXException,
                                                   java.rmi.RemoteException
        Get the string of the value in a specific locale and timezone. This method is used to fetch value from an aln type field which can actually store different maxtype values. The values stored in the aln fields need to be in a common locale that can be loaded and converted to different locale string.
        Throws:
        MXException
        java.rmi.RemoteException
      • getInsertSite

        java.lang.String getInsertSite()
                                throws MXException,
                                       java.rmi.RemoteException
        Returns the default insert site
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getInsertOrganization

        java.lang.String getInsertOrganization()
                                        throws MXException,
                                               java.rmi.RemoteException
        Returns the default insert org
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getInsertCompanySetId

        java.lang.String getInsertCompanySetId()
                                        throws MXException,
                                               java.rmi.RemoteException
        Returns the default itemset
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getInsertItemSetId

        java.lang.String getInsertItemSetId()
                                     throws MXException,
                                            java.rmi.RemoteException
        Returns the default company set
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getRecordIdentifer

        java.lang.String getRecordIdentifer()
                                     throws MXException,
                                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mbo.Mbo#getRecordIdentifier(String attributeName, String langCode, String value, long accessModifier)
      • setNewMbo

        void setNewMbo(boolean flag)
                throws java.rmi.RemoteException
        Turns on a flag to indicate that this is a new Mbo.
        Throws:
        java.rmi.RemoteException
      • setModified

        void setModified(boolean modified)
                  throws java.rmi.RemoteException
        Marks the Mbo as Modified.
        Throws:
        java.rmi.RemoteException
      • setDeleted

        void setDeleted(boolean modified)
                 throws java.rmi.RemoteException
        Marks the Mbo as Deleted.
        Throws:
        java.rmi.RemoteException
      • addToDeleteForInsertList

        void addToDeleteForInsertList(java.lang.String mboName)
                               throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getDeleteForInsertList

        java.util.Vector getDeleteForInsertList()
                                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getDomainIDs

        java.lang.String[] getDomainIDs(java.lang.String attributeName)
                                 throws MXException,
                                        java.rmi.RemoteException
        Parameters:
        attributeName -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mbo.Mbo#getDomainIDs()
      • getExistingMboSet

        MboSetRemote getExistingMboSet(java.lang.String relationship)
                                throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • addMboSetForRequiredCheck

        void addMboSetForRequiredCheck(MboSetRemote fauxMboSet)
                                throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getMboList

        java.util.List getMboList(java.lang.String mrp)
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setApplicationError

        void setApplicationError(java.lang.String attribute,
                                 ApplicationError appError)
                          throws MXException,
                                 java.rmi.RemoteException
        This method will set the passed in ApplicationError on the MboValue associated this the passed in attribute. This method allows the Application Framework (UI) to associate an error with an attribute so that all UI components bound to that attribute will know of the error.
        Parameters:
        attribute - The attribute whose MboValue will receive the ApplicationError
        appError - The ApplicationError to be set on the attribute's MboValue
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
      • setApplicationRequired

        void setApplicationRequired(java.lang.String attribute,
                                    boolean required)
                             throws MXException,
                                    java.rmi.RemoteException
        This method will set the application required boolen flag on the MboValue associated this the passed in attribute. This method allows the Application Framework (UI) to specifically know whether or no it set requiredness on the attribute
        Parameters:
        attribute - The attribute whose MboValue will receive the ApplicationError
        required - whether the field is required or not
        Throws:
        java.rmi.RemoteException
        MXException
      • setReferencedMbo

        void setReferencedMbo(java.lang.String token,
                              MboRemote refMbo)
                       throws MXException,
                              java.rmi.RemoteException
        We need this methods to keep track of the Process like WorkflowInstance
        Parameters:
        refMbo - mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setReferencedMbo

        void setReferencedMbo(java.lang.String token,
                              Mbo refMbo)
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • isLocked

        boolean isLocked()
                  throws java.rmi.RemoteException,
                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isLocked

        boolean isLocked(boolean cache)
                  throws java.rmi.RemoteException,
                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isMboLockedByMe

        boolean isMboLockedByMe()
                         throws java.rmi.RemoteException,
                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getLockedByDisplayName

        java.lang.String getLockedByDisplayName()
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • hasLockSaveRights

        boolean hasLockSaveRights(java.lang.String app)
                           throws java.rmi.RemoteException,
                                  MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • setIgnoreRecordLockCheck

        void setIgnoreRecordLockCheck(boolean ignoreRecordLock)
                               throws java.rmi.RemoteException,
                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getIgnoreLockCheck

        boolean getIgnoreLockCheck()
                            throws java.rmi.RemoteException,
                                   MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isOptionGranted

        boolean isOptionGranted(java.lang.String app,
                                java.lang.String option)
                         throws java.rmi.RemoteException,
                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • lock

        void lock(boolean lockNow)
           throws MXException,
                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • unlock

        void unlock(boolean lockNow)
             throws MXException,
                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException