psdi.app.dpamsw

Class DPAMSoftware

    • Constructor Detail

      • DPAMSoftware

        public DPAMSoftware(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Construct the DPAMSoftware object
        Parameters:
        ms - Mbo set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getTargetFieldName

        public java.lang.String getTargetFieldName()
                                            throws java.rmi.RemoteException
        Specified by:
        getTargetFieldName in interface DPAMConversionTargetRemote
        Returns:
        the name of the field that holds the target name; it is expected to be the same for the target and variant table
        Throws:
        java.rmi.RemoteException
      • getVariantFieldName

        public java.lang.String getVariantFieldName()
                                             throws java.rmi.RemoteException
        Specified by:
        getVariantFieldName in interface DPAMConversionTargetRemote
        Returns:
        the name of the field that holds the variant name in the variant table
        Throws:
        java.rmi.RemoteException
      • getVariantSetName

        public java.lang.String getVariantSetName()
                                           throws java.rmi.RemoteException
        Specified by:
        getVariantSetName in interface DPAMConversionTargetRemote
        Returns:
        the name of the variant object
        Throws:
        java.rmi.RemoteException
      • getReferencedRelationshipList

        public java.lang.String[] getReferencedRelationshipList()
                                                         throws java.rmi.RemoteException
        Specified by:
        getReferencedRelationshipList in interface DPAMConversionTargetRemote
        Returns:
        the list of relationships where variants are referenced
        Throws:
        java.rmi.RemoteException
      • getExceptionParams

        public java.lang.Object[] getExceptionParams()
                                              throws java.rmi.RemoteException
        Specified by:
        getExceptionParams in interface DPAMConversionTargetRemote
        Returns:
        exception parameters - the name of the target object
        Throws:
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        The software conversion target deletion is a special case compared to other conversion apps. If the software target is used in one or more Software Suites, ask the User if the software name should be deleted from the Software Suite also. If the User says Yes, delete the software name from the Suite. If no, the software Target can not be deleted.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Override the parent's appValidate method. Software target renaming is a special case compared to other conversion apps. If the software target is used in one or more Software Suites, ask the User if the software name should be renamed from the Software Suite also. If the User says Yes, rename the software name from the Suite. If no, the software Target can not be renamed. Throw an Exception.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException