com.atlassian.jira.bc.project.component
Class DefaultProjectComponentService.Handler
java.lang.Object
com.atlassian.jira.bc.project.component.DefaultProjectComponentService.Handler
- Enclosing class:
- DefaultProjectComponentService
- abstract static class DefaultProjectComponentService.Handler
- extends Object
Encapsulation of a common strategy in each service method, to check
permissions, if no errors, to validate data, and if no errors to
complete the operation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
protected Object result
DefaultProjectComponentService.Handler
public DefaultProjectComponentService.Handler(ErrorCollection errorKeys,
DefaultProjectComponentService copmonentService)
checkPermissions
void checkPermissions()
validateData
void validateData()
executeOnSuccess
abstract void executeOnSuccess()
addErrorKey
void addErrorKey(String key,
String errorValue)
addErrorKey
void addErrorKey(String fieldName,
String key,
String errorValue)
run
public Object run()
Copyright © 2002-2007 Atlassian. All Rights Reserved.