Skip to content

Commit

Permalink
DCM: capture todos IQSS#3145
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 23, 2016
1 parent 0074ee0 commit 25ec52e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/edu/harvard/iq/dataverse/Dataset.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
public class Dataset extends DvObjectContainer {

public enum FileUploadMechanism {
/** @todo Eventually, rather than hard-coding "RSYNC" et al here, each should be a row in a table. */
/**
* Files are uploaded through the GUI or SWORD.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
}
logger.log(Level.FINE,"after create version user " + formatter.format(new Date().getTime()));

/** @todo use something like this as a trigger instead? */
// if (savedDataset.getOwner().getFileUploadMechanisms().contains("RSYNC")) {
//
// }
/** @todo Go ahead and create the folder for files. Don't wait */
for (DatasetField datasetField : savedDataset.getLatestVersion().getDatasetFields()) {
/**
* @todo What should the trigger be for kicking off the
Expand Down

0 comments on commit 25ec52e

Please sign in to comment.