private RemoteOperationResult refreshSharesForFolder(OwnCloudClient client){
  RemoteOperationResult result=null;
  GetRemoteSharesForFileOperation operation=new GetRemoteSharesForFileOperation(mLocalFolder.getRemotePath(),true,true);
  result=operation.execute(client);
  if (result.isSuccess()) {
    ArrayList<OCShare> shares=new ArrayList<OCShare>();
    for (    Object obj : result.getData()) {
      shares.add((OCShare)obj);
    }
    mStorageManager.saveSharesInFolder(shares,mLocalFolder);
  }
  return result;
}

private RemoteOperationResult refreshSharesForFolder ( OwnCloudClient client ) { RemoteOperationResult result = null ; GetRemoteSharesForFileOperation operation = new GetRemoteSharesForFileOperation ( mLocalFolder . getRemotePath ( ) , true , true ) ; result = operation . execute ( client ) ; if ( result . isSuccess ( ) ) { ArrayList < OCShare > shares = new ArrayList < OCShare > ( ) ; for ( Object obj : result . getData ( ) ) { shares . add ( ( OCShare ) obj ) ; } mStorageManager . saveSharesInFolder ( shares , mLocalFolder ) ; } return result ; }
syncs the share resources for the files contained in the folder refreshed ( children , not deeper descendants ) .
