-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
2,382 additions
and
2,292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,27 @@ | |
import org.roda.core.data.v2.index.select.SelectedItems; | ||
import org.roda.core.data.v2.ip.IndexedAIP; | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
public class DisposalConfirmationCreateRequest implements Serializable { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -3852472973580068030L; | ||
|
||
private String title; | ||
private SelectedItems<IndexedAIP> selectedItems; | ||
private DisposalConfirmationForm form; | ||
|
||
public DisposalConfirmationCreateRequest() { | ||
// empty constructor | ||
} | ||
|
||
public DisposalConfirmationCreateRequest(String title, SelectedItems<IndexedAIP> selectedItems, | ||
DisposalConfirmationForm form) { | ||
DisposalConfirmationForm form) { | ||
this.title = title; | ||
this.selectedItems = selectedItems; | ||
this.form = form; | ||
|
38 changes: 0 additions & 38 deletions
38
...-common/roda-common-data/src/main/java/org/roda/core/data/v2/file/DeleteFilesRequest.java
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
roda-common/roda-common-data/src/main/java/org/roda/core/data/v2/generics/DeleteRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package org.roda.core.data.v2.generics; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
|
||
import org.roda.core.data.v2.index.IsIndexed; | ||
import org.roda.core.data.v2.index.select.SelectedItems; | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
|
||
public class DeleteRequest<T extends IsIndexed> implements Serializable { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -6600408657058206155L; | ||
|
||
private SelectedItems<T> itemsToDelete; | ||
private String details; | ||
|
||
public DeleteRequest() { | ||
// empty constructor | ||
} | ||
|
||
public SelectedItems<T> getItemsToDelete() { | ||
return itemsToDelete; | ||
} | ||
|
||
public void setItemsToDelete(SelectedItems<T> itemsToDelete) { | ||
this.itemsToDelete = itemsToDelete; | ||
} | ||
|
||
public String getDetails() { | ||
return details; | ||
} | ||
|
||
public void setDetails(String details) { | ||
this.details = details; | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...da-common-data/src/main/java/org/roda/core/data/v2/generics/UpdatePermissionsRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package org.roda.core.data.v2.generics; | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
import org.roda.core.data.v2.index.IsIndexed; | ||
import org.roda.core.data.v2.index.select.SelectedItems; | ||
import org.roda.core.data.v2.ip.Permissions; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
public class UpdatePermissionsRequest<T extends IsIndexed> implements Serializable { | ||
@Serial | ||
private static final long serialVersionUID = -3807428982711600007L; | ||
|
||
private SelectedItems<T> itemsToUpdate; | ||
private String details; | ||
private Permissions permissions; | ||
private boolean recursive; | ||
|
||
public UpdatePermissionsRequest() { | ||
// empty constructor | ||
} | ||
|
||
public SelectedItems<T> getItemsToUpdate() { | ||
return itemsToUpdate; | ||
} | ||
|
||
public void setItemsToUpdate(SelectedItems<T> itemsToUpdate) { | ||
this.itemsToUpdate = itemsToUpdate; | ||
} | ||
|
||
public String getDetails() { | ||
return details; | ||
} | ||
|
||
public void setDetails(String details) { | ||
this.details = details; | ||
} | ||
|
||
public Permissions getPermissions() { | ||
return permissions; | ||
} | ||
|
||
public void setPermissions(Permissions permissions) { | ||
this.permissions = permissions; | ||
} | ||
|
||
public boolean isRecursive() { | ||
return recursive; | ||
} | ||
|
||
public void setRecursive(boolean recursive) { | ||
this.recursive = recursive; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,15 @@ | |
*/ | ||
package org.roda.core.data.v2.index.filter; | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* @author Rui Castro | ||
* @author Luis Faria <[email protected]> | ||
*/ | ||
public abstract class RangeFilterParameter<T extends Serializable> extends FilterParameter { | ||
@Serial | ||
private static final long serialVersionUID = -2923383960685420739L; | ||
|
||
private T fromValue; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.