public BaasResult < BaasDocument > saveSync ( SaveMode mode , BaasACL acl ) { BaasBox box = BaasBox . getDefaultChecked ( ) ; if ( mode == null ) throw new IllegalArgumentException ( "mode cannot be null" ) ; Save save = new Save ( box , mode , acl , this , RequestOptions . DEFAULT , null ) ; return box . submitSync ( save ) ; }
Synchronously saves the document on the server with initial acl