TSK-1436: implemented further documentation rewording.
This commit is contained in:
parent
fff26d6a08
commit
41d956c633
|
|
@ -40,7 +40,7 @@ include::{snippets}/TaskCommentControllerRestDocTest/deleteTaskCommentDocTest/au
|
||||||
include::{snippets}/ClassificationControllerRestDocTest/createClassificationDocTest/auto-section.adoc[]
|
include::{snippets}/ClassificationControllerRestDocTest/createClassificationDocTest/auto-section.adoc[]
|
||||||
include::{snippets}/ClassificationControllerRestDocTest/getClassificationDocTest/auto-section.adoc[]
|
include::{snippets}/ClassificationControllerRestDocTest/getClassificationDocTest/auto-section.adoc[]
|
||||||
include::{snippets}/ClassificationControllerRestDocTest/getAllClassificationsDocTest/auto-section.adoc[]
|
include::{snippets}/ClassificationControllerRestDocTest/getAllClassificationsDocTest/auto-section.adoc[]
|
||||||
include::{snippets}/ClassificationControllerRestDocTest/updateClzassificationDocTest/auto-section.adoc[]
|
include::{snippets}/ClassificationControllerRestDocTest/updateClassificationDocTest/auto-section.adoc[]
|
||||||
include::{snippets}/ClassificationControllerRestDocTest/deleteClassificationDocTest/auto-section.adoc[]
|
include::{snippets}/ClassificationControllerRestDocTest/deleteClassificationDocTest/auto-section.adoc[]
|
||||||
|
|
||||||
== Workbasket Resource
|
== Workbasket Resource
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,11 @@ import pro.taskana.common.rest.models.PageMetadata;
|
||||||
public class QueryPagingParameter<T, Q extends BaseQuery<T, ?>>
|
public class QueryPagingParameter<T, Q extends BaseQuery<T, ?>>
|
||||||
implements QueryParameter<Q, List<T>> {
|
implements QueryParameter<Q, List<T>> {
|
||||||
|
|
||||||
/** Request a specific page. Requires the definition of the page-size. */
|
/** Request a specific page. Requires the definition of the 'page-size'. */
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private final Integer page;
|
private final Integer page;
|
||||||
|
|
||||||
/** Defines the page size for each page. This requires that a specific page is requested. */
|
/** Defines the size for each page. This requires a specific requested 'page'. */
|
||||||
@JsonProperty("page-size")
|
@JsonProperty("page-size")
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private final Integer pageSize;
|
private final Integer pageSize;
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ public class ReportRepresentationModel extends RepresentationModel<ReportReprese
|
||||||
private final String name;
|
private final String name;
|
||||||
/** Date of the report creation. */
|
/** Date of the report creation. */
|
||||||
private final Instant date;
|
private final Instant date;
|
||||||
/** Column-headers of the report. */
|
/** Column headers of the report. */
|
||||||
private final String[] header;
|
private final String[] header;
|
||||||
/** Descriptions for the rows of the report. */
|
/** Descriptions for the rows of the report. */
|
||||||
private final String[] rowDesc;
|
private final String[] rowDesc;
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ public class TaskCommentController {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This endpoint fetches a Task Comment.
|
* This endpoint retrieves a Task Comment.
|
||||||
*
|
*
|
||||||
* @title Get a single Task Comment
|
* @title Get a single Task Comment
|
||||||
* @param taskCommentId the Id of the Task Comment
|
* @param taskCommentId the Id of the Task Comment
|
||||||
|
|
@ -96,7 +96,7 @@ public class TaskCommentController {
|
||||||
* primary sort value is the same, the second one will be used.
|
* primary sort value is the same, the second one will be used.
|
||||||
* @param order The order direction for each sort value. This value requires the use of 'sort-by'.
|
* @param order The order direction for each sort value. This value requires the use of 'sort-by'.
|
||||||
* The amount of sort-by and order declarations have to match. Alternatively the value can be
|
* The amount of sort-by and order declarations have to match. Alternatively the value can be
|
||||||
* omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by
|
* omitted. In this case the default sort order (ASCENDING) will be applied to every sort-by
|
||||||
* value.
|
* value.
|
||||||
* @return a list of Task Comments
|
* @return a list of Task Comments
|
||||||
* @throws NotAuthorizedException If the current user has no authorization to retrieve a Task
|
* @throws NotAuthorizedException If the current user has no authorization to retrieve a Task
|
||||||
|
|
|
||||||
|
|
@ -81,15 +81,6 @@ public class TaskQueryFilterParameter implements QueryParameter<TaskQuery, Void>
|
||||||
* <p>This parameter can't be used together with 'planned-from' or 'planned-until'.
|
* <p>This parameter can't be used together with 'planned-from' or 'planned-until'.
|
||||||
*/
|
*/
|
||||||
private final Instant[] planned;
|
private final Instant[] planned;
|
||||||
/**
|
|
||||||
* Filter by a due time interval. The length of the provided values has to be even. To create an
|
|
||||||
* open interval you can either use 'null' or just leave it blank.
|
|
||||||
*
|
|
||||||
* <p>The format is ISO-8601.
|
|
||||||
*
|
|
||||||
* <p>This parameter can't be used together with 'due-from' or 'due-until'.
|
|
||||||
*/
|
|
||||||
private final Instant[] due;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter since a given planned timestamp.
|
* Filter since a given planned timestamp.
|
||||||
|
|
@ -111,6 +102,17 @@ public class TaskQueryFilterParameter implements QueryParameter<TaskQuery, Void>
|
||||||
@JsonProperty("planned-until")
|
@JsonProperty("planned-until")
|
||||||
private final Instant plannedUntil;
|
private final Instant plannedUntil;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Filter by a due time interval. The length of the provided values has to be even. To create an
|
||||||
|
* open interval you can either use 'null' or just leave it blank.
|
||||||
|
*
|
||||||
|
* <p>The format is ISO-8601.
|
||||||
|
*
|
||||||
|
* <p>This parameter can't be used together with 'due-from' or 'due-until'.
|
||||||
|
*/
|
||||||
|
private final Instant[] due;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter since a given due timestamp.
|
* Filter since a given due timestamp.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@ public class AttachmentSummaryRepresentationModel
|
||||||
protected String attachmentId;
|
protected String attachmentId;
|
||||||
/** the referenced task id. */
|
/** the referenced task id. */
|
||||||
protected String taskId;
|
protected String taskId;
|
||||||
/** The creation timestamp of the attachment in the system. */
|
/** The creation timestamp in the system. */
|
||||||
protected Instant created;
|
protected Instant created;
|
||||||
/** Timestamp of the last modification of the attachment. */
|
/** The timestamp of the last modification. */
|
||||||
protected Instant modified;
|
protected Instant modified;
|
||||||
/** Timestamp of the entry of the attachment. */
|
/** The timestamp of the entry date. */
|
||||||
protected Instant received;
|
protected Instant received;
|
||||||
/** The classification of this attachment. */
|
/** The classification of this attachment. */
|
||||||
protected ClassificationSummaryRepresentationModel classificationSummary;
|
protected ClassificationSummaryRepresentationModel classificationSummary;
|
||||||
|
|
|
||||||
|
|
@ -11,15 +11,15 @@ public class TaskCommentRepresentationModel
|
||||||
|
|
||||||
/** Unique Id. */
|
/** Unique Id. */
|
||||||
private String taskCommentId;
|
private String taskCommentId;
|
||||||
/** Task Id. Can identify the task to which the comment belongs. */
|
/** Task Id. Can identify the task the comment belongs to. */
|
||||||
private String taskId;
|
private String taskId;
|
||||||
/** The content of the comment. */
|
/** The content of the comment. */
|
||||||
private String textField;
|
private String textField;
|
||||||
/** The creator of the task comment. */
|
/** The creator of the task comment. */
|
||||||
private String creator;
|
private String creator;
|
||||||
/** The creation timestamp of the task comment in the system. */
|
/** The creation timestamp in the system. */
|
||||||
private Instant created;
|
private Instant created;
|
||||||
/** Timestamp of the last modification of the task comment. */
|
/** Timestamp of the last task comment modification. */
|
||||||
private Instant modified;
|
private Instant modified;
|
||||||
|
|
||||||
public String getTaskCommentId() {
|
public String getTaskCommentId() {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ public class TaskSummaryRepresentationModel
|
||||||
* task.
|
* task.
|
||||||
*/
|
*/
|
||||||
protected String externalId;
|
protected String externalId;
|
||||||
/** The creation timestamp of the task in the system. */
|
/** The creation timestamp in the system. */
|
||||||
protected Instant created;
|
protected Instant created;
|
||||||
/** The timestamp of the last claim-operation. */
|
/** The timestamp of the last claim-operation. */
|
||||||
protected Instant claimed;
|
protected Instant claimed;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ public class WorkbasketAccessItemRepresentationModel
|
||||||
private String accessItemId;
|
private String accessItemId;
|
||||||
/** The workbasket Id. */
|
/** The workbasket Id. */
|
||||||
private String workbasketId;
|
private String workbasketId;
|
||||||
/** The access id. This could be either a userid or a full qualified group id. */
|
/** The Access Id. This could be either a user Id or a full qualified group Id. */
|
||||||
private String accessId;
|
private String accessId;
|
||||||
/** The workbasket key. */
|
/** The workbasket key. */
|
||||||
private String workbasketKey;
|
private String workbasketKey;
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public class WorkbasketSummaryRepresentationModel
|
||||||
* The first Org Level (the top one).
|
* The first Org Level (the top one).
|
||||||
*
|
*
|
||||||
* <p>The Org Level is an association with an org hierarchy level in the organization. The values
|
* <p>The Org Level is an association with an org hierarchy level in the organization. The values
|
||||||
* are used for monitoring and statistical purposes and should reflect the responsibility of the
|
* are used for monitoring and statistical purposes and should reflect who is responsible of the
|
||||||
* tasks in the workbasket.
|
* tasks in the workbasket.
|
||||||
*/
|
*/
|
||||||
protected String orgLevel1;
|
protected String orgLevel1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue