-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swagger-doc-workflow-resource-part-1 (#29191)
### Proposed Changes * First half of Workflow Resource has received Swagger annotations. ### Checklist - [ ] Tests Co-authored-by: Nollymar Longa <[email protected]>
- Loading branch information
Showing
10 changed files
with
639 additions
and
49 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityBulkActionView.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,9 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
|
||
public class ResponseEntityBulkActionView extends ResponseEntityView<BulkActionView> { | ||
public ResponseEntityBulkActionView(BulkActionView entity) { | ||
super(entity); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...MS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityBulkActionsResultView.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,9 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
|
||
public class ResponseEntityBulkActionsResultView extends ResponseEntityView<BulkActionsResultView> { | ||
public ResponseEntityBulkActionsResultView(BulkActionsResultView entity) { | ||
super(entity); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...java/com/dotcms/rest/api/v1/workflow/ResponseEntitySystemActionWorkflowActionMapping.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,10 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
import com.dotmarketing.portlets.workflows.model.SystemActionWorkflowActionMapping; | ||
|
||
public class ResponseEntitySystemActionWorkflowActionMapping extends ResponseEntityView<SystemActionWorkflowActionMapping> { | ||
public ResponseEntitySystemActionWorkflowActionMapping(SystemActionWorkflowActionMapping entity) { | ||
super(entity); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...rc/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowActionClassesView.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,12 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
import com.dotmarketing.portlets.workflows.model.WorkflowActionClass; | ||
|
||
import java.util.List; | ||
|
||
public class ResponseEntityWorkflowActionClassesView extends ResponseEntityView<List<WorkflowActionClass>> { | ||
public ResponseEntityWorkflowActionClassesView(List<WorkflowActionClass> actionClasses) { | ||
super(actionClasses); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowActionView.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,9 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
|
||
public class ResponseEntityWorkflowActionView extends ResponseEntityView<WorkflowActionView> { | ||
public ResponseEntityWorkflowActionView(WorkflowActionView entity) { | ||
super(entity); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...S/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowActionletsView.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,12 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
import com.dotmarketing.portlets.workflows.actionlet.WorkFlowActionlet; | ||
|
||
import java.util.List; | ||
|
||
public class ResponseEntityWorkflowActionletsView extends ResponseEntityView<List<WorkFlowActionlet>> { | ||
public ResponseEntityWorkflowActionletsView(List<WorkFlowActionlet> actionlets) { | ||
super(actionlets); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowActionsView.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,11 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
|
||
import java.util.List; | ||
|
||
public class ResponseEntityWorkflowActionsView extends ResponseEntityView<List<WorkflowActionView>> { | ||
public ResponseEntityWorkflowActionsView(List<WorkflowActionView> entity) { | ||
super(entity); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowSchemesView.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,12 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
import com.dotmarketing.portlets.workflows.model.WorkflowScheme; | ||
|
||
import java.util.List; | ||
|
||
public class ResponseEntityWorkflowSchemesView extends ResponseEntityView<List<WorkflowScheme>> { | ||
public ResponseEntityWorkflowSchemesView(List<WorkflowScheme> schemes) { | ||
super(schemes); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/ResponseEntityWorkflowStepsView.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,12 @@ | ||
package com.dotcms.rest.api.v1.workflow; | ||
|
||
import com.dotcms.rest.ResponseEntityView; | ||
import com.dotmarketing.portlets.workflows.model.WorkflowStep; | ||
|
||
import java.util.List; | ||
|
||
public class ResponseEntityWorkflowStepsView extends ResponseEntityView<List<WorkflowStep>> { | ||
public ResponseEntityWorkflowStepsView(List<WorkflowStep> steps) { | ||
super(steps); | ||
} | ||
} |
592 changes: 543 additions & 49 deletions
592
dotCMS/src/main/java/com/dotcms/rest/api/v1/workflow/WorkflowResource.java
Large diffs are not rendered by default.
Oops, something went wrong.