-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 11609 fixes #13216
Merged
Merged
Issue 11609 fixes #13216
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9525217
#11609 : Updating DB scripts. Adding upgrade task to create intermedi…
jcastro-dotcms f285dc8
#11609 added first draft for add/edit workflow action
8a6444a
#11609 merge done
ce25b42
#11609 almost code done for save/edit workflow actions associated to …
60ef0e7
#11609 the add action and action to step are done
eeb4172
#11609 Added the delete steps and dependencies/minor fixes for transa…
0929145
#11609 delete action from step done in the ui/ajax and endpoint
1f17c62
#11609 Added the deletes for the UI
4cd30de
#12960 changes for reorder done
fe70d6c
#13104 Added the new field requires lock options that supports locked…
677079c
#12960 added the scripts changes for all dbs
161c206
#12960 MERGE MASTER DONE
ab38919
#12960 added changes for the workflow, action and step new relationships
d30507c
#12960 merge done
4992dd9
#12960 notes and fixes
df465db
#12960 fixing the IT test
f558a7b
#12960 code review feedback
329da3e
#11691 added changes for the new endpoint for getting content type sc…
a0fbd9c
#12960 added changes for h2 and mysql
82e3837
#12960 added the changes for the show_on column
96c6ceb
#12960 adding changes for the showOn
6a709f4
#12960 merge done
c4d12df
#12960 changes for show on functionality
92347c1
resolving the error of the missing schemeid
5ab4a08
solving issue with content resource test
694375b
Fixing the Task04305UpdateWorkflowActionTable
62e4317
Reverting to master configuration
6caba12
#12960 merge done
43483c8
#12960 fixing postgres and oracle UT
cc1cde1
#11609 fixes for 11609
8f0b9bf
#11609 merge done
0261f20
#11609 configuration rollback
ff87ab2
#11609 fixes by code review
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Submodule enterprise
updated
from 38af85 to 4ccfa3
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
79 changes: 79 additions & 0 deletions
79
dotCMS/src/main/java/com/dotcms/workflow/form/WorkflowReorderActionStepForm.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,79 @@ | ||
package com.dotcms.workflow.form; | ||
|
||
import com.dotcms.repackage.com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.dotcms.repackage.com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
import com.dotcms.repackage.javax.validation.constraints.NotNull; | ||
import com.dotcms.rest.api.Validated; | ||
|
||
@JsonDeserialize(builder = WorkflowReorderActionStepForm.Builder.class) | ||
public class WorkflowReorderActionStepForm extends Validated { | ||
|
||
@NotNull | ||
private final String actionId; | ||
|
||
@NotNull | ||
private final String stepId; | ||
|
||
@NotNull | ||
private final int order; | ||
|
||
public String getActionId() { | ||
return actionId; | ||
} | ||
|
||
public String getStepId() { | ||
return stepId; | ||
} | ||
|
||
public int getOrder() { | ||
return order; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "WorkflowReorderActionStepForm{" + | ||
"actionId='" + actionId + '\'' + | ||
", stepId='" + stepId + '\'' + | ||
", order=" + order + | ||
'}'; | ||
} | ||
|
||
public WorkflowReorderActionStepForm(final Builder builder) { | ||
|
||
this.actionId = builder.actionId; | ||
this.stepId = builder.stepId; | ||
this.order = builder.order; | ||
this.checkValid(); | ||
} | ||
|
||
public static final class Builder { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
@JsonProperty(required = true) | ||
private String actionId; | ||
@JsonProperty(required = true) | ||
private String stepId; | ||
@JsonProperty(required = true) | ||
private int order; | ||
|
||
public Builder actionId(String actionId) { | ||
this.actionId = actionId; | ||
return this; | ||
} | ||
|
||
public Builder stepId(String stepId) { | ||
this.stepId = stepId; | ||
return this; | ||
} | ||
|
||
public Builder order(int order) { | ||
this.order = order; | ||
return this; | ||
} | ||
|
||
|
||
public WorkflowReorderActionStepForm build() { | ||
|
||
return new WorkflowReorderActionStepForm(this); | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed