|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicSpi public interface RestFieldOperationsHandler
The RestFieldOperationsHandler is called by the issue rest source to handle the update issue request.
| Method Summary | |
|---|---|
Set<String> |
getSupportedOperations()
Returns a list of operation names which are supported by this field. |
ErrorCollection |
updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations)
This method has to set the field value(s) in the IssueInputParameters based on the operations. |
| Method Detail |
|---|
Set<String> getSupportedOperations()
ErrorCollection updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations)
IssueInputParameters based on the operations.
The issue service will validate the new field values in the IssueInputParameters, thus all permission checks are done by the issue service.
issueCtx - the Issue Context , i.e. Project IssueTypeissue - the issue (may be null when creating an issue)fieldId - The Id of the field being processed.inputParameters - the inputparameters containing all updatd field values.operations - the operations to perform for this field. Has to be one of the supported operations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||