Class AccessControlDialog

    • Method Detail

      • getUpdatedAccessControlList

        public AccessControlList getUpdatedAccessControlList()
        Returns:
        the ACL settings as set by the user in the dialog.
      • showDialog

        public static AccessControlList showDialog​(Frame owner,
                                                   BaseStorageItem[] s3Items,
                                                   AccessControlList accessControlList,
                                                   HyperlinkActivatedListener hyperlinkListener)
        Displays the dialog box and waits until the user applies their changes or cancels the dialog.

        If the user elects to apply their changes, this method returns the updated ACL information. If the user cancels the dialog, this method returns null.

        Parameters:
        owner - the Frame within which this dialog will be displayed and centered
        s3Items - an array of S3Bucket or S3Objects to which ACL change will be applied
        accessControlList - the original ACL settings for the S3Bucket or S3Objects provided
        Returns:
        the update ACL settings if the user applies changes, null if the dialog is cancelled.
      • main

        public static void main​(String[] args)
                         throws Exception
        Creates stand-alone dialog box for testing only.
        Parameters:
        args -
        Throws:
        Exception