@PublicApi
public interface IssueSecurityLevelService
| Modifier and Type | Interface and Description |
|---|---|
static class |
IssueSecurityLevelService.CreateValidationResult
A simple object that holds the information about validating an create IssueSecurityLevel operation.
|
static class |
IssueSecurityLevelService.LevelValidationResult |
static class |
IssueSecurityLevelService.UpdateValidationResult
A simple object that holds the information about validating an update IssueSecurityLevel operation.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<IssueSecurityLevel> |
create(ApplicationUser callingUser,
IssueSecurityLevelService.CreateValidationResult validationResult)
This method will create new IssueSecurityLevel carried int CreateValidationResult if it's valid
it will throw an Exception otherwise
|
ServiceOutcome<IssueSecurityLevel> |
update(ApplicationUser callingUser,
IssueSecurityLevelService.UpdateValidationResult validationResult)
This method will update IssueSecurityLevel carried in UpdateValidationResult if it is valid.
|
IssueSecurityLevelService.CreateValidationResult |
validateCreate(ApplicationUser user,
long schemeId,
String name,
String description)
Method that will validate arguments for and creation of IssueSecurityLevel operation
|
IssueSecurityLevelService.UpdateValidationResult |
validateUpdate(ApplicationUser user,
IssueSecurityLevel currentLevel,
String newName,
String newDescription)
Method that will validate arguments for an update of IssueSecurityLevel operation
|
IssueSecurityLevelService.UpdateValidationResult validateUpdate(ApplicationUser user, IssueSecurityLevel currentLevel, String newName, String newDescription)
user - the user who tries to validate an IssueSecurityLevelcurrentLevel - the level to updatenewName - the new name current level will be updated withnewDescription - the new description current level will be updated withServiceOutcome<IssueSecurityLevel> update(ApplicationUser callingUser, IssueSecurityLevelService.UpdateValidationResult validationResult)
callingUser - the user who updates the levelvalidationResult - it carry validation data and IssueSecurityLevel to updateIssueSecurityLevelService.CreateValidationResult validateCreate(ApplicationUser user, long schemeId, String name, String description)
user - the user who is trying to create an IssueSecurityLevelschemeId - the scheme that new IssueSecurityLevel will belong toname - the name for the new security leveldescription - the description for the new security levelServiceOutcome<IssueSecurityLevel> create(ApplicationUser callingUser, IssueSecurityLevelService.CreateValidationResult validationResult)
callingUser - the user who updates the levelvalidationResult - it carry validation data and IssueSecurityLevel to updateCopyright © 2002-2022 Atlassian. All Rights Reserved.