Project

General

Profile

« Previous | Next » 

Revision 7159

add Session-less archive() method

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
1360 1360
      
1361 1361
  }
1362 1362

  
1363
/**
1363
  /**
1364 1364
   * Archives an object, where the object is either a 
1365 1365
   * data object or a science metadata object.
1366 1366
   * 
......
1449 1449

  
1450 1450
      return pid;
1451 1451
  }
1452
  
1453
  public Identifier archive(Identifier pid) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented {
1454
	  return archive(null, pid);
1455
  }
1452 1456

  
1453 1457

  
1454 1458
}

Also available in: Unified diff