question: private void copyACLs ( List < UnManagedCifsShareACL > origACLList , List < CifsShareACL > shareACLList , FileShare fileshare ) { CifsShareACL shareACL = null ; for ( UnManagedCifsShareACL origACL : origACLList ) { shareACL = new CifsShareACL ( ) ; shareACL . setId ( URIUtil . createId ( CifsShareACL . class ) ) ; shareACL . setUser ( origACL . getUser ( ) ) ; shareACL . setPermission ( origACL . getPermission ( ) ) ; shareACL . setShareName ( origACL . getShareName ( ) ) ; shareACL . setFileSystemId ( fileshare . getId ( ) ) ; shareACLList . add ( shareACL ) ; _logger . info ( "share ACLs details {}" , shareACL . toString ( ) ) ; } }
target:  copy unmanaged cifs share into new cifs share acls