Class DomainFolderListenerAdapter

    • Constructor Detail

      • DomainFolderListenerAdapter

        protected DomainFolderListenerAdapter()
    • Method Detail

      • stateChanged

        public void stateChanged​(java.lang.String affectedNewPath,
                                 java.lang.String affectedOldPath,
                                 boolean isFolder)
        Provides a consolidated callback for those listener methods which have not been overridden. This callback is NOT invoked for the following callbacks:
        • domainFolderSetActive
        • domainFileObjectReplaced
        • domainFileObjectOpenedForUpdate
        • domainFileObjectClosed
        Parameters:
        affectedNewPath - new path of affected folder/file, or null if item was removed (see affectedOldPath)
        affectedOldPath - original path of affected folder/file, or null for new item (see affectedOldPath)
        isFolder - true if affected item is/was a folder
      • domainFolderRemoved

        public void domainFolderRemoved​(DomainFolder parent,
                                        java.lang.String name)
        Description copied from interface: DomainFolderChangeListener
        Notification that a domain folder is removed.
        Specified by:
        domainFolderRemoved in interface DomainFolderChangeListener
        Parameters:
        parent - domain folder which contained the folder that was just removed.
        name - the name of the folder that was removed.
      • domainFileRemoved

        public void domainFileRemoved​(DomainFolder parent,
                                      java.lang.String name,
                                      java.lang.String fileID)
        Description copied from interface: DomainFolderChangeListener
        Notification that a file was removed
        Specified by:
        domainFileRemoved in interface DomainFolderChangeListener
        Parameters:
        parent - domain folder which contained the file that was just removed.
        name - the name of the file that was removed.
        fileID - file ID or null
      • domainFileStatusChanged

        public void domainFileStatusChanged​(DomainFile file,
                                            boolean fileIDset)
        Description copied from interface: DomainFolderChangeListener
        Notification that the status for a domain file has changed.
        Specified by:
        domainFileStatusChanged in interface DomainFolderChangeListener
        Parameters:
        file - file whose status has changed.
        fileIDset - if true indicates that the previously missing fileID has been established for the specified file.
      • domainFileObjectReplaced

        public void domainFileObjectReplaced​(DomainFile file,
                                             DomainObject oldObject)
        Description copied from interface: DomainFolderChangeListener
        Notification that a new version of the domain object exists and the current one is no longer valid. Existing consumers should be immediately released and no additional use of the oldObject is permitted once this method returns. This is only called for domain objects which were opened for update.
        Specified by:
        domainFileObjectReplaced in interface DomainFolderChangeListener
        Parameters:
        file - file whose object was replaced
        oldObject - old object that was replaced