setParentName
public void setParentName(IdentifiedUser identifiedUser,
ProjectConfig config,
Project.NameKey projectName,
Project.NameKey newParentProjectName,
boolean checkAdmin)
throws ResourceConflictException,
AuthException,
PermissionBackendException,
BadRequestException
Updates the parent project in the given config.
- Parameters:
identifiedUser
- the user
config
- the config to modify
projectName
- the project for which to change access.
newParentProjectName
- the new parent to set; passing null will make this a nop
checkAdmin
- if set, verify that user has administrateServer permission
- Throws:
ResourceConflictException
AuthException
PermissionBackendException
BadRequestException