-
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.
Cleaned prompts and disassociation logic for disposal holds (#3235)
Signed-off-by: sugarylump <[email protected]>
- Loading branch information
1 parent
2ecdda7
commit 75b9c0a
Showing
18 changed files
with
504 additions
and
284 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
.../src/main/java/org/roda/core/data/v2/ip/disposalhold/DisassociateDisposalHoldRequest.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,48 @@ | ||
package org.roda.core.data.v2.ip.disposalhold; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
import org.roda.core.data.v2.generics.select.SelectedItemsRequest; | ||
|
||
public class DisassociateDisposalHoldRequest implements Serializable { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 1324253414733503493L; | ||
|
||
private SelectedItemsRequest selectedItems; | ||
private String details; | ||
private boolean clear; | ||
|
||
public DisassociateDisposalHoldRequest() { | ||
// empty constructor | ||
} | ||
|
||
public SelectedItemsRequest getSelectedItems() { | ||
return selectedItems; | ||
} | ||
|
||
public void setSelectedItems(SelectedItemsRequest selectedItems) { | ||
this.selectedItems = selectedItems; | ||
} | ||
|
||
public String getDetails() { | ||
return details; | ||
} | ||
|
||
public void setDetails(String details) { | ||
this.details = details; | ||
} | ||
|
||
public boolean getClear() { | ||
return clear; | ||
} | ||
|
||
public void setClear(boolean clear) { | ||
this.clear = clear; | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...mon-data/src/main/java/org/roda/core/data/v2/ip/disposalhold/LiftDisposalHoldRequest.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,39 @@ | ||
package org.roda.core.data.v2.ip.disposalhold; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
import org.roda.core.data.v2.generics.select.SelectedItemsRequest; | ||
|
||
public class LiftDisposalHoldRequest implements Serializable { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -6983980156805237858L; | ||
|
||
private SelectedItemsRequest selectedItems; | ||
private String details; | ||
|
||
public LiftDisposalHoldRequest() { | ||
// empty constructor | ||
} | ||
|
||
public SelectedItemsRequest getSelectedItems() { | ||
return selectedItems; | ||
} | ||
|
||
public void setSelectedItems(SelectedItemsRequest selectedItems) { | ||
this.selectedItems = selectedItems; | ||
} | ||
|
||
public String getDetails() { | ||
return details; | ||
} | ||
|
||
public void setDetails(String details) { | ||
this.details = details; | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...n-data/src/main/java/org/roda/core/data/v2/ip/disposalhold/UpdateDisposalHoldRequest.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,39 @@ | ||
package org.roda.core.data.v2.ip.disposalhold; | ||
|
||
/** | ||
* @author Miguel Guimarães <[email protected]> | ||
*/ | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
|
||
import org.roda.core.data.v2.disposal.hold.DisposalHold; | ||
|
||
public class UpdateDisposalHoldRequest implements Serializable { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 3125581525913041977L; | ||
|
||
private DisposalHold disposalHold; | ||
private String details; | ||
|
||
public UpdateDisposalHoldRequest() { | ||
// empty constructor | ||
} | ||
|
||
public DisposalHold getDisposalHold() { | ||
return disposalHold; | ||
} | ||
|
||
public void setDisposalHold(DisposalHold disposalHold) { | ||
this.disposalHold = disposalHold; | ||
} | ||
|
||
public String getDetails() { | ||
return details; | ||
} | ||
|
||
public void setDetails(String details) { | ||
this.details = details; | ||
} | ||
} |
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.