psdi.app.doclink

Class FldDoctypesDefaultFilePath

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Determine whether the entered path exists and whether it is a directory. If it exists and is not a directory, throw error doclinks / pathNotDir. If it does not exist, attempt to make the directory. If the directory could not be made, throw error doclink / pathInvalid. For multi-tenancy, it also validates if the path only starts with \DOCLINKS
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        File
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If the validate method made a directory, set defaultfilepath equal to the absolute pathname of the new directory.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • isAllowedFolder

        public boolean isAllowedFolder(java.io.File dir)
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException